Skip to content

Fix prohibited command table false positive - #43

Merged
LE0-Lin merged 1 commit into
mainfrom
fix/prohibited-command-tables
Sep 6, 2026
Merged

Fix prohibited command table false positive#43
LE0-Lin merged 1 commit into
mainfrom
fix/prohibited-command-tables

Conversation

@LE0-Lin

@LE0-Lin LE0-Lin commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • avoid reporting a command repeated in a Markdown replacement table when nearby prose explicitly prohibits that same command
  • retain detection for active dangerous commands in ordinary tables
  • add the behavior across six instruction formats, expanding the adversarial suite to 134 contracts
  • add Reaparr/Reaparr and olup/origan as pinned, manually reviewed external repository cases

Real-world reproduction

  • Reaparr/Reaparr: B 89 false positive before; A 100 after
  • olup/origan: docker-system-prune remains correctly active at B 88

Verification

  • full unit suite: 130 passed
  • adversarial benchmark: 134/134, 56/56 clean controls
  • five-repository smoke benchmark: all reviewed expectations matched

@LE0-Lin
LE0-Lin merged commit ab89025 into main Sep 6, 2026
21 checks passed
@LE0-Lin
LE0-Lin deleted the fix/prohibited-command-tables branch September 6, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant