managing-monorepo
Pass
Audited by Gen Agent Trust Hub on Oct 19, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a protocol for discovering and loading additional 'project skills' from various hidden folders in the workspace (such as
.agents/skills/,.cursor/skills/, etc.) and user-level directories. It instructs the agent to search for, open, and follow the instructions in anySKILL.mdfiles found. This creates an attack surface where hidden files in a repository could be used to inject malicious instructions into the agent's context. - Ingestion points:
references/monorepo-contract.md(Section: Discovering project skills). - Boundary markers: No explicit markers or instructions are provided to separate or ignore instructions within the discovered skill files.
- Capability inventory: The skill utilizes
npx,pnpm, andturbofor shell command execution. - Sanitization: No validation or sanitization is performed on the content of the discovered skills.
- [COMMAND_EXECUTION]: The skill instructs the agent to perform management tasks using shell commands such as
pnpm,turbo, andnpx. These tools provide the necessary capabilities for potential exploitation if the agent is influenced by instructions from the indirect prompt injection surface. - [EXTERNAL_DOWNLOADS]: The setup process involves downloading and installing additional skills from an external repository (
antfu/skills) using thenpx skills addcommand. This represents a dependency on external code to extend the agent's functionality.
Audit Metadata