Skip to content

Classify heredocs, decode-pipes, and scripts written then run (rebased #361, fixes #345 #347) - #502

Merged
blitzcrieg1 merged 1 commit into
masterfrom
contrib/pr-361
Nov 26, 2026
Merged

blitzcrieg1 merged 1 commit into
masterfrom
contrib/pr-361

Conversation

@blitzcrieg1

Copy link
Copy Markdown
Owner

Rebased #361 onto master (11 conflicts resolved: traits/mitre/ingest merged with the #469/#470 changes, duplicate _pipelines renamed, README claims recounted). Local verification: benchmark 112 cases / 18 rules / 61 firings, 0 missed, 0 FP; 375 targeted tests pass; ruff clean; readme-claims 16/16. Closes #361. Closes #345. Closes #347.

bash <<EOF, echo <blob> | base64 -d | sh, and a Write of run.sh followed
by bash run.sh all reached the hook with no traits. Heredoc blanking,
which stops a commit message from paging, also blanked the program. The
encoded-command check only knew PowerShell -EncodedCommand. A file write
classified the path and hashed the body before any rule could see it.

The three edits touch traits.py, rules.py and mitre.py, which are one
ruleset fingerprint, so they land together. The fingerprint moves from
15846a0915769d4a to ecccbe61f732071d, and the dogfood clock restarts.
Not a release.

Co-authored-by: Ioannis Loutsis  <[email protected]>
@blitzcrieg1
blitzcrieg1 merged commit af72afe into master Nov 26, 2026
10 checks passed
@blitzcrieg1
blitzcrieg1 deleted the contrib/pr-361 branch November 26, 2026 20:51
blitzcrieg1 added a commit that referenced this pull request Nov 27, 2026
* release: v0.18.0 changelog (guard egress support, provider scrub, #502)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>

* release: bump version to 0.18.0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>

* release: funding.json quotes 0.18.0

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>

---------

Co-authored-by: Mistral Vibe <[email protected]>
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.

A script written to a file and then run hides its content from classification A heredoc executed by a shell is not classified

2 participants