Skip to content

docs(security): correct CLI reference, test readme, formula refs and SECURITY.md - #8436

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
docs/security-claims-cli-ref
Nov 13, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
docs/security-claims-cli-ref

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes rows of the security claims inventory (#8426) that fall in four files. Docs only; no code changes.

Claims changed (old → new):

  • CLI ref --shadow-patch-detected: "Declares that the payload hash changed without a version bump" → a manual flag; GitGalaxy compares no hashes or versions; it acts only inside ML inference, which never runs because no model ships, so it does nothing in a shipped build (security_auditor.py:146, :191-198).
  • CLI ref --fail-on-malware: unchanged text, plus → the --fail-on-malware gate in the shipped templates/ pipelines ("SARIF + ML Malware Gate" job) is a no-op; the job still writes SARIF.
  • CLI ref --fail-on-secrets: "Fails if any file has a hardcoded secret" → "Fails on a detected hardcoded secret", plus lines of 250+ characters are not seen (SecurityLens._armor, security_lens.py:808-814).
  • tests/security_auditing/readme.md intro: "can detect supply-chain anomalies … without ever executing the target code" plus comparison to "most enterprise security tools" → the sensors read text and bytes, never execute code; tests prove logic on planted/synthetic input; no recall has been measured.
  • tests/security_auditing/readme.md dev agent firewall: "$O(N^3)$ files" → token_mass above 8,000 (dev_agent_firewall.py:59).
  • tests/security_auditing/readme.md security auditor: "XGBoost multiclass inference engine … for threat prediction" → no model ships; this file mocks the classifier, test_ml_real_model_2986.py uses a synthetic stand-in; proves feature formatting only, not classification.
  • docs/vector_formulas.md: "add 138 … _calc_secrets_risk at 1956" → offset is 146 (_calc_cog_load 1536, _calc_secrets_risk 1964); section 11 line refs updated to 1964–2009 and the risk_tuning-overridable constants noted.
  • docs/vector_formulas.md credential_material rework (:40, section 11 header): "REWORK flagged" → rework is planned, not implemented.
  • SECURITY.md: "Valid reports will receive a response within 48 hours" → "We aim to respond to valid reports within 48 hours".

Not changed: --paranoid row (accurate; it does not use the "maximum sensitivity" wording). The --fail-on-secrets example at CLI ref :176 is a command line with no claim text. The "Paranoid Mode" step name in that example was left alone.

Checks: tests/doc_refs_audit.py --ci OK; tests/tools/test_cli_contract.py 38 passed.

Refs #8426

🤖 Generated with Claude Code

…SECURITY.md

- --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: 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 21:02
@squid-shepherd
squid-shepherd Bot merged commit 0ca0ed4 into main Nov 13, 2026
34 checks passed
@squid-shepherd
squid-shepherd Bot deleted the docs/security-claims-cli-ref branch November 13, 2026 21:10
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