infrahub-managing-generators

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFEDYNAMIC_CONTEXT_INJECTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_CONTEXT_INJECTION]: The main SKILL.md file contains shell commands using the ! prefix that execute when the skill is loaded to provide the AI agent with local project context. These commands (cat and find) are used to read the .infrahub.yml configuration and list existing generator scripts in the repository to ground the agent's understanding of the current workspace.
  • [INDIRECT_PROMPT_INJECTION]: The skill guides the creation of automation components that ingest data from external sources (GraphQL API), which could potentially contain malicious instructions if the source data is compromised.
  • Ingestion points: Untrusted data enters the agent's context through the data parameter of the generate(self, data: dict) method in Python generator classes.
  • Boundary markers: The provided rules do not specify the use of delimiters or instructions to ignore embedded commands within the processed data.
  • Capability inventory: The skill utilizes SDK methods like client.create, client.save, and client.add_relationships which have the ability to modify the state of the infrastructure objects managed by Infrahub.
  • Sanitization: While a clean_data helper is provided for structural normalization of GraphQL responses, there is no explicit instruction for content sanitization or validation against prompt-based attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 11:31 PM