paper-to-zotero
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata (titles, abstracts) and PDF content from external academic sources.\n
- Ingestion points: Bibliographic metadata is ingested from
api.crossref.organddoi.orginscripts/doi_to_item.py. PDF text is extracted and reviewed byscripts/check_pdf.py.\n - Boundary markers: The instructions require the agent to run
scripts/check_item.pyandscripts/check_pdf.pyto validate metadata and verify file integrity before committing changes to the Zotero library.\n - Capability inventory: The skill has the capability to perform network requests for metadata, download files via browser automation (using the
opencliskill), and write to the local Zotero database.\n - Sanitization:
scripts/check_item.pyvalidates the item schema against the Zotero API, ensuring that unknown or invalid fields are either dropped or moved to a safe metadata container ('Extra').\n- [EXTERNAL_DOWNLOADS]: The skill retrieves research data from well-known academic services.\n - Evidence: The skill performs HTTP GET requests to
api.crossref.org,doi.org, andpapers.coolto fetch metadata and paper abstracts.\n- [CREDENTIALS_UNSAFE]: The skill manages an API key for the local Zotero instance.\n - Evidence:
scripts/authorize_local_api.pyimplements an authorization flow and stores the resulting key at~/.config/zotero/local-api-key. It correctly applies0o600file permissions to ensure only the user can read the key file.
Audit Metadata