workflow-builder
Fail
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: HIGHDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The workflow executor's variable resolution logic explicitly allows accessing the system's environment variables.
- Evidence: In
workflows/executor.py, theVariableResolverclass populatesself.env_varswithdict(os.environ)and provides a path{{env.VAR_NAME}}to retrieve these values. - Impact: An attacker or a malicious workflow definition could use this to harvest sensitive credentials (e.g.,
AWS_SECRET_ACCESS_KEY,DATABASE_URL,API_TOKENS) by interpolating them into agent tasks or workflow outputs. - [INDIRECT_PROMPT_INJECTION]: The skill processes external input and interpolates it directly into instructions passed to AI agents without boundary markers or sanitization.
- Ingestion points: The
execute_workflowtool inmcp/servers/workflow-server/server.pyaccepts a JSON string ofinputsvia the user. - Boundary markers: None are present; inputs are directly substituted into the instruction string.
- Capability inventory: The skill can trigger agent actions, read files via
load_workflow, and access environment variables. - Sanitization: No escaping or validation is performed on the resolved strings before they are passed to the
agent_executor.
Recommendations
- AI detected serious security threats
Audit Metadata