scanner: downgrade pipe-to-shell markdown pattern to warn

This commit is contained in:
Vincent Koc
2026-02-27 11:05:53 -08:00
parent b7bf6c6120
commit d40a017a44

View File

@@ -324,7 +324,7 @@ const SKILL_MD_RULES: MarkdownRule[] = [
},
{
ruleId: "suspicious.script",
severity: "critical",
severity: "warn",
message: "Pipe-to-shell pattern detected",
pattern: /(curl[^\n]+\|\s*(sh|bash))/i,
},