DST-06 Remote script piped to interpreter
block 1 hits here sandbox-verified
① What it stops
Agent downloaded a remote script and piped it straight into a shell or interpreter
Download and inspect the script first; confirm the source is trusted before executing.
② Criteria
| Item | Value |
|---|---|
| Severity | critical |
| Category | destructive |
| Gate | Gate 4 behavior (destructive/persistence) |
| Criterion type | tool_call |
| Applies to | Bash |
Command patterns
(curl|wget)\b[^\n|;]{0,200}\|\s*(sudo\s+)?(sh|bash|zsh|dash|python|powershell)\b(irm|iwr)\b[^\n|]{0,200}\|\s*(iex|invoke-expression)\bbash\s+<\s*\(curl\bcurl\b[^\n]{0,200}\b(-o|\-\-output)\s+[^\n]{0,80}\.(sh|ps1)\b[^\n]{0,80}[;&|]\s*(sh|bash|\.)\bbase64\b[^\n]{0,60}(-d|--decode)[^\n]{0,80}\|\s*(sh|bash|python)\|\s*base64\s+-d\b(?:\[char\]\d+\+){2,}
Exclude patterns (hit ⇒ not blocked)
localhost127\.0\.0\.1
Generated directly from rules/default.json — never hand-written or paraphrased.
③ Real hits
Triggered in a disposable sandbox project using the real hooks/pre_tool_use.py — the same method as challenge/generate_challenge.py. All 24 rules verified this way (24/24).
Daily ledger on this machine: 1 hits
④ False positives & exemptions
Built-in exclude patterns are listed under ②. Four exemption mechanisms exist globally (declared workspace roots, policy path whitelist, path-suspect alert-only, exclude patterns); counts on this machine are published on the Chinese page and in Limits.
⑤ Boundaries
| Boundary | |
|---|---|
| Criterion type | tool_call |
| Applies to | - |
| Platform | all platforms |
| Case sensitivity | Measured: insensitive (RM -RF is blocked like rm -rf) |
| Path normalisation | Measured: effective (./sub/../.env is blocked) |
| Scripts not parsed | An absolute path outside the project mentioned in a Bash command is alerted, not blocked — scripts are not parsed (THREAT_MODEL Non-goals) |
| Failure posture | fail-open; best-effort, not a hard security boundary |
⑥ Reproduce
Cite this page
Antinel AgentState. DST-06 Remote script piped to interpreter — rule detail. https://antinel.com/en/agentstate/rules/DST-06/ (accessed YYYY-MM-DD)
Antinel. (2026). DST-06 Remote script piped to interpreter — rule detail. AgentState. https://antinel.com/en/agentstate/rules/DST-06/
BibTeX
@misc{antinel_en_agentstate_rules_DST_06,
title = {DST-06 Remote script piped to interpreter — rule detail},
author = {{Antinel}},
year = {2026},
url = {https://antinel.com/en/agentstate/rules/DST-06/},
note = {claim tier: measured}
}
Claim tier: measured 采集时刻:2026-09-23T22:41:18+08:00