sglang
Pass
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it processes untrusted user data and interpolates it directly into LLM prompts without sanitization.
- Ingestion points: External data enters through variables such as user_query in the agent_workflow function, text in the extract_person function, and article in the structured_extraction function.
- Boundary markers: The provided examples use basic structural delimiters like 'User:' and 'Assistant:' but lack robust markers or instructions to isolate potentially malicious embedded commands.
- Capability inventory: The skill uses the sglang library for model inference and structured generation, allowing for complex behaviors driven by the combined prompt.
- Sanitization: There is no implementation of input validation, escaping, or filtering for external content before it is added to the generation state.
- [EXTERNAL_DOWNLOADS]: The skill documentation and configuration files reference the download of necessary components from legitimate project sources.
- Evidence: The skill fetches the sglang source code from its official GitHub repository and downloads the FlashInfer acceleration library from its dedicated distribution domain (flashinfer.ai).
Audit Metadata