stable-baselines3
Warn
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION] (MEDIUM): The script
scripts/evaluate_agent.pycontains calls toPPO.load(model_path)at lines 49 and 115. Stable Baselines3 uses thepicklemodule to load models, which is inherently unsafe when handling data from untrusted sources. An attacker could provide a malicious model file that executes arbitrary code upon being loaded by these evaluation scripts. While this is a standard workflow for RL researchers, it represents a significant security risk if models are obtained from external or unverified repositories.
Audit Metadata