polish-sci

Fail

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: HIGHPERSISTENCECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The install_gate_hook.py script modifies the agent's global configuration file (~/.claude/settings.json) to register academic_gate_hook.py as a persistent PreToolUse hook. This ensures the script is executed whenever writing or editing tools are invoked, maintaining its presence across sessions.
  • [DYNAMIC_EXECUTION]: The skill utilizes a 'Gate Registry' (gate_registry.json) to store shell command templates that are dynamically constructed and executed via subprocess.run within the academic_gate_hook.py logic.
  • [EXTERNAL_DOWNLOADS]: The env_preflight.py script provides instructions to download and execute an installation script from the National Center for Biotechnology Information (ftp.ncbi.nlm.nih.gov), a well-known technology service provided by the US government. This download from a well-known service is used for scientific tool installation.
  • [COMMAND_EXECUTION]: Multiple scripts, including proofread_polished.py and env_preflight.py, use subprocess.run to call local Python scripts or perform environment checks.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a data ingestion surface by reading and processing user-provided scientific manuscripts. It includes sanitization routines in context_guard_core.py specifically designed to strip invisible and control characters from processed text to mitigate potential malicious injection attempts.
Recommendations
  • HIGH: Downloads and executes remote code from: https://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 31, 2026, 12:17 PM