qutip

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements rigorous path validation in scripts/_common.py via checked_input_file and checked_output_file, which explicitly reject network URLs and symbolic links to prevent data exfiltration and local file inclusion (LFI) attacks.
  • [SAFE]: JSON processing is hardened in load_json_object by using custom hooks to reject non-standard constants (NaN, Infinity) and duplicate keys, mitigating parser-level confusion and potential injection vectors.
  • [SAFE]: The qobj_model_validator.py script enforces a strict numeric-only data policy for Hamiltonian and state definitions, preventing the use of QuTiP's string-based coefficient evaluation which could otherwise lead to arbitrary code execution if exposed to untrusted input.
  • [SAFE]: Results are written securely in emit_json using atomic replacement (os.replace) and restricted file permissions (0o600), ensuring that simulation data is stored safely without exposing it to other local users or risking partial writes.
  • [SAFE]: The skill includes a dedicated audit tool (scripts/result_audit.py) that analyzes simulation outputs using strict JSON parsing without ever deserializing Python objects or using pickle, effectively neutralizing risks associated with untrusted data deserialization.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 09:46 AM