Repository navigation
docs(security): correct CLI reference, test readme, formula refs and SECURITY.md - #8436
Merged
Merged
Conversation
…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]>
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes rows of the security claims inventory (#8426) that fall in four files. Docs only; no code changes.
Claims changed (old → new):
--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).--fail-on-malware: unchanged text, plus → the--fail-on-malwaregate in the shippedtemplates/pipelines ("SARIF + ML Malware Gate" job) is a no-op; the job still writes SARIF.--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.mdintro: "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.mddev agent firewall: "$O(N^3)$ files" →token_massabove 8,000 (dev_agent_firewall.py:59).tests/security_auditing/readme.mdsecurity auditor: "XGBoost multiclass inference engine … for threat prediction" → no model ships; this file mocks the classifier,test_ml_real_model_2986.pyuses a synthetic stand-in; proves feature formatting only, not classification.docs/vector_formulas.md: "add 138 …_calc_secrets_riskat 1956" → offset is 146 (_calc_cog_load1536,_calc_secrets_risk1964); section 11 line refs updated to 1964–2009 and the risk_tuning-overridable constants noted.docs/vector_formulas.mdcredential_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:
--paranoidrow (accurate; it does not use the "maximum sensitivity" wording). The--fail-on-secretsexample 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 --ciOK;tests/tools/test_cli_contract.py38 passed.Refs #8426
🤖 Generated with Claude Code