critique
Warn
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to run shell commands that navigate outside the skill's own directory using path traversal (
../../../) to read configuration files and check for the presence of specific directories. - Evidence:
ls ${CLAUDE_SKILL_DIR}/../../../tokensandcat ${CLAUDE_SKILL_DIR}/../../../.claude/agents/design-critic.md. - [DYNAMIC_EXECUTION]: The skill executes external JavaScript logic via Node.js from a path (
$KIT) derived from the skill's location. This allows execution of code not bundled with the skill itself. - Evidence: Commands such as
node $KIT/scripts/taste_audit.mjsandnode $KIT/scripts/gate.mjs. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data and instructions, creating a surface for potential exploitation through untrusted inputs.
- Ingestion points: The
$ARGUMENTSvariable representing the target file/directory and thedesign-critic.mdinstruction file. - Boundary markers: The skill does not define specific delimiters or instructions to ignore embedded commands within the ingested content.
- Capability inventory: Shell command execution (
ls,cat) and execution of JavaScript scripts via Node.js. - Sanitization: There is no evidence of input validation or escaping for the
$ARGUMENTSvariable before it is interpolated into shell commands in Step 4, posing a risk of command injection.
Audit Metadata