fluidsim
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill follows secure engineering principles by implementing a comprehensive utility module (
_common.py) that centralizes safety checks. All file and directory interactions are restricted to a user-defined root using validation logic that rejects symbolic links, path traversal (e.g., '..'), and absolute paths. This ensures that the agent's operations are contained within the intended workspace. - [COMMAND_EXECUTION]: While the skill provides a tool (
simulation_dry_run.py) to generate Python launch scripts, it does so securely. The generator uses Python'srepr()andjson.dumps()to ensure configuration values are treated as safe literals, and the resulting script defaults to a dry-run mode. Actual execution requires the user to provide an explicit--executeflag and a specific configuration ID, providing a strong human-in-the-loop security gate. - [DYNAMIC_EXECUTION]: The skill mitigates risks associated with dynamic loading by using a static mapping (
SOLVER_IMPORTS) to resolve solver modules. This prevents an attacker from influencing the module import path through configuration data. - [DATA_EXPOSURE]: The diagnostic tools (
output_inventory.py,budget_summary.py) are designed for safe metadata inspection. They enforce strict limits on file sizes, dataset counts, and recursion depth. Furthermore, the HDF5/netCDF4 inspection logic explicitly rejects external links, preventing the tools from accessing data outside the primary simulation files. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits a safe profile regarding data ingestion. It processes user-supplied JSON configurations and simulation outputs (HDF5/Text). Safety is maintained through strict schema validation in
_schema.py, resource bounding inbudget_summary.py(e.g.,MAX_TEXT_BYTES,max_records), and the absence of network capabilities or high-privilege operations within the provided scripts.
Audit Metadata