neuropixels-analysis
Warn
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses the
skopslibrary to load pretrained machine learning models for unit curation (UnitRefine). This process involves deserializing objects that can execute code within the execution environment. The documentation explicitly acknowledges this risk, requiring thetrust_model=Trueparameter and warning users to only load models from trusted sources. This behavior is documented inreferences/AUTOMATED_CURATION.mdandreferences/standard_workflow.md. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes external electrophysiology data formats (SpikeGLX, Open Ephys, NWB) and generates visualizations for AI-assisted review. This creates a potential surface for indirect prompt injection where maliciously crafted metadata or data values could attempt to manipulate the agent's analysis.
- Ingestion points: Recording files are loaded via
si.read_spikeglx,si.read_openephys, andsi.read_nwbinscripts/neuropixels_pipeline.py. - Boundary markers: There are no explicit delimiters or instructions provided to the agent to ignore potential instructions embedded within the data or metadata during the visual curation process described in
references/AI_CURATION.md. - Capability inventory: The skill includes file system write operations (
rec.save), subprocess execution for sorters (si.run_sorter), and network communication through AI service APIs and Hugging Face. - Sanitization: The skill lacks sanitization of metadata strings from external files before they are included in prompts or presented to the agent.
- [EXTERNAL_DOWNLOADS]: The skill fetches models and configuration data from the official
SpikeInterfaceorganization on Hugging Face. Additionally, it references cloning thebombcellrepository from GitHub for automated quality control. These downloads target established scientific resources and well-known services.
Audit Metadata