data-analysis
Fail
Audited by Gen Agent Trust Hub on Apr 28, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/analyze.pyscript accepts an unsanitized--output-fileparameter. The script usesos.makedirs(os.path.dirname(output_file), exist_ok=True)and then writes data to the specified path, allowing for arbitrary file creation or overwriting of sensitive system files (e.g.,~/.bashrc) if the agent is directed to do so. - [DATA_EXFILTRATION]: The skill allows the agent to execute arbitrary SQL queries via the
--sqlparameter passed toscripts/analyze.py. DuckDB's engine can be used to read any local file the agent has access to by using SQL functions likeread_csv_auto(),read_json_auto(), orread_blob(), potentially exposing credentials or private data. - [COMMAND_EXECUTION]: The Python script uses
os.system()to execute shell commands for installing missing dependencies (duckdbandopenpyxl). While these are well-known packages, runtime execution of shell commands for environment modification is a security risk. - [EXTERNAL_DOWNLOADS]: The script automatically runs
INSTALL spatial; LOAD spatial;within DuckDB. This command triggers a download of the spatial extension from remote DuckDB servers at runtime. - [PROMPT_INJECTION]: The
SKILL.mdfile contains a 'NOTE' explicitly instructing the agent: 'Do NOT read the Python file, just call it with the parameters.' This is a concealment pattern designed to prevent the agent from auditing the script's behavior or identifying the security flaws mentioned above. - [PROMPT_INJECTION]: The documentation includes an 'Enhanced Capabilities (v2.0)' section claiming support for advanced features like
forecast,anomaly, andcluster. However, the providedscripts/analyze.pycode does not implement any of these actions, representing deceptive metadata regarding the skill's actual functionality.
Recommendations
- AI detected serious security threats
Audit Metadata