simpy

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes several Python-based CLI utilities for simulation management.
  • scripts/bounded_queue_scenario.py: Executes a predefined simulation scenario with strict parameter validation.
  • scripts/replication_runner.py: Runs multiple independent simulation replications to generate statistical intervals.
  • scripts/validate_simulation_config.py: Performs dry-run validation of JSON configuration files against a strict allowlist of keys.
  • scripts/event_trace_summary.py: Analyzes and summarizes simulation output artifacts (JSONL and CSV).
  • [EXTERNAL_DOWNLOADS]: The documentation and metadata reference the official SimPy 4.1.2 package from the Python Package Index (PyPI).
  • The skill provides instructions for users to manually install the pinned dependency using uv pip install "simpy==4.1.2".
  • It includes a shared loader (scripts/_common.py) that verifies the installed SimPy version matches the expected version before execution.
  • [SAFE]: The skill demonstrates exceptional security practices for local data processing.
  • Input Validation: Rejects network URLs and symbolic links for all input and output paths to prevent directory traversal or remote resource fetching.
  • Strict JSON Handling: Uses a custom JSON loader that rejects non-standard constants (like NaN or Infinity) and duplicate keys.
  • Resource Budgeting: Enforces hard caps on simulation time (MAX_SIM_TIME), processed events (MAX_EVENTS), entity counts (MAX_ENTITIES), and file sizes (MAX_INPUT_BYTES).
  • Least Privilege: Files are written atomically using private temporary files with restrictive 0600 permissions (owner-only access).
  • No Dynamic Execution: All configuration is treated as passive data; the skill explicitly rejects unknown keys and does not support code execution, plugin loading, or eval() operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 03:30 PM