prompt-optimizer

Pass

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to check for the existence of and read standard project configuration files (e.g., package.json, go.mod, Cargo.toml, requirements.txt) and documentation files (e.g., CLAUDE.md). These file access operations are performed to detect the technology stack and project conventions, ensuring that the generated prompt optimizations are tailored to the user's environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill defines a surface for ingesting data from local project files which could potentially contain untrusted instructions if the codebase is shared.
  • Ingestion points: Content is read from CLAUDE.md and various standard project manifest files such as package.json or pyproject.toml.
  • Boundary markers: The instructions do not specify the use of delimiters when reading these files.
  • Capability inventory: The skill is strictly restricted to text-based advisory output; the instructions explicitly command the agent not to write code, create files, run commands, or take implementation actions.
  • Sanitization: None specified, though the skill's restricted output format (critique and optimized prompt text) naturally limits the impact of potential injection.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 29, 2026, 12:56 AM