careful
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill registers a PreToolUse hook for the Bash tool to execute a local Node.js script (scripts/careful-guard.mjs). This script acts as a validator for shell commands before they are executed by the agent.\n- [INDIRECT_PROMPT_INJECTION]: The skill analyzes shell commands for safety violations.\n
- Ingestion points: Command strings passed to the Bash tool (SKILL.md).\n
- Boundary markers: The skill provides an explicit block message on stderr and exits with status 2 to signal failure to the agent.\n
- Capability inventory: The validation script (scripts/careful-guard.mjs) uses node:fs for path resolution but does not perform network requests, file writes, or command execution.\n
- Sanitization: The script tokenizes shell commands and identifies shell expansion characters to ensure that only literal, absolute paths in temporary directories are permitted for recursive deletion.
Audit Metadata