hatch-pet
Warn
Audited by Socket on Sep 21, 2026
1 alert found:
AnomalyAnomalyscripts/record_imagegen_result.py
LOWAnomalyLOW
scripts/record_imagegen_result.py
No strong evidence of intentional malware (no network calls, obfuscation, eval/exec, subprocesses, or credential exfiltration). However, there is a meaningful supply-chain/integration security risk: output_path from the job manifest is written to disk without constraining it to run_dir, enabling path traversal/write-outside-run-dir if an attacker can influence imagegen-jobs.json (or job content). validate_required_grounding similarly does not constrain input image paths to run_dir. If manifests are fully trusted within a secure pipeline, risk is reduced; if not, this should be reviewed/fixed by validating that resolved paths stay within run_dir before mkdir/copy.
Confidence: 72%Severity: 55%
Audit Metadata