graphify
Warn
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONPERSISTENCECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from local files and remote URLs for knowledge graph extraction. Subagents are given
general-purposepermissions (bash and write access) to process this data. The subagent instructions lack explicit delimiters or sandboxing for the input file content, which could allow malicious files in a repository to influence agent behavior during semantic extraction. - Ingestion points: File discovery via
detect.pyand semantic extraction inskill.md(Step 3B). - Boundary markers: Absent in the subagent prompt template for
FILE_LISTcontent. - Capability inventory: Subagents have bash and write access (
general-purpose). - Sanitization: Strong URL validation is present in
security.py, but no content sanitization is applied to repository files before they are read by subagents. - [PERSISTENCE]: The skill includes functionality to install git hooks (
post-commitandpost-checkout) viahooks.py. These hooks execute a Python script to rebuild the knowledge graph whenever changes are detected in the repository. While this is an automation feature, it constitutes a persistence mechanism that executes code automatically on user actions. - [COMMAND_EXECUTION]: The instructions in
skill.mdand related platform-specific skill files frequently use bash and PowerShell to execute Python scripts, install packages, and manage files. These operations are core to the tool's installation and update cycles but involve arbitrary command execution. - [EXTERNAL_DOWNLOADS]: The skill fetches the
graphifyypackage from PyPI during installation and can download external content from URLs (including PDFs, images, and video transcripts) usingyt-dlpandsafe_fetch. The skill implements robust URL validation viasecurity.pyto prevent SSRF attacks.
Audit Metadata