citation-crosscheck
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided
.texand.bibfiles to extract bibliographic metadata. This data is then interpolated into prompts for sub-agents (Agent B) to perform web searches and for the main agent to performWebFetchoperations. While the skill employs a deterministic verifier script (cx_verify.py) with extensive normalization to reduce the risk of hallucination or malformed data, the ingestion of untrusted external content into a workflow with network and file-write capabilities represents an indirect injection surface. - Ingestion points: LaTeX source files (
*.tex) and BibTeX databases (*.bib) found in the user-specifiedPAPER_DIR. - Boundary markers: The skill defines strict JSON schemas for shard communication (Step 2 and 3) and uses a separate verifier script to gate outcomes, though it does not explicitly use LLM-level boundary delimiters for the processed citation fields.
- Capability inventory:
WebFetch,WebSearch,Bash,Write, andAgenttools are all available to the main agent. - Sanitization: The
scripts/cx_verify.pyscript performs significant sanitization, including LaTeX accent folding, case normalization, and punctuation stripping, to ensure fields are compared as data rather than instructions. - [DYNAMIC_EXECUTION]: In Step 1, the skill uses a Bash heredoc (`python3
- <<'PY' ...`) to generate and execute a Python script at runtime. This script is responsible for the deterministic extraction of citation keys from the paper's source tree. The logic is hardcoded within the skill instructions and does not incorporate untrusted logic, but the technique itself involves dynamic code execution.
- [COMMAND_EXECUTION]: The skill utilizes the
Bashtool to orchestrate its workflow, including running regex-based text processing (grep,sed,comm) on local project files and executing the localcx_verify.pyverification utility. - [DATA_EXFILTRATION]: The skill extracts bibliographic data (titles, authors) from local files and transmits it to external academic indexing services such as arXiv, DBLP, and CrossRef via
WebSearchandWebFetch. This behavior is aligned with the skill's primary stated purpose and targets well-known, reputable academic domains.
Audit Metadata