neuropixels-analysis
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documentation and implementation (specifically in
SKILL.md,references/AUTOMATED_CURATION.md, andreferences/standard_workflow.md) utilize thespikeinterface.curation.model_based_label_unitsandsc.load_modelfunctions with thetrust_model=Trueparameter. This parameter is used to deserialize.skopsor.pklmodel files downloaded from Hugging Face, which bypasses certain security restrictions and allows for the execution of code contained within the model artifacts. - [EXTERNAL_DOWNLOADS]: The skill instructions and scripts download external resources from well-known services and organizations:
- Fetches pretrained machine-learning models from the
SpikeInterfaceorganization on Hugging Face. - Instructs users to clone external tool repositories such as
Julie-Fabre/bombcellandEnnyvanBeest/UnitMatchfrom GitHub. - Pulls Docker images (e.g.,
spikeinterface/kilosort3-compiled-base:latest) to run external spike sorters in isolated environments. - [INDIRECT_PROMPT_INJECTION]: The AI-assisted curation workflow documented in
references/AI_CURATION.mdcreates an indirect prompt injection surface. - Ingestion points: Raw neural recording data files (
.bin,.nwb) loaded via readers likesi.read_spikeglxorsi.read_openephys(referenced inSKILL.mdandscripts/neuropixels_pipeline.py). - Boundary markers: Absent; the prompts used to send unit summary images to vision-language models do not include delimiters or instructions to ignore embedded content.
- Capability inventory: The results from the vision-language model are used to classify and label neural units as 'good', 'mua', or 'noise'.
- Sanitization: Absent; waveform data and signal statistics are plotted directly to images which are then base64-encoded and sent to the LLM.
- [COMMAND_EXECUTION]: The skill uses the
spikeinterface.run_sorterfunction to execute various spike sorting algorithms (e.g., Kilosort4, Mountainsort5) via subprocess calls or Docker containers. This is standard functionality for the intended scientific purpose but involves executing external binaries based on local configuration paths.
Audit Metadata