component-inventory
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python script
inventory.pyexecutes external binaries to interact with cloud provider APIs and local secret management tools. Evidence: The script usessubprocess.run()with list-based arguments to call theawsCLI for infrastructure metadata and Cost Explorer queries, theop(1Password) CLI to securely retrieve API tokens into memory, andcurlfor other API interactions. This method is a secure way to invoke system tools as it prevents shell injection by not invoking a shell for command parsing.\n- [EXTERNAL_DOWNLOADS]: The skill performs network operations to retrieve resource metadata and billing information from third-party services. Evidence: The script usescurlto queryapi.cloudflare.comfor account subscriptions and worker information, andapi.twilio.comfor usage records. These are well-known, trusted service providers, and all requests are authenticated using credentials retrieved from the user's secure vault.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from a local CSV file (components.csv) and uses its values to drive automated API lookups. 1. Ingestion points: Readscomponents.csvvia theread_ledgerfunction inscripts/inventory.py. 2. Boundary markers: None; the CSV is treated as a trusted local record of infrastructure. 3. Capability inventory: Subprocess calls toaws,curl, andop. 4. Sanitization: The script utilizes list-based subprocess calls rather than string-based shell execution, which prevents fields in the CSV (such asresource_id) from being interpreted as shell commands.
Audit Metadata