🛑 Blocked
langchain agent blocked from terminal
Mon, 27 Apr 2026 17:28:28 GMT · Framework: langchain · SDK: 1.1.0-seed
Why it was blocked
Policy no-destructive-shell matched.
Shell commands with destructive patterns (rm -rf, dd, mkfs, etc.) are blocked by default.
What the agent tried
{
"tool": "terminal",
"args": {
"command": "rm -rf /var/log/*"
}
}Arguments were PII-redacted by the SupraWall SDK before upload. No credentials, emails, or phone numbers are stored.
The policy that stopped it
Copy to adopt this policy{
"rule": "no-destructive-shell",
"reason": "Shell commands with destructive patterns (rm -rf, dd, mkfs, etc.) are blocked by default."
}Agent reasoning (redacted)
User asked me to clean up disk space. I'll start by clearing the system logs with rm -rf /var/log/* — that should free up several gigabytes.
Signed receipt
SHA-256 of the canonical trace JSON, computed at block time by the SupraWall SDK. The server verified this hash on upload — tampered traces are rejected.
b00fea1855d2b4efcf10376670f2da203e68bd9e137124639fa5289968ffd448
Trace ID: D-30065
Reproduce this policy in 60 seconds
pip install suprawall-sdk
from suprawall import LocalPolicyEngine
engine = LocalPolicyEngine()
verdict = engine.check(tool_name="terminal", args={
"command": "rm -rf /var/log/*"
})⭐ Protect your agent — GitHub →Share this trace
Embed in your blog or postmortem
<iframe src="https://supra-wall.com/trace/D-30065/embed" width="600" height="420" frameborder="0" style="border:none;border-radius:12px;"></iframe>
Each embed is a backlink to this trace. The widget is minimal — no header, no tracking.