skill-scanner-hardened
Fail
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The Streamlit Web UI implementation in
streamlit_ui.pyis vulnerable to a 'ZipSlip' attack. The script useszipfile.extractall()to unpack uploaded ZIP archives without validating whether the file paths within the archive contain directory traversal sequences (e.g.,../../). A maliciously crafted archive could overwrite sensitive system files or configuration files (like.bashrcor SSH keys) on the host machine with the permissions of the user running the tool. - Evidence:
zip_ref.extractall(temp_path)instreamlit_ui.pyline 140. - [DATA_EXFILTRATION]: The skill presents an indirect prompt injection surface (Category 8) because it ingests untrusted data from scanned skills and includes it in reports seen by the agent.
- Ingestion points:
skill_scanner.pyreads file content from the directory provided toSkillScanner.scan().streamlit_ui.pyaccepts file uploads and raw text for analysis. - Boundary markers: None. The scan report includes code snippets from the audited files without any delimiters or instructions to the agent to disregard embedded commands.
- Capability inventory: The tool has extensive file-read capabilities across the user's filesystem.
- Sanitization: Line content is truncated to 200 characters in
skill_scanner.pybut is not escaped or sanitized to prevent the agent from interpreting instructions contained within the audited code.
Recommendations
- AI detected serious security threats
Audit Metadata