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 heredoc executed by a shell is not classified #345
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issuebugSomething isn't workingdetection-ruleBehavioral sequence detection
classify_command blanks heredoc bodies before matching command words, so text inside a heredoc does not raise false positives. That also blanks the case where the heredoc is the program:
returns no traits on 0.10.3, so no credential-exfil. The same command without the heredoc returns credential_access, net_egress.
Expected: when the heredoc feeds an interpreter (bash, sh, zsh, python -, node -, pwsh), classify its body as commands. Keep blanking heredocs that feed cat > file, git commit -F - and similar, which is what the masking was for (#41, #44).
Raised by a reader on r/ClaudeCode on 2026-10-30, after the 0.10.3 long-command fix. The fix is in core/audit/detection/traits.py, which is under the detection freeze, so it lands with the next ruleset change (with #55), not on its own.
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issuebugSomething isn't workingdetection-ruleBehavioral sequence detection
Activity