citation-management
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata (such as journal titles and author names) retrieved from external scientific databases, which serves as a potential surface for indirect injection.
- Ingestion points: Data is ingested through
scripts/extract_metadata.py,scripts/search_pubmed.py, andscripts/search_openalex.py. - Boundary markers: The
SKILL.mddocumentation (Phase 2.5) provides specific security instructions, advising the agent to usesubprocessargument lists and strict quoting to prevent metadata from being interpreted as shell syntax. - Capability inventory: The skill employs
Bash,Read,Write, andWebFetchtools. - Sanitization: A shared library,
scripts/_common.py, providessanitize_keyandprotect_titlefunctions to normalize and safely handle external strings. - [DYNAMIC_EXECUTION]: Several scripts utilize
__import__to locate and load the shared_common.pymodule relative to the script's execution path. This is a common and benign development pattern for resolving local dependencies in standalone Python scripts. - [EXTERNAL_DOWNLOADS]: The skill fetches citation data and configuration from established and trusted academic infrastructure providers, including the NCBI PubMed API, OpenAlex's polite pool, and CrossRef's content negotiation service.
Audit Metadata