ACB-GEN-001: Remote content is never piped into an interpreter

FieldValue
Statusdraft
Severityhigh
Check typestatic
Applies toskill, instruction-file, mcp-server-declaration
Profilesstrict-general
Exceptionspermitted

Description

No artifact executes, or instructs the agent to execute, content fetched from a network location by piping or substituting it directly into a shell or language interpreter.

Rationale

Pipe-to-interpreter runs whatever the remote host serves at that moment, with no integrity check and no chance for review. When the instruction lives in an agent artifact the agent carries it out automatically, so a compromised host or a tampered URL becomes code execution on every machine that loads the artifact. Pattern matching cannot tell that instruction from a warning against it, so a file that only warns is waived by a reviewed, expiring exception rather than by the checker.

Audit procedures

pipe-to-interpreter (pattern)

No file contains a network fetch whose output is piped, redirected or command-substituted into a shell or interpreter, in code blocks, inline code or prose instructions.

Illustrative failing indicators (non-exhaustive):

Remediation

Download to a file, verify it against a pinned digest (see ACB-GEN-002), then execute the verified file. Prefer a pinned package from a registry over an install script.

References