literature-matrix-builder

Pass

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted research data (titles and abstracts) which could contain hidden instructions. It implements a robust defense-in-depth approach:
  • Ingestion points: Data is ingested via scripts/litmatrix.py from the CrossRef API and local PDF files, and via scripts/screen_cascade.py from CSV records.
  • Boundary markers: The LLM requests in scripts/screen_cascade.py wrap untrusted content in <record>, <title>, and <abstract> tags.
  • Capability inventory: The skill is limited to writing JSON/Excel files and making API calls to CrossRef and Anthropic; it does not execute arbitrary shell commands based on data.
  • Sanitization: The _strip_invisible function in scripts/screen_cascade.py proactively removes zero-width characters (U+200B-200D), BOM (U+FEFF), and bidirectional controls (U+202A-202E) to prevent steganographic prompt injection. The system prompt also explicitly instructs the model to ignore instructions found within the data.
  • [OBFUSCATION]: A static detection flagged the use of Unicode characters in scripts/screen_cascade.py. Analysis confirms these characters are part of a regex pattern (_INVISIBLE_RE) designed to detect and remove hidden characters from untrusted input before processing, which is a security feature rather than an attack vector.
  • [EXTERNAL_DOWNLOADS]: The skill connects to api.crossref.org for citation metadata and api.anthropic.com for paper screening. These are legitimate, well-known services relevant to the skill's purpose.
  • [CREDENTIALS_UNSAFE]: The skill follows security best practices by using environment variables (ANTHROPIC_API_KEY and CROSSREF_MAILTO) for authentication and contact information rather than hardcoding credentials.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 01:11 AM