simpy

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill instructions specify the installation of the well-known simpy==4.1.2 package from PyPI. This is a legitimate dependency for the simulation functionality described.
  • [DYNAMIC_EXECUTION]: The resource_monitor.py script implements monitoring by monkey-patching SimPy resource objects (e.g., replacing the request and release methods at runtime). While this involves dynamic modification of object behavior, it is implemented safely using standard Python wrappers for the purpose of instrumentation.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided configuration files to define simulation parameters. 1. Ingestion points: Configuration is loaded from local JSON files via load_json_object in scripts/_common.py. 2. Boundary markers: The skill enforces a strict schema for all configuration fields and uses a custom JSON loader that rejects duplicate keys and non-standard constants. 3. Capability inventory: All scripts use these inputs for numeric simulation parameters; there are no calls to exec(), eval(), or methods that interpolate this data into executable commands or LLM prompts. 4. Sanitization: Inputs are strictly validated against numeric bounds, and the file loader rejects network URLs and symbolic links to ensure data originates from local, regular files.
  • [COMMAND_EXECUTION]: The skill includes several CLI scripts for running simulations and analyzing results. These scripts are developed with defensive programming practices, including atomic file operations, restricted file permissions (0600), and hard caps on events, entities, and execution time to prevent resource abuse.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 04:43 AM