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, and references/standard_workflow.md) utilize the spikeinterface.curation.model_based_label_units and sc.load_model functions with the trust_model=True parameter. This parameter is used to deserialize .skops or .pkl model 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 SpikeInterface organization on Hugging Face.
  • Instructs users to clone external tool repositories such as Julie-Fabre/bombcell and EnnyvanBeest/UnitMatch from 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.md creates an indirect prompt injection surface.
  • Ingestion points: Raw neural recording data files (.bin, .nwb) loaded via readers like si.read_spikeglx or si.read_openephys (referenced in SKILL.md and scripts/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_sorter function 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
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 09:46 AM