Skip to content

docs: security claims inventory (112 claims vs code and tests) - #8426

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
worktree-security-claims-inventory
Nov 13, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
worktree-security-claims-inventory

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Adds docs/security_claims_inventory.md: every security, malware, supply-chain and secrets claim in the hand-written docs, checked against the code and tests at 6dfb82682 and tagged MEASURED / TESTED / UNTESTED / FALSE / VAGUE.

Result (112 claims): 5 measured (all about whether structural vectors predict defects; none about detection), 44 tested on constructed inputs, 10 untested, 39 false, 14 vague. No security detector has a measured recall, precision or false-positive rate on real-world samples.

Most serious findings (details and file:line evidence in the doc):

  • The XGBoost malware classifier never runs: the model file isn't in the repo and the goldens record "Inference Ran": false. Seven docs describe it as working.
  • The standalone supply-chain-firewall CLI (and the Action tool) never blocks on real input. It reads raw_imports / risk_vector, but the audit JSON stores those under other keys. Reproduced: strict mode with a blacklisted import exits 0.
  • The engine's security regexes can't see lines of 250+ characters (_armor), and this isn't disclosed anywhere.
  • Docs still describe removed features as live: taint tracking ([SECURITY] sec_tainted_injection taint tracking is score-dead + measures ~0% precision/recall -- expunge #3101), Obscured Payload (Remove AST-dependent Security & Vulnerability metrics (Injection, RCE, Memory) #1020), agentic RCE.
  • "Shadow patch detection" compares no hashes and is unreachable without the model.
  • The privacy statement in wiki/index.md is broader than the code (port_runner.py can send source to LLM APIs).

Docs-only: one new file, no existing docs edited. Fixing the false claims and filing the code bugs are follow-ups, split into small PRs.

Checked: tests/doc_refs_audit.py --ci passes. Key findings were spot-checked by hand against the code (firewall key mismatch, shadow-patch reachability, removed obscured-payload code, incremental gates, port_runner endpoints, firewall test-path skip).

🤖 Generated with Claude Code

…tests)

Every security, malware, supply-chain and secrets claim in the hand-written docs,
tagged MEASURED / TESTED / UNTESTED / FALSE / VAGUE with code and test evidence.
Result: 5 measured (none about detection), 44 tested, 10 untested, 39 false, 14 vague.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 13, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 13, 2026 20:54
@squid-shepherd
squid-shepherd Bot merged commit 3f00ff9 into main Nov 13, 2026
31 checks passed
@squid-shepherd
squid-shepherd Bot deleted the worktree-security-claims-inventory branch November 13, 2026 20:57
squid-shepherd Bot pushed a commit that referenced this pull request Nov 13, 2026
…SECURITY.md (#8436)

- --shadow-patch-detected: a manual flag, no hash/version comparison, inert without a model
- --fail-on-malware: the templates' malware gate never trips
- --fail-on-secrets: "a detected secret"; lines of 250+ chars are not seen
- security_auditing readme: token_mass > 8000, no shipped model, plain intro
- vector_formulas: current _calc_secrets_risk line refs; credential_material rework is planned
- SECURITY.md: "we aim to respond within 48 hours"

Refs #8426

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Nov 13, 2026
… with caveats

Gates imports and secrets_risk inside a galaxyscope scan; the standalone
CLI does not block on real scan output (#8428); enforcement gaps #8432.

Refs #8426

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Nov 13, 2026
github-action-readme.md: supply-chain-firewall checks imports (blacklist, which
ships empty, or strict allowlist) and secrets_risk >= 50 inside a galaxyscope
scan; no steganography or tainted I/O; the standalone CLI never blocks on real
scan output (#8428); other gaps in #8432.

04-00: the Dependabot/Socket/Phylum row now says what the SBOM recorder does
(first 8 KB of .js/.py/.ts/.php/.rs, dense-string or language-identity
anomaly, no measured FP rate, no comparison run).

Refs #8426, part of #8427

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 13, 2026
Remove taint/data-flow, agentic-RCE and centrality-scaling claims from the
security lens page and security README; state the real 13 signature keys,
the 4.8 string / 7.95 binary entropy thresholds, stdlib re, and the
250-character long-line blind spot. Mark Obscured Payload Exposure REMOVED
(#1020). Mark threat_tainted_injection a retired placeholder. Document the
secrets amplifiers as whole-file counts, plain score bands and the 100.0
keyfile override. Describe shadow patch as a manual flag.

Refs #8426

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 14, 2026
- signals.md: threat_extension_mismatch is set by the #4126 disguised-executable
  check and is zero in the population, not unset; say why taint tracking was
  removed (#3101, about 0% precision/recall).
- signal_coverage_verdicts.md: drop camelCase secret names from the gap list
  (fixed, tested); verdicts are on planted samples, no real-world recall.
- vectors.md / validation.md: fix vs non-fix separates at patch grain; the
  security-specific gradient did not hold; openssl replication (X-H2) pending.
  The Git-history experiment is done, not future work. Concrete signal list
  replaces "other characteristics". credential_material rework is planned.
- known_blind_spots.md: lines of 250+ characters are blanked before every
  security-lens regex and the entropy check (#8429).

Refs #8426, #8427

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 14, 2026
…claims (#8444)

* docs(security): correct Vault Sentinel, SBOM, shadow-API and privacy claims

Fix the FALSE and VAGUE rows of the security claims inventory (#8426)
for the Vault Sentinel pages, the SBOM recorder page, the shadow-API
cookbook and the wiki index privacy section.

Refs #8426

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(security): keep the dependency firewall in the index tools list, with caveats

Gates imports and secrets_risk inside a galaxyscope scan; the standalone
CLI does not block on real scan output (#8428); enforcement gaps #8432.

Refs #8426

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 14, 2026
… fix landing-page security claims (#8446)

* docs(security): stop describing the ML malware classifier as working; fix landing-page security claims

No trained model ships for the XGBoost classifier (security_auditor.py loads
gitgalaxy_malware_xgb_multiclass.json, which is not in the repo; both golden
masters record "Inference Ran": false), so inference never runs in any install.
02-20 now leads with that; README, zero_dependency_mode.md, 04-00 and the Action
readme no longer say [full] / full_precision enables ML classification.

Also: gates do run on --incremental scans; shadow patch is a manual flag with
no hash comparison (#8431); the 50M work budget replaces "BFS capped at 10,000
nodes"; frozen distance features (#1159); no networkx, zero-day, measured FP
rate or CVE reachability claims; security output described as surface
description with the negative defect-prediction result; Zero-Trust labels gone.

Refs #8426, #8430, part of #8427

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(security): state the firewall's and SBOM anomaly check's real scope

github-action-readme.md: supply-chain-firewall checks imports (blacklist, which
ships empty, or strict allowlist) and secrets_risk >= 50 inside a galaxyscope
scan; no steganography or tainted I/O; the standalone CLI never blocks on real
scan output (#8428); other gaps in #8432.

04-00: the Dependabot/Socket/Phylum row now says what the SBOM recorder does
(first 8 KB of .js/.py/.ts/.php/.rs, dense-string or language-identity
anomaly, no measured FP rate, no comparison run).

Refs #8426, part of #8427

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 14, 2026
…the CLI bug (#8445)

* docs: inventory row correction (state flux is tested)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(security): correct supply-chain firewall and X-Ray claims; flag the CLI bug

State what the firewall gates (import blacklist/allowlist plus secrets_risk >= 50),
flag that the standalone CLI and Action step never block (#8428), disclose the
#8432 gaps, and correct X-Ray's entropy thresholds, read sizes and steganography
claim. Showcases without a committed artifact are marked historical or removed.

Refs #8426, #8428, #8432, part of #8427

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs: describe the shebang check without quoting the shebang bytes

X-Ray (the repo's own pre-gate) flagged this README: it quoted the literal
shebang string in its first 8 KB, which the check reads as an embedded
execution header. Reworded and noted the behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UP3D7QbYRR7fbAooD967Ep

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant