neurokit2

Pass

Audited by Gen Agent Trust Hub on Sep 2, 2026

Risk Level: SAFE
Full Analysis
  • [DATA_EXFILTRATION]: No exfiltration vectors detected. The skill includes a dedicated utility (scripts/_common.py) with a _reject_url function that explicitly prevents the use of remote URLs in file-path arguments, ensuring all operations remain local and bounded within the declared root directory.
  • [COMMAND_EXECUTION]: Shell command usage is limited to the provided Python scripts. These scripts use an adversarial-aware validation layer that enforces strict limits on row counts (500,000), channel counts (64), and cell sizes (4096 characters) to prevent resource exhaustion and denial-of-service attacks.
  • [REMOTE_CODE_EXECUTION]: No remote code execution patterns found. Dependencies are pinned to a specific version (neurokit2==0.2.13) of a well-known scientific library. The scripts explicitly avoid dangerous functions like eval(), exec(), and pickle, and use restricted JSON loading to prevent constant injection.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external CSV and JSON data but implements high-integrity sanitization. The read_numeric_columns function in scripts/_common.py ensures that only numeric data is processed from user-provided files, effectively preventing the injection of natural language instructions into the signal processing pipeline. The ingestion points are located in scripts/inspect_signal.py and scripts/ecg_hrv_pipeline.py, with capabilities limited to standard numeric analysis.
  • [PRIVILEGE_ESCALATION]: The skill demonstrates defensive coding practices. In scripts/_common.py, the atomic_write_bytes function uses os.chmod to set restrictive 0o600 permissions on temporary files, ensuring that data is protected from other users on the system during the write process.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:28 PM