pybamm
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill performs local battery simulations using the established PyBaMM library. All user-supplied inputs (JSON protocols and CSV measurements) undergo strict type and range validation to prevent injection or unexpected behavior.
- [EXTERNAL_DOWNLOADS]: Documentation mentions the use of pybamm.DataLoader to fetch open-source battery datasets from the official pybamm-team GitHub repository. This is standard functionality for the library and targets a well-known service.
- [INDIRECT_PROMPT_INJECTION]: The skill processes external JSON and CSV data files.
- Ingestion points: scripts/simulate_battery.py reads protocol (JSON) and measurement (CSV) files via command-line arguments.
- Capability inventory: Performs local file system writes for results and scientific calculations via the PyBaMM library. No shell execution or network exfiltration is performed by the script.
- Sanitization: The validate_protocol function enforces strict numeric types for all parameters and overrides, preventing the injection of executable code or unexpected objects into the simulation environment.
- Boundary markers: Not applicable as data is processed by a script with a fixed schema rather than being interpolated into an LLM prompt.
Audit Metadata