earth2studio-create-prognostic
Audited by Socket on Jul 22, 2026
2 alerts found:
Anomalyx2This module is largely framework/runtime orchestration for coordinate handling and iterative model inference. It contains a significant supply-chain security concern: `load_model_template` deserializes a resolved `model.pt` with `torch.load(..., weights_only=False)`, which can enable code execution if the checkpoint artifact is untrusted or tampered with. Other observed issues are non-malicious but relevant: an abrupt/truncated `to_template` implementation and an unbounded infinite generator loop that could cause resource exhaustion. No direct evidence of exfiltration or backdoor behavior is present in the shown fragment.
The primary supply-chain security risk in this module is unsafe model artifact deserialization: it loads an externally resolved model.pt using torch.load(..., weights_only=False), which can execute attacker-controlled code if the artifact is malicious or tampered with. Aside from that, the shown code focuses on coordinate validation and iterator scaffolding and contains no clear evidence of data exfiltration, credential theft, shell execution, or other overt malware behavior in the fragment provided (though inference/hook logic is not shown).