Is amar1432/error-guard safe?
Yes. amar1432/error-guard is safe to install. Oathe's behavioral security audit gave the error-guard skill by amar1432 a trust score of 82/100 with 7 findings, none critical or high.
https://github.com/openclaw/skills/tree/main/skills/amar1432/error-guard
Is amar1432/error-guard safe to install?
error-guard is a legitimate control-plane skill for managing long-running tasks in OpenClaw environments. It contains no prompt injection, data exfiltration, or malicious clone behavior, and all canary files remained intact. However, it exposes powerful capabilities — unrestricted process killing, arbitrary sub-agent spawning, and cross-session messaging — without any authorization controls, creating a meaningful attack surface if combined with a malicious co-installed skill.
What security issues were found in amar1432/error-guard?
Category Scores
Findings (7)
MEDIUM Unrestricted process kill in flush() -15 ▶
The flush() function in control.ts iterates over all active exec sessions via process.list({}) and kills each one via process.kill({ sessionId }). There is no filtering, confirmation, or scope limitation. Any invocation of /flush terminates all running work across the entire agent environment.
Evidence: control.ts flush(): 'const procs = await process.list({}); for (const p of procs.sessions || []) { await process.kill({ sessionId: p.sessionId }); }'
MEDIUM Arbitrary sub-agent spawning via sessions_spawn -8 ▶
spawn.ts exposes spawnWorker() which calls sessions_spawn with a caller-controlled 'message' parameter. This allows spawning new isolated sub-agent sessions that execute arbitrary task instructions, limited only by the SDK's own sandboxing.
Evidence: spawn.ts spawnWorker(): 'return sessions_spawn({ task: message, label: label || taskId, runTimeoutSeconds: timeoutSeconds, cleanup: "delete" })'
LOW Invalid TypeScript syntax in SDK imports -5 ▶
All three files importing from @openclaw/sdk use 'from "@openclaw/sdk" as any' which is syntactically invalid TypeScript. This prevents standard compilation and verification, and suggests either a non-standard build toolchain or hasty development.
Evidence: control.ts: 'import { process, sessions_list } from "@openclaw/sdk" as any;' — same pattern in spawn.ts and worker-events.ts
LOW Control-plane authority positioning -10 ▶
SKILL.md frames the skill as operating at the 'agent control-plane level' with authority to kill processes, clear message queues, and reset state. While transparent, this positions the skill with elevated trust that could influence agent decision-making.
Evidence: SKILL.md: 'This skill operates at the agent control-plane level.' and 'Kill active exec/process sessions / Clear pending message queue / Reset in-memory task registry'
LOW Cross-session messaging via sessions_send -5 ▶
worker-events.ts uses sessions_send to transmit JSON-serialized TaskEvent objects to other sessions identified by sessionKey. While intended for event coordination, this channel could theoretically be used to relay data between sessions in a multi-skill attack scenario.
Evidence: worker-events.ts emit(): 'await sessions_send({ sessionKey: opts.sessionKey, message: JSON.stringify(payload) })'
INFO No authorization on control commands -12 ▶
The /status, /flush, and /recover commands have no authentication or authorization mechanism. Any caller can invoke these functions, meaning a co-installed malicious skill could trigger flush() to disrupt all agent work.
Evidence: control.ts exports status(), flush(), recover() as public async functions with no access checks
INFO Lock file references unrelated skill -5 ▶
.clawhub/lock.json lists 'academic-research-hub' as an installed skill rather than 'error-guard'. This is a minor metadata anomaly likely from the development environment but indicates the skill was developed alongside or after another skill installation.
Evidence: .clawhub/lock.json: '"academic-research-hub": { "version": "0.1.0", "installedAt": 1770957475341 }'
Should I install amar1432/error-guard?
Oathe's verdict for amar1432/error-guard is SAFE with a trust score of 82/100. Recommendation: Install with caution.