Repository navigation
security lens: dead_code prose, per-line count, locations for every key, per-signal comment decisions (Part of #4987) - #5029
Merged
Conversation
…ry key, per-signal comment decisions (Part of #4987) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 13, 2026 13:26
squid-protocol
enabled auto-merge (squash)
October 13, 2026 13:26
This was referenced Oct 13, 2026
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 #4987 (siblings of #4548 / PR #4983). Boxes ticked: dead_code prose keywords, dead_code double count, safety_bypasses/reflection/homoglyphs decision, threat_locations for every key. Left open: recorders audit, aperture secrets shunt, COBOL continuation line (different mechanisms: recorders, aperture, COBOL regex).
Class: the lens reads raw text with no comment awareness
bash/curl/wget/eval/base64curl -x/curl http://,| bash,bash -c,eval(/eval "$x",base64 -d,| base64); prose ("the bash shell") no longer fires.nc -e,/dev/tcp, BPXBATCH, quoted-URL unchanged// curl http://x: the//inhttp://opened a 2nd match. One count per line nowverify=Falseis not a bypass; dead_code reports commented logic). Already skipped on prose files\x/\u/long-base64 read code stream; invisible/bidi Unicode still reads RAW (HIDDEN_TEXT_SIGNATURES): comments carry real hidden-text attacksEvidence
tests/security_auditing/test_sast_comment_awareness_4987.py(prose vs command for each word x//,#,--,/* */; once-per-line; per-signal comment matrix incl. bidi/zero-width/filler in a comment still firing; positions for every hit key).test_security_lens.pyungateable-set comment updated (reflection's remaining ungated reason is the long-base64 branch).Golden drift (blessed both legs via golden-lock + crucible_check --update --yes)
Only lens channels moved: commented_out_executable_logic, high_entropy_obfuscated_logic (3 bytes; reflection-fed), raw threat totals, sarif/gpu/graph snapshots (sarif shrinks 316 KB -> 269 KB: dead_code prose findings gone). No structure keys. Excluded-file list identical to before (aperture static blobs only, no timeouts). Same fixtures as #5027: expect a re-bless on whichever merges second.
Gates:
pr_gates --fast5/5,--ratchets7/7 (0 skipped).Cross-repo: none.
🤖 Generated with Claude Code