agency-ai-data-remediation-engineer
Warn
Audited by Gen Agent Trust Hub on Jul 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The logic defined in SKILL.md for the
apply_fix_to_clusterfunction executes Python lambda functions generated by a local AI model using theeval()function. The implementation relies on a string-based blacklist (checking for keywords like 'import', 'exec', and 'os.') which is insufficient to prevent the execution of malicious code that uses alternative Python syntax or string manipulation to achieve the same effects.- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it ingests and processes untrusted anomalous data (suspect_rows). This data is passed as samples to a local SLM to generate transformation logic. The absence of robust boundary markers or sanitization when feeding these samples to the model could allow an attacker to craft data that manipulates the model into generating malicious code. The evidence chain consists of ingestion incluster_anomalies, lack of delimiters ingenerate_fix_logic, and the execution capability viaeval()inapply_fix_to_cluster.
Audit Metadata