Repository navigation
security: fix in-code text misdescribing taint, centrality, extension mismatch, --paranoid (Part of #8435) - #8616
Conversation
… mismatch, --paranoid; drop dead ThreatPolicy paranoid profile (Part of #8435) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8616 @ 3f31660: 16 failed check(s) == Analyze (python) (failure) -- real == crucible (cancelled) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…og message) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (28d79cc) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
3 similar comments
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
CI shepherd: the head of this PR (d410107) is not the one a maintainer labelled |
|
CI shepherd: the head of this PR (d410107) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #8435 (security epic #8427). Docstring, description and log-line edits plus deleting the dead
ThreatPolicy"paranoid" profile. No behaviour change.Class / Sibling gaps
Class: in-code text (docstrings, descriptions, log/help lines, dead config) that misdescribes a security feature (taint, centrality, extension mismatch,
--paranoid).SecurityLensclass docstring (taint + centrality)SecurityLens.scan_contentdocstringSIGNAL_DESCRIPTIONS["sec_extension_mismatch"]SIGNAL_DESCRIPTIONS["sec_tainted_injection"]--paranoidlog line ("ZERO-TRUST MODE ... maximum sensitivity") and argparse help ("flag more potential threats")standards/README.md"tighten theThreatPolicythresholds"ThreatPolicy.PROFILES["paranoid"]Remaining slices:
gitgalaxy/galaxyscope.py(1 file): reword the--paranoidlog line (~4631) and help text (~4315) to say it changes secrets-exposure scoring only (paranoid_threshold/paranoid_slope, andsignal_processor.pylifts the reflection cap). Blocked first by: any diff togalaxyscope.pymakes CodeQL's new-alert gate report 5py/clear-text-logging-sensitive-dataresults atgalaxyscope.py:1871, 1881, 1891, 1927, 1935(existinglogger.critical(... {file_data.get('path')})calls, absent from main's analysis; a reworded log line did not change it). Those 5 need handling in the same slice.Sibling gaps (not fixed here; found by grepping "taint", "centrality", "zero-trust"):
galaxyscope.py~1065 and ~1082 comments: saysec_tainted_injectionis corroborated by detector and that position data fed an "internal taint check"; taint tracker no longer exists. Comment-only, wording needs checking againstdetector.pyfirst.galaxyscope.py~1950 docstring: "a file's centrality influences its logic bomb threat weighting": verify against the XGBoost feature set before editing.galaxyscope.py~1625 "Zero-Trust execution validation" (SecurityLens construction), ~1503, ~2041 "Phase 5: Zero-Trust Guardrails",--ai-guardrailshelp (~4340),dev_agent_firewall.py:12,detector.py:5778: "zero-trust" used as a label for regex-signature sensors; marketing wording, owner call.detector.py~5797 comment lists "Taint Tracking (RCE Weaponization)" as relocated ([FEATURE/CORE-ENGINE] Extract a shared, scope-aware spatial correlation primitive and make threat_locations the persisted ledger #346);core/spatial_correlation.py:19already says it is not taint tracking: check that these agree.cobol_refractor_controller.py"Global Taint Tracking Target" and "Zero-Trust JCL": COBOL variable trace in a separate tool, not audited here.docs/security_claims_inventory.mdstill lists these members as wrong: doc follow-up under docs: security claims inventory (112 claims vs code and tests) #8426.Gates
ruff format --checkon the 3 changed .py files: clean.tests/tools/audit_check.py: all clear (ruff, mypy, dead-key, doc-refs, signal-coverage).SIGNAL_DESCRIPTIONSorThreatPolicy; no golden bless run, none expected to move (strings only, one unused dict entry removed).pr_gates --ratchets(left to CI).3 hand-written files:
security_lens.py,analysis_lens.py,standards/README.md.🤖 Generated with Claude Code