mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 12:04:59 +00:00
scanner: downgrade pipe-to-shell markdown pattern to warn
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user