qutip
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill implements significant defensive coding practices in
scripts/_common.py, including atomic file writes with restricted permissions (0o600), explicit rejection of symlinks, and a strict JSON parser that prevents the use of non-standard constants like NaN or Infinity. - [DATA_EXFILTRATION]: The CLI tools explicitly validate that all input and output paths are local files. Functions like
checked_input_fileandchecked_output_filedetect and reject any string containing://, effectively preventing network exfiltration or remote data ingestion. - [INDIRECT_PROMPT_INJECTION]: The skill processes external JSON data for model validation and result auditing, which constitutes a potential injection surface.
- Ingestion points: JSON files are loaded in
scripts/qobj_model_validator.pyandscripts/result_audit.py. - Boundary markers: The skill uses strict schema enforcement, checking for specific keys and rejecting unknown ones.
- Capability inventory: The skill is limited to local file system writes and QuTiP simulation calls; it has no network or shell execution capabilities.
- Sanitization: All input data is passed through rigorous type and range checks (e.g.,
finite_float,bounded_int) before being used by the QuTiP library. - [DYNAMIC_EXECUTION]: While the QuTiP library supports string-based Hamiltonian expressions (which can be risky), the skill's documentation and implementation in
scripts/two_level_simulation.pyandreferences/time_evolution.mdexplicitly mandate the use of numeric arrays or trusted Python callables, mitigating dynamic execution risks.
Audit Metadata