write-script-python3

Pass

Audited by Gen Agent Trust Hub on Oct 16, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to automatically generate and execute scripts with 'plausible args' derived from the user's request or script metadata. This creates a surface where untrusted data provided as arguments could influence the behavior of the executed script.
  • Ingestion points: Script parameters in main functions, event objects in preprocessor scripts, and S3Object content loaded via the SDK.
  • Boundary markers: No explicit delimiters or instructions to ignore embedded commands are specified for the input parameters.
  • Capability inventory: The agent can execute scripts (wmill script preview), perform network operations (wmill.post), and modify resources (set_resource).
  • Sanitization: The instructions do not define sanitization or validation logic for the generated arguments.
  • [DYNAMIC_EXECUTION]: The provided SDK documentation includes the functions set_shared_state_pickle and get_shared_state_pickle. The use of the Python pickle module for deserialization is a known security risk as it can lead to arbitrary code execution if the data source (the shared state file) is compromised or originates from an untrusted source.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 16, 2026, 09:32 PM