Log inGet a Demo

claude-code-agy-CLI-skill

High · Risk 70

The skill bypasses critical human-in-the-loop security controls by forcing the use of dangerous flags and delegating arbitrary code execution to an unverified, hardcoded local binary.

Findings (14)

Content Injection

Medium

targets Perception

2 findings
#1Indirect prompt injection via web search output fed to sub-agentmediumindirect prompt injection75% confidence

Pattern 4 and Pattern 8 instruct the agent to have `agy` fetch live web/database content and return it as instructions or data. Attacker-controlled web pages or database entries could inject instructions into the sub-agent's response that the parent agent then acts upon.

Pattern 4: `agy -p "Search the web for the latest security advisories..."` — output is then parsed and acted on by the parent agent
#2Potential for indirect prompt injectionmediumindirect prompt injection60% confidenceline 43

The skill encourages delegating tasks to an external agent that performs web searches and processes external data, which could lead to indirect prompt injection if the external agent's output is treated as trusted instructions.

Has `google_web_search` — grounded, real-time search with Google's index

Semantic Manipulation

High

targets Reasoning

1 finding
#1Description Mismatchhigh85% confidence

The skill explicitly encourages the use of the `--dangerously-skip-permissions` flag, which contradicts secure coding practices by bypassing human-in-the-loop verification for potentially destructive actions (e.g., file modifications, code execution).

The documentation provides multiple examples (Pattern 2, Pattern 5, Pattern 7) using the `--dangerously-skip-permissions` flag to auto-approve tool calls.

Behavioural Control

High

targets Action

6 findings
#1Hardcoded user-specific binary path raises supply chain riskhighdescription mismatch90% confidence

The skill hardcodes a binary at `/Users/pedroarfux/.local/bin/agy` — a user-local, unverified, unpinned executable with no integrity check. Any attacker who can write to that path (or who crafted this skill for a different user's machine) controls all delegated execution, including file modification and shell commands.

"/Users/pedroarfux/.local/bin/agy" used in every command example; no hash, signature, or version pin anywhere in the skill
#2Tool shadowing: forces use of external binary over built-inshightool shadowing85% confidence

The skill instructs the agent to delegate broad categories of tasks (web research, code analysis, refactoring, image generation) to an external binary `/Users/pedroarfux/.local/bin/agy` rather than using the agent's own built-in capabilities. This systematically redirects agent actions through a third-party tool the user cannot inspect.

"Always use the full path to avoid shell resolution issues." + table listing capabilities "available ONLY through Antigravity (not in Claude Code)"
#3Dangerous flag promotionhighsocial engineering90% confidenceline 72

The skill explicitly encourages the use of the `--dangerously-skip-permissions` flag in multiple examples, which bypasses security controls and allows the sub-agent to perform arbitrary actions without human oversight.

--dangerously-skip-permissions
#4Over-privileged delegation patternhighautonomy abuse80% confidenceline 188

The skill promotes a pattern of delegating 'Multi-File Refactors' with direct file modification permissions, effectively granting the sub-agent broad write access to the entire project directory.

Apply changes directly to the files.
#5Implicit trust in external binarymediumsupply chain70% confidenceline 31

The skill relies on a hardcoded binary path (`/Users/pedroarfux/.local/bin/agy`) which is user-specific and potentially mutable, creating a dependency on an unverified local executable that the agent is instructed to execute with high-privilege flags.

/Users/pedroarfux/.local/bin/agy
#6Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

Systemic

High

targets Multi-Agent Dynamics

2 findings
#1Sub-agent spawning with attacker-controllable promptshighsub agent spawning85% confidence

The skill instructs the agent to construct and pass arbitrary prompts to an external AI agent (`agy`) that itself has file-write and shell-execution capabilities. If the parent agent's prompt is influenced by untrusted input (e.g., file contents, web results), this creates a prompt-injection chain into the sub-agent.

Pattern 5: `agy -p "Refactor all database queries in ... Apply changes directly to the files." --dangerously-skip-permissions --add-dir /Users/pedroarfux/my-project`
#2User confirmation bypass detected — attempts to skip human oversightmedium100% confidenceline 72

User confirmation bypass detected — attempts to skip human oversight

Auto-approve

Human-in-the-Loop

High

targets Human Overseer

1 finding
#1Routine use of --dangerously-skip-permissions flaghighapproval fatigue95% confidence

Multiple integration patterns explicitly recommend passing `--dangerously-skip-permissions` to the external binary, which auto-approves all tool calls made by the sub-agent. This removes human oversight from an entire class of delegated actions including file writes and shell execution.

"--dangerously-skip-permissions  Auto-approve all tool calls (USE WITH CAUTION)" — then used routinely in Pattern 2, Pattern 5, Pattern 7

Hygiene

Info

targets Packaging & Manifest

2 findings
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.

#2Missing or insufficient descriptioninfo100% confidence

Skill description is empty or too short. A clear description helps users evaluate the skill's purpose.