bids

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The script scripts/update_schema.py facilitates the retrieval of official BIDS schema definitions and extension proposals (BEPs) from external community repositories.
  • Evidence: The script references SCHEMA_URL (bids-specification.readthedocs.io) and BEPS_URL (raw.githubusercontent.com) to update local reference files.
  • [INDIRECT_PROMPT_INJECTION]: The skill operates by ingesting and parsing external directory structures and JSON metadata sidecars from neuroimaging datasets, creating a surface for indirect prompt injection if those datasets contain malicious instructions.
  • Ingestion points: BIDSLayout initialization for indexing datasets (references/core_workflows.md) and dataset-wide validation routines described in SKILL.md.
  • Boundary markers: No explicit prompt boundaries or 'ignore instructions' warnings are provided in the code templates for handling imported dataset metadata.
  • Capability inventory: The skill utilizes filesystem access and tool execution to find, validate, and convert imaging data.
  • Sanitization: The implementation relies on industry-standard libraries like pybids and bids-validator which lack specific sanitization for LLM instructions embedded in data.
  • [COMMAND_EXECUTION]: Instructions provide several shell commands for installing neuroimaging dependencies and executing conversion/validation pipelines.
  • Evidence: Detailed command-line workflows for heudiconv, dcm2bids, and bids-validator in SKILL.md and references/conversion_tools.md.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 04:44 AM