ops-cost-optimization

Pass

Audited by Gen Agent Trust Hub on Oct 17, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The agents/cost-auditor.md agent is designed to process external billing data, including screenshots, API responses, and user summaries. This creates a potential surface for indirect prompt injection if malicious instructions are embedded in the processed data.
  • Ingestion points: Data ingestion occurs in agents/cost-auditor.md under the 'Input' and 'Workflow' sections.
  • Boundary markers: The skill does not explicitly define markers to segregate external data from agent instructions.
  • Capability inventory: The agent's tools are restricted to 'Read' and 'Image analysis'. The lack of file-write, network-outbound, or persistence capabilities significantly mitigates the risk of this attack surface.
  • Sanitization: The workflow involves ranking and classification (Step 3), which involves structural processing that reduces the impact of free-text injection.
  • [COMMAND_EXECUTION]: The regression testing script scripts/test_cost_estimator.py utilizes the subprocess module to verify the functionality of the local cost_estimator.py script.
  • Evidence: Multiple instances of subprocess.run([sys.executable, str(SCRIPT), ...]) are found in scripts/test_cost_estimator.py to simulate CLI interactions.
  • Analysis: This usage is entirely benign. The execution is confined to the skill's own utility scripts using the current Python interpreter and is used exclusively for automated testing and validation of cost estimation logic.
  • [EXTERNAL_DOWNLOADS]: The data/sources.json file and various reference guides (ai-api-cost-guide.md, vendor-billing-guide.md) contain numerous links to official pricing and documentation pages for service providers.
  • Analysis: All identified URLs target well-known and trusted technology organizations, such as Anthropic, OpenAI, AWS, Google, Cloudflare, and Vercel. These references are provided to ensure users can access up-to-date pricing data directly from authoritative sources.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 17, 2026, 08:31 AM