Repository navigation
docs: shadow-patch flag is a manual hint (Part of #8431) - #8627
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 18, 2026
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.
Part of #8431 (slice 2 of 3; slice 1 is #8611). Docs only: bring the wiki and the claims inventory in line with the manual-hint behaviour #8611 introduced.
Merge order: merge after #8611 (still open at the time of writing); these docs describe the behaviour that PR adds to
security_auditor.py. This branch is cut from origin/main, not from #8611's branch, so it carries only the 3 doc files.What changed
--shadow-patch-detectedis now documented as a manual hint: when set, every file withfile_impact > 0.5gets the alert "SHADOW PATCH (manually asserted via --shadow-patch-detected; no hash or version was compared)". It assigns no AI Threat Class, no score and nois_ml_threat, and it works without a model. The old text said it forced Stealer / Trojan at score 100 and was unreachable without a model.docs/wiki/01-02-galaxyscope-cli-reference.mdline 83.docs/wiki/02-20-security-auditor.mdlines 24, 27, 45, 52 (current behaviour, pipeline inputs, limits, future work).docs/security_claims_inventory.md: shadow-patch row 111 now FIXED (fix(security): shadow-patch flag is a manual hint, assigns no class (Part of #8431) #8611) with the new line references.Class / Sibling gaps
Class: every doc surface that describes the shadow-patch flag's behaviour (CLI help, README, wiki pages, claims inventory).
galaxyscope.pyhelp text,gitgalaxy/security/README.md:23,56docs/wiki/01-02-galaxyscope-cli-reference.md:83docs/wiki/02-20-security-auditor.md:24,27,45,52docs/security_claims_inventory.mdrow 111docs/security_claims_inventory.mdfinding 5 (line 64) and next-steps item 2 (line 240)Sibling gaps: real detection (above). Until it lands, the hint marks files by
file_impact, not by change.Remaining slices
Slice 3: option A detection (separate, larger code change).
Facts checked
gitgalaxy/security/security_auditor.py:129andgalaxyscope.py:4326on current main.Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code