Appearance
SEC547 / MCP-AUTOAPPROVE-CURL
SEC547 flags MCP configuration when autoApprove includes the exact tool token Bash(curl:*).
Why It Matters
curl is commonly used for remote fetch and download execution flows. Auto-approving it weakens the review boundary around network-capable shell activity in MCP clients.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains the exact item
Bash(curl:*)
Clean Cases
- narrower non-network auto-approval entries
- MCP configs without
curlauto-approval - review-gated
curlexecution instead of blanket auto-approval
Example Trigger
json
{
"mcpServers": {
"demo": {
"command": "node",
"args": ["server.js"],
"autoApprove": ["Bash(curl:*)"]
}
}
}Safer Example
json
{
"mcpServers": {
"demo": {
"command": "node",
"args": ["server.js"],
"autoApprove": ["Read(*)"]
}
}
}How To Fix
Remove curl from autoApprove and keep remote download execution under explicit user review or a much narrower reviewed policy.