sglang-prod-incident-triage
Warn
Audited by Gen Agent Trust Hub on May 16, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Unsafe deserialization is present in
scripts/incident_artifact_tool.pyandscripts/replay_trusted_request_dump.pyvia thepickle.load()function. This operation allows for arbitrary code execution if a maliciously crafted pickle file is processed. The skill's documentation acknowledges that these tools are intended for "trusted" data and are designed to bypass standard safety unpicklers. - [COMMAND_EXECUTION]: The skill instructions (SKILL.md) and reference guides (references/replay-trace-profile.md) direct the agent to execute multiple shell commands. These include running the provided Python scripts, using
curlto interact with API endpoints, and utilizinggit bisectfor regression testing. This heavy reliance on shell execution creates a surface for command injection if input parameters are influenced by untrusted data. - [DATA_EXFILTRATION]:
scripts/incident_artifact_tool.pyperforms network requests using theurllib.requestmodule to collect server diagnostic information from a user-provided--base-url. While intended for local triage, this capability could be used to exfiltrate data to an external, attacker-controlled endpoint if the base URL is manipulated. - [PROMPT_INJECTION]: The skill contains explicit instructions to bypass the
safe_pickle_loadsafety filter of the official SGLang tools by using the providedscripts/replay_trusted_request_dump.py. This encourages the circumvention of established security constraints. - [PROMPT_INJECTION]: Indirect Prompt Injection Surface. The skill ingests data from potentially untrusted server endpoints and local file system artifacts.
- Ingestion points:
scripts/incident_artifact_tool.py(API endpoints and.pklfiles) andscripts/replay_trusted_request_dump.py(external.pklfiles). - Boundary markers: No boundary markers or "ignore embedded instructions" warnings are used for the processed data.
- Capability inventory: The agent is instructed to perform shell command execution, network requests, and file system interactions across all scripts.
- Sanitization: No sanitization or validation is performed on the deserialized objects from the dump files, increasing the risk that malicious data could influence the agent's logic.
Audit Metadata