Skip to content

In-code text misdescribes security features: taint, centrality, extension mismatch, --paranoid, dead ThreatPolicy profile #8435

Closed

Description

@squid-protocol

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

Activity

  1. added
    documentation
    appsec
    priority: low
    on Nov 13, 2026
  2. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    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.

  3. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    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 the claim:nyx label.

  4. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appsecclaim:nyxdocumentationpriority: low

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions