neurokit2

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill implements rigorous defensive programming practices in scripts/_common.py. All file and directory operations are subject to strict path validation that rejects symlinks, NUL bytes, and path traversal attempts by enforcing lexical resolution within a defined root. The utility library also includes an explicit URL rejection function to prevent data exfiltration or unauthorized network activity via command-line arguments. Furthermore, file writes are performed atomically using temporary files and restricted permissions (0o600), ensuring both integrity and confidentiality.
  • [EXTERNAL_DOWNLOADS]: The skill relies on the standard neurokit2 (v0.2.13) package and other well-known scientific libraries including NumPy, Pandas, SciPy, and scikit-learn. These are established dependencies within the research community and are fetched from recognized package registries.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external CSV and JSON data files, which presents a surface for indirect prompt injection.
  • Ingestion points: Signal data is ingested from local CSV files through the read_numeric_columns function in various analysis scripts like ecg_hrv_pipeline.py and eda_pipeline.py.
  • Boundary markers: Instructions in SKILL.md and references/signal_processing.md guide users to deidentify data and verify signal identities before processing.
  • Capability inventory: The skill is restricted to local file reading and writing (CSV/JSON) and does not utilize dynamic code execution or privileged system access.
  • Sanitization: The skill employs highly effective sanitization by casting all ingested data cells to floats within scripts/_common.py, effectively preventing the agent from interpreting any natural language instructions embedded within data files.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:35 PM