enterprise-agent-builder
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The generated Python agent scaffold is vulnerable to indirect prompt injection because it directly interpolates untrusted event data into the user prompt.
- Ingestion points: The
run_agent(event)function in the Python Core Agent Scaffold (SKILL.md) accepts aneventdictionary as input. - Boundary markers: There are no specific boundary markers (e.g., XML tags or delimiters) or instructions to ignore embedded commands within the
eventdata; it is simply passed viajson.dumps(event, indent=2). - Capability inventory: The generated agent has access to the
take_actiontool, which can executecreate,update,assign,notify, andescalateactions in target enterprise systems like Salesforce or ServiceNow. - Sanitization: The skill does not provide mechanisms for sanitizing or filtering the
eventpayload before it is processed by the LLM. - [DYNAMIC_EXECUTION]: The skill generates code templates that use unsafe patterns for database interactions, which could lead to injection vulnerabilities in the deployed agents.
- SQL/SOQL Construction: The generated Salesforce (Apex) template uses string concatenation to build a SOQL query (
'SELECT Id, Name FROM ' + objectType + ...), which is unsafe if the object type is derived from untrusted input. - Snowflake SQL Construction: The generated Snowflake (Python) template uses f-strings to construct SQL queries (
f"UPDATE {table} SET ai_recommendation = '{result}' WHERE id = '{row['ID']}'"). Since{result}is the output from an LLM (Complete("claude-opus-4-6", prompt)), an attacker could potentially influence the LLM output to perform SQL injection.
Audit Metadata