opendatahub-io/Miasma Detect

Scans GitHub PR/issue/comment event payloads and changed files for Shai-Hulud/Miasma-family supply-chain worm IOCs, generic family-technique heuristics, and prompt-injection payloads. Fails the check on detection so downstream automation (including coding agents) stops processing.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
min-severityFailure threshold: low | medium | high | criticalnomedium
categoriesComma-separated rule categories to apply (default: all). Options: campaign-ioc,supply-chain,prompt-injection,packageno""
ioc-packsNewline- or comma-separated paths to extra IOC pack JSON files (adds new campaigns without code changes)no""
large-diff-linesFlag changed files whose diff meets/exceeds this many lines (collapsed by the GitHub UI, hidden from human review). 0 disables.no1000
excludeNewline-separated gitignore-style patterns to skip (a .miasmaignore file at the repo root is also honored for directory scans)no""
scan-changed-filesAlso scan files changed in the PR/push (requires actions/checkout with fetch-depth: 0)notrue
pathsAdditional newline-separated paths to scanno""
signoff-commandComment command a maintainer (write/admin) posts on the PR to acknowledge reviewed findings and waive the block. Approval must postdate the latest commit. Empty string disables waivers.no/miasma-approve
signoff-max-severityHighest finding severity a sign-off can waive. Critical findings (confirmed IOCs) can never be waived when this is at its default.nohigh
trusted-botsNewline-separated GitHub usernames or numeric user IDs whose PRs get structural findings (SC-WORKFLOW-ADDED, PI-UNICODE-TRICKERY, SC-COLLAPSED-DIFF) downgraded to "low" so they fall below the default medium threshold. Numeric entries match user.id (immutable), text entries match user.login (case-insensitive). Campaign IOCs and critical findings still block. This prevents verified bots from needing /miasma-approve on every dependency bump.no""
pr-commentPost/update a report comment on the PR or issue explaining findings, required human intervention, and how to unblock (needs pull-requests: write, which also covers issue comments)notrue
github-tokenToken used to post the PR report commentno${{ github.token }}
namedescription
verdict"clean" or "blocked"
findingsJSON array of findings