Skip to content

docs(security): correct signal, validation and blind-spot claims - #8442

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
docs/security-claims-signals-validation
Nov 14, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
docs/security-claims-signals-validation

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Doc-only corrections from the security claims inventory (#8426, section D and problems 3 and 8). All five files are hand-written (no generator writes them).

Claims changed (old → new):

  • signals.md: threat_extension_mismatch "never set" → set by the sec_extension_mismatch can never fire in a scan: binary sensor gate checks a renamed aperture reason (3477c48cc), text-spoof path unreachable #4126 disguised-executable check (detect_disguised_executable, tested in test_disguised_executable_4126.py); zero in the v2.12.0 population because no file trips it. The in-code reason string in FUNCTION_LEVEL_ABSENT_SIGNALS still says "never set" (In-code text misdescribes security features: taint, centrality, extension mismatch, --paranoid, dead ThreatPolicy profile #8435).
  • signals.md: threat_tainted_injection "never set" (no reason) → taint tracking removed in [SECURITY] sec_tainted_injection taint tracking is score-dead + measures ~0% precision/recall -- expunge #3101 after measuring about 0% precision and recall; the column is a placeholder.
  • signal_coverage_verdicts.md: camelCase secret names (dbPassword) listed as still unread → removed from the gap list (fixed; test_embedded_credentials_real_scan_4108.py go_camel/kotlin_camel/swift_camel).
  • signal_coverage_verdicts.md: "fixed here" / TLS-bypass rows read as effectiveness → new note that every verdict is on planted samples (and crucible instances where stated), with no real-world recall or precision measured; same note added on the TLS-bypass row and sibling-gap line.
  • vectors.md:41-43: vectors "cleanly" track a security-fix → ordinary-fix → control → revert gradient → fix vs non-fix separates at patch grain; the security-specific gradient collapsed at patch grain (bystander artifact, temporal-crucible HYPOTHESES.md "Hunk-grain grammar", tc#34, exploratory, curl); openssl replication X-H2 registered, not scored.
  • validation.md:320-322 and :468: same "reliably"/"cleanly" gradient claim → same correction; the :468 answer changes from "Yes" to "Partly".
  • validation.md:276-282, :400-449, closing paragraph: security-fix experiment as "future work" / "planned harness" / "next major experiment" → done, with its results listed; the open item is the openssl replication. The old anchor #the-next-validation-risk-over-git-history is kept as an explicit <a id> so README.md's link still resolves.
  • validation.md:350-363: "secrets, injection surface, ..., other structural/security characteristics" → the concrete security-lens signal list, linked to signals.md; states there is no injection-surface or taint detector ([SECURITY] sec_tainted_injection taint tracking is score-dead + measures ~0% precision/recall -- expunge #3101).
  • vectors.md:402-403: credential_material REWORK to a count flag implied done → planned, not implemented; the shipped vector is still the density formula (_calc_secrets_risk); "appropriate use" no longer calls it a presence flag.
  • known_blind_spots.md: (absent) → Blind spot 2: SecurityLens._armor blanks every line of 250+ characters before every security-lens regex and the entropy check; only Vault Sentinel chunks long lines; the minified fallback covers nine literals and no secrets. Reproduced on scan_content: AWS key alone hardcoded_secrets: 1, on a 290-char line nothing; 96-char high-entropy literal entropy: 1, 288-char literal nothing. Tracked in Engine security pass is blind to lines of 250+ characters (secrets, signatures, entropy) #8429.

Not changed: the inventory's "note the about 0% precision ancestry" for Public API Near Raw DB Call (signal_coverage_verdicts.md:28) — no measurement for that ancestry was found in the repo, so nothing to cite.

Checks: tests/doc_refs_audit.py --ci OK; test_signal_display_names.py, test_function_level_scope_8012.py, test_readme_hand_counts.py pass (29).

Refs #8426
Refs #8427

🤖 Generated with Claude Code

- signals.md: threat_extension_mismatch is set by the #4126 disguised-executable
  check and is zero in the population, not unset; say why taint tracking was
  removed (#3101, about 0% precision/recall).
- signal_coverage_verdicts.md: drop camelCase secret names from the gap list
  (fixed, tested); verdicts are on planted samples, no real-world recall.
- vectors.md / validation.md: fix vs non-fix separates at patch grain; the
  security-specific gradient did not hold; openssl replication (X-H2) pending.
  The Git-history experiment is done, not future work. Concrete signal list
  replaces "other characteristics". credential_material rework is planned.
- known_blind_spots.md: lines of 250+ characters are blanked before every
  security-lens regex and the entropy check (#8429).

Refs #8426, #8427

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 13, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 13, 2026 23:43
@squid-shepherd
squid-shepherd Bot merged commit d487d33 into main Nov 14, 2026
36 checks passed
@squid-shepherd
squid-shepherd Bot deleted the docs/security-claims-signals-validation branch November 14, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant