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_columnsfunction in various analysis scripts likeecg_hrv_pipeline.pyandeda_pipeline.py. - Boundary markers: Instructions in
SKILL.mdandreferences/signal_processing.mdguide 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