Repository navigation
security: reword --paranoid help and log line to what it changes (Part of #8435) - #8642
Merged
Merged
Conversation
…t of #8435) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
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 #8435 (epic #8427). Follow-up to #8616, which fixed the SecurityLens docstrings and the
SIGNAL_DESCRIPTIONSentries and deleted the deadThreatPolicyparanoid profile, but reverted thegalaxyscope.pywording because the CodeQL new-alert gate flagged the word "secrets" in a log message.What changed
gitgalaxy/galaxyscope.pyonly (1 hand-written file, strings only, no behaviour change):--paranoidhelp: was "Lower security thresholds to flag more potential threats."; now says it uses the stricter credential-exposure thresholds (paranoid_threshold,paranoid_slope) and the other Security Lens thresholds are unchanged.--paranoidlog line: was "ZERO-TRUST MODE: Security Lens thresholds set to maximum sensitivity."; now "PARANOID MODE: stricter credential-exposure thresholds only; other Security Lens thresholds unchanged." It avoids the word "secrets" so the CodeQL gate stays quiet.Class / Sibling gaps
Class: in-code text that misdescribes a security feature (the #8435 table).
SecurityLensclass docstring (taint / centrality)SecurityLens.scan_contentdocstring (taint)SIGNAL_DESCRIPTIONSsec_extension_mismatch,sec_tainted_injectionThreatPolicyparanoid profile (dead)--paranoidhelp + log line (galaxyscope.py)Sibling gaps (found by grepping
gitgalaxy/for taint, centrality, zero-trust; not fixed here, no issues filed):gitgalaxy/core/detector.py:5806comment lists "1. Taint Tracking (RCE Weaponization)" among the correlations relocated tospatial_correlation; taint tracking was removed ([SECURITY] sec_tainted_injection taint tracking is score-dead + measures ~0% precision/recall -- expunge #3101). Comment only, butdetector.pyis golden-sensitive and hot, so it is left for its own slice.gitgalaxy/galaxyscope.py:1503,:1625,:2041-2055,:4368call Phase 5 andSecurityLens()"zero-trust"; the label is not a described mechanism (Phase 5 is opt-in via--ai-guardrails;SecurityLensis a regex and entropy scanner). Needs an owner call on the term.gitgalaxy/recorders/sarif_recorder.py:154category "Autonomous Zero-Trust" andllm_recorder.py:1969"bypass the Zero-Trust whitelist": output strings that tests or goldens may pin.gitgalaxy/recorders/sbom_recorder.py:4,75,178"Universal Zero-Trust SBOM" (name written into SBOM output).gitgalaxy/cobol_refractor_controller.py:496"Global Taint Tracking Target" and:611-648"Zero-Trust JCL" report labels: the COBOL variable tracing is a different feature from the removed taint tracker; check the label says what it does.python.py:555,javascript.py:535,typescript.py:963comment "Zero-Trust Pipelines" on the AppSec sensor block.Gates
ruff format --checkandruff checkongitgalaxy/galaxyscope.py: pass. Strings only; no rule, regex or score touched, so no golden can move (golden bless not run).🤖 Generated with Claude Code