paper-select-journal

Pass

Audited by Gen Agent Trust Hub on Oct 27, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill fetches academic paper metadata (titles and abstracts) from the National Center for Biotechnology Information (NCBI) via the official PubMed API Gateway. This is a standard and well-known academic service used for the skill's primary research purpose.
  • Evidence: fetch_pubmed_recent.py makes GET requests to https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi and efetch.fcgi using urllib.request.urlopen.
  • [INDIRECT_PROMPT_INJECTION]: The skill operates by ingesting untrusted data from two sources: user-uploaded manuscripts and external paper data from the PubMed API. This presents a theoretical vulnerability surface where malicious instructions could be embedded in paper titles or abstracts.
  • Ingestion points: scripts/fetch_pubmed_recent.py (retrieving PubMed articles) and user-supplied manuscript text.
  • Boundary markers: Limited. Instructions do not mandate explicit delimiters (like XML tags) when the agent processes the manuscript text, though output is consistently structured via JSON templates.
  • Capability inventory: File system write access (restricted to the hidden .bensz-api workspace), network GET access (PubMed only).
  • Sanitization: The skill employs path normalization and validation (is_within, require_within) to prevent path traversal attacks, ensuring file operations are contained within the designated workspace.
  • [DYNAMIC_EXECUTION]: The script shortlist_journals.py uses the __import__ function for inline access to the standard library datetime module. This is used solely for internal timestamping and does not load code from external or untrusted sources.
  • Evidence: Line 186 in scripts/shortlist_journals.py uses __import__("datetime").datetime.now().
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 27, 2026, 08:12 AM