nsfc-proposal

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill provides instructions in SKILL.md and scripts/env_preflight.py to download and install the NCBI Entrez Direct tool suite via a shell script from ftp.ncbi.nlm.nih.gov. As NCBI (National Center for Biotechnology Information) is a globally recognized and trusted academic institution, this download is considered safe and appropriate for the skill's purpose of verifying academic literature.
  • [COMMAND_EXECUTION]: Several Python scripts, including env_preflight.py, git_checkpoint.py, and academic_gate_hook.py, utilize subprocess.run() to perform necessary environment checks, manage Git-based project checkpoints, and execute internal gate-keeping logic. These executions are scoped to the skill's primary functionality of proposal management and workflow enforcement.
  • [DYNAMIC_EXECUTION]: The script scripts/prewrite_gate.py uses __import__ to load the standard library re module and compile() for regular expression processing. These uses are limited to routine string parsing and do not incorporate untrusted input into execution paths.
  • [OBFUSCATION]: Automated scanners flagged a sanitization regex in scripts/context_guard_core.py due to the presence of Unicode control characters. Review of the code confirms that these characters are part of a _INVISIBLE_RE regex used specifically to remove hidden or control characters from user-supplied text to prevent prompt injection or formatting issues, representing a defensive security measure rather than a threat.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 12:35 AM