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.pyviachecked_input_fileandchecked_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_objectby 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.pyscript 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_jsonusing 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 usingpickle, effectively neutralizing risks associated with untrusted data deserialization.
Audit Metadata