zotero-local
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFE
Full Analysis
- [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface as it reads metadata and full-text content from the Zotero library, which could contain instructions from external sources.
- Ingestion points:
scripts/zotero_api.pyreads data from the Zotero local API atlocalhost:23119. - Boundary markers: No explicit delimiters are used for the retrieved data.
- Capability inventory: File writing (
download_attachment), file reading (import_pdf), and internal application scripting (_debug_bridge) are available inscripts/zotero_api.py. - Sanitization: Key validation via regex and string escaping for file paths are implemented to protect script templates.
- [COMMAND_EXECUTION]: The skill uses the Better BibTeX extension's debug-bridge to execute JavaScript within the Zotero application.
- Evidence: The
attach_file,create_collection, anddelete_collectionmethods inscripts/zotero_api.pyconstruct JavaScript strings and send them to the local Zotero server. - Protection: Malicious injection into these scripts is prevented by validating Zotero keys against a strict 8-character alphanumeric regex and properly escaping file paths.
Audit Metadata