n-plus-one-guard

Pass

Audited by Gen Agent Trust Hub on Jun 15, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill instructs the agent to install several third-party performance detection tools and libraries across different ecosystems.
  • Recommends go install github.com/MirrexOne/unqueryvet/cmd/unqueryvet@latest for Go projects.
  • Suggests installing @olegkoval/queryd via NPM for Node.js projects.
  • Mentions beyondcode/laravel-query-detector for PHP/Laravel environments.
  • References various other community-maintained tools like nplusone, prosopite, and hypersistence-utils.
  • [COMMAND_EXECUTION]: The instructions involve executing shell commands to audit the codebase for N+1 patterns.
  • Uses grep, ast-grep, and semgrep to identify suspicious loops and data access patterns in the source code.
  • Instructs the agent to run test suites (e.g., pytest, go test, ./mvnw test) with specialized counters to verify query budgets.
  • [INDIRECT_PROMPT_INJECTION]: The skill has an ingestion surface as it analyzes the user's repository using text-matching tools (grep, ast-grep).
  • Ingestion points: Project source code files (e.g., .py, .js, .go, .rb) are read to identify ORMs and potential N+1 candidates.
  • Boundary markers: No explicit instructions to ignore embedded instructions in the analyzed code are provided.
  • Capability inventory: The agent has capabilities to install packages, run tests, and execute arbitrary shell commands based on its findings.
  • Sanitization: No explicit sanitization of the analyzed code content is performed before the agent processes it.
  • Note: This represents a standard attack surface for code-analysis skills; the risk is considered low given the highly specific technical context of the instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 15, 2026, 05:30 PM