infracost-price-lookup

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the infracost CLI to perform price lookups. It specifically utilizes shell heredocs to pass synthesized Terraform snippets to the command-line interface. While this involves shell metacharacters, it is a documented and standard method for the vendor's tool to process input without writing temporary files to the workspace.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes structured JSON output (currency, summary, resource lists) returned by the Infracost tools. This represents a standard ingestion surface where data from an external service (Infracost's pricing API) is incorporated into the agent's context. The skill provides clear instructions on which fields to extract and how to present them, reducing the risk of the agent misinterpreting tool output as new instructions.
  • Ingestion points: Output from the price and inspect capabilities (JSON format) in SKILL.md.
  • Boundary markers: None explicitly defined for the tool output parsing.
  • Capability inventory: Uses infracost price and infracost inspect via CLI or MCP.
  • Sanitization: The skill relies on structured field mapping (e.g., total_monthly_cost, cost_components) rather than free-text processing of the entire tool response.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 05:25 AM