Skip to content

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

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
docs/security-claims-sentinel-sbom-privacy
Nov 14, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
docs/security-claims-sentinel-sbom-privacy

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Corrects the FALSE and VAGUE rows of the security claims inventory (#8426) for five wiki pages. Docs only; each change was checked against the code on main.

Vault Sentinel (04-04-vault-sentinel.md, cookbook/deploy-vault-sentinel.md)

  • "Shannon Entropy calculations" (cookbook) → regex only: the hardcoded_secrets signature plus EXTRA_SECRETS (AWS secret key, Google AIza, JWT); no entropy (vault_sentinel.py:28-32,153-156)
  • Scans "hardcoded_secrets and dead_code" → hardcoded_secrets only (restrict_signatures(("hardcoded_secrets",)), :85)
  • Example output shows the matched secret → shows ********[REDACTED]********, in the tool's current summary format (:163-165)
  • "Zero-I/O" Tier 0 → every file is stated, and key/cert-named files are opened for the public-material check (aperture.py:567,576)
  • DENYLIST_PATTERNS, "e.g., *.pem, .env*" → the list is empty by default; .pem/id_rsa/.env come from SECRETS_EXTENSIONS/SECRETS_EXACT, and .env.staging is not caught
  • Allowlist "bypasses test fixtures" → discloses that the default ALLOWLIST_PATHS contains tests/, which exempts every tests folder (gitgalaxy_config.py:89, config_resolver.py:181)
  • "Executes in milliseconds" / "thousands of files per second" / "sub-second" → no benchmark is committed; each run prints its own time
  • Detection effectiveness → tested on planted secrets (test_vault_sentinel_control.py), no measured real-world recall
  • "Leading cause of enterprise data breaches" / "hyper-optimized" → removed
  • Added limits: tests/ exemption, exact-name secret files, 5 MB / NUL-byte skip, unreadable files do not fail the run

SBOM recorder (04-02-sbom-generator.md)

  • SPOOF_DETECTED as spoof detection → an anomaly flag with no measured false-positive rate; any dense 64-1,024 char string marks the package; VERIFIED_SAFE means only that no sampled file tripped a check
  • (undisclosed) → reads only the first 8,192 bytes of each file (sbom_recorder.py:238), and only .js/.py/.ts/.php/.rs
  • (undisclosed) → entropy runs on armored text, so strings on lines of 250+ chars are never checked (Engine security pass is blind to lines of 250+ characters (secrets, signatures, entropy) #8429)
  • "Standard SBOM tools blindly trust these manifests" → manifest-only SBOMs say nothing about installed code; no comparison with other tools has been made
  • "Increasing defense-in-depth against obfuscated malware" → benign encoded data trips it as readily; every flag needs review
  • Test evidence stated: test_sbom_generator.py mocks the lens

Shadow APIs (cookbook/hunt-shadow-apis.md)

  • tRPC example showing three "Ghost APIs" (mapper misses: the Node regex reads only app/router/server.get(...), full_api_network_map.py:42-46) → a real run on a small Express fixture, and tRPC listed as a known blind spot
  • "Every Shadow API represents a critical security risk" / "massive blind spot" → each undocumented route needs review; the tool does not check exposure or auth
  • "Exact physical routing reality" → one regex per framework, listed; tested on fixtures, no measured recall
  • Added known limits: unreadable frameworks give false Ghost APIs, Node object-name restriction, prefixes not joined and suffix matching can hide a route, Go matches client calls

Wiki index (index.md)

  • "Source code is never transmitted to any API … or third-party LLM" / "entire suite" air-gap ready → scoped to the scanner; names the opt-in exception port_runner.py (--backend openai|anthropic|command)
  • "Unpacked into a volatile memory buffer" → zips extract to an on-disk mkdtemp that is deleted at the end (galaxyscope.py:3884-3896); scans write <target>/.gitgalaxy/dependency_cache.db by default
  • "Zero-Trust" labels (Where-to-start link, Security bullet, viewer paragraph, section heading) → removed
  • "Threat sensors designed to hunt RCE Funnels, God-Mode Agents, and Context Window Shredders" → the real heuristics: over-permissioned agent binding and token mass > 8,000
  • "Zero-trust firewalls that verify physical dependencies" → lists the tools plainly, "tested on planted inputs; no measured real-world recall"; the firewall is left out (its standalone CLI does not read the current audit format; inventory problem 2)

tests/doc_refs_audit.py --ci: OK.

Refs #8426

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label 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

Copy link
Copy Markdown
Owner Author

Update (9085d80): the dependency firewall is back in the docs/wiki/index.md security-tools list, with a caveat: it gates imports and secrets_risk inside a galaxyscope scan, the standalone CLI never blocks on real input (#8428), and enforcement gaps are tracked in #8432. This supersedes the note in the description saying it was left out.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (9085d80) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 13, 2026 23:45
@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 13, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 13, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 13, 2026 23:53
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 13, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 13, 2026 23:54
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 14, 2026
@squid-shepherd
squid-shepherd Bot merged commit b60dd33 into main Nov 14, 2026
66 of 87 checks passed
@squid-shepherd
squid-shepherd Bot deleted the docs/security-claims-sentinel-sbom-privacy branch November 14, 2026 00:07
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