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.mdfile contains shell commands using the!prefix that execute when the skill is loaded to provide the AI agent with local project context. These commands (catandfind) are used to read the.infrahub.ymlconfiguration 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
dataparameter of thegenerate(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, andclient.add_relationshipswhich have the ability to modify the state of the infrastructure objects managed by Infrahub. - Sanitization: While a
clean_datahelper is provided for structural normalization of GraphQL responses, there is no explicit instruction for content sanitization or validation against prompt-based attacks.
Audit Metadata