Repository navigation
Closed
Labels
appsecAgentic guardrails, prompt injection, and RCE sensorsclaim:nyxdocumentationUpdates to standard operating procedures, guides, or wikipriority: lowUI tweaks, documentation, and minor optimizations
Description
Part of #8427. Source: the security claims audit in #8426 (docs/security_claims_inventory.md, sections A, B and D). These are strings in code (docstrings, descriptions, log lines, dead config), not docs. The doc wording is fixed in #8426's follow-ups.
Class: in-code text that misdescribes a security feature
| Member | What it says vs the code | Status | Evidence |
|---|---|---|---|
SecurityLens class docstring |
"Data Flow Taint ... augmented by Network Centrality metrics": taint tracking was removed in #3101, and the lens never reads centrality | wrong | gitgalaxy/security/security_lens.py:262-266 |
SecurityLens.scan_content docstring |
"multi-line data flow taint tracking" | wrong | security_lens.py:820; the code says it is removed at :979-980 |
SIGNAL_DESCRIPTIONS for sec_extension_mismatch |
"never set: zero in every file and function row of the v2.12.0 population"; the disguised-executable check (#4126) sets it (galaxyscope.py:781) and is tested (test_disguised_executable_4126.py) |
wrong (undersells) | gitgalaxy/standards/analysis_lens.py:1903 |
SIGNAL_DESCRIPTIONS for sec_tainted_injection |
"never set: zero ... population": true today, but the reason (taint tracker removed, #3101) is not stated | vague | analysis_lens.py:1904 |
--paranoid log line |
"Security Lens thresholds set to maximum sensitivity" (and a "ZERO-TRUST MODE" label), but only the secrets-exposure thresholds change (paranoid_threshold 0.5, paranoid_slope 2.0) |
wrong | gitgalaxy/galaxyscope.py:4625-4626; analysis_lens.py:995-996 |
ThreatPolicy "paranoid" profile |
dead code: ThreatPolicy has no use outside its own file (2 references in gitgalaxy/ + tests/, both in the definition) |
dead | analysis_lens.py:58-77 (PROFILES["paranoid"] at :68) |
Plan: also grep gitgalaxy/ for "taint", "centrality" and "zero-trust" in strings and comments to find siblings the audit missed, and add them to this table.
Acceptance
- Each string says what the code does (taint: "removed in [SECURITY] sec_tainted_injection taint tracking is score-dead + measures ~0% precision/recall -- expunge #3101"; paranoid: "secrets-exposure thresholds only"; extension mismatch: "set by the disguised-executable check (sec_extension_mismatch can never fire in a scan: binary sensor gate checks a renamed aperture reason (3477c48cc), text-spoof path unreachable #4126)").
ThreatPolicy's paranoid profile is deleted (or wired in with a test). Deleting dead code must not change any golden master; run the quick suite and confirm no golden moved.- Docstring / message edits only otherwise: no behaviour change. Keep the PR to 5 files or fewer.
Metadata
Metadata
Assignees
Labels
appsecAgentic guardrails, prompt injection, and RCE sensorsclaim:nyxdocumentationUpdates to standard operating procedures, guides, or wikipriority: lowUI tweaks, documentation, and minor optimizations
Activity
security: fix in-code text misdescribing taint, centrality, extension…
squid-protocol commentedon Nov 18, 2026
Churn run
8435-20261118T2254Z(host nyx) ended without a PR. PR #8616 merged (SAVE). Stray remote branch churn/8435-20261118T1624Z has no PR; delete blocked by classifier, owner may delete. main's docs_read_by_tests.txt is stale (derived gate). Issue stays open for remaining slices.squid-protocol commentedon Nov 19, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-11-19T00:39Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.security: reword --paranoid help and log line to what it changes (Par…
squid-protocol commentedon Nov 19, 2026
Acceptance met: #8616 fixed the SecurityLens docstrings, SIGNAL_DESCRIPTIONS and deleted the dead ThreatPolicy paranoid profile; #8642 reworded the --paranoid help and log line. Remaining siblings are tracked in #8617.