Chock.sh Build your plugin

Policies

OWASP ASI05 — Unexpected Code Execution

OWASP ASI05 — Unexpected Code Execution: what it does, its label on each agent, what it misses, and examples.

Catalog policy owasp-asi05-unexpected-code-execution, version 0.0.2, labelled advisory on Claude Code.

What it does

Contain code an agent generates or is induced to run. Execute in a sandboxed container with least privilege and deny-by-default egress, prefer parameterised APIs over raw shell, and treat any string reaching a subprocess or interpreter as attacker-controlled. Use when adding a code interpreter, shell tool, subprocess call, or eval-style API to an agent. Do NOT use for eval/exec appearing in ordinary application code — that is code-safety.

On each agent

AgentLabelWhat it does there
Claude CodeAdvisoryAdvisory only. It is skill text, and nothing stops a violation
CursorAdvisoryAdvisory only. It is skill text, and nothing stops a violation
CodexAdvisoryAdvisory only. It is skill text, and nothing stops a violation
GitHub CopilotAdvisoryAdvisory only. It is skill text, and nothing stops a violation
DevinAdvisoryAdvisory only. It is skill text, and nothing stops a violation
GrokNot gradedNot graded yet for Grok
gooseNot gradedNot graded yet for goose
AntigravityNot gradedNot graded yet for Antigravity
OpenHandsNot gradedNot graded yet for OpenHands
Kimi CodeNot gradedNot graded yet for Kimi Code
Factory DroidNot gradedNot graded yet for Factory Droid

What it misses

This policy does not state what it misses.

More

Built from engine 5a4b6287a46e and catalog 1e60d211c1bb.