Vulnerability record · PyPI
PYSEC-2026-4034
Description
Decepticon wraps web crawl results — the output of agent reconnaissance against target services — into LLM messages without neutralizing ChatML special-token literals. Under the BYOK (Bring Your Own Key) deployment model, users configure their own LLM credentials to any OpenAI-compatible endpoint. Most open-source and self-deployed model providers (vLLM, SGLang, Ollama, LM Studio, text-generation-webui, etc.) do not filter special-token literals from user content in their default configurations. Those literals are parsed into structural role-boundary token IDs, meaning an attacker string planted in a target web page forges a new operator turn the model treats as authoritative, bypassing Decepticon's agent guardrails and resulting in arbitrary command execution inside the Kali Linux sandbox.
The vast majority of open-source and self-deployed model providers do not filter special-token literals. vLLM explicitly declined to fix this issue on 2026-04-21, closing it as "out of scope for the inference layer." Fix responsibility therefore falls squarely on the Agent application layer. OpenClaw completed an analogous fix on 2026-04-22 via commit 2514746b3261 (~30 lines, sanitizer applied just before tool-output wrapping), demonstrating the feasibility of application-layer mitigation.
Confirmed vulnerable when Decepticon is configured with a BYOK OpenAI-compatible backend whose tokenizer preserves special-token IDs — vLLM / SGLang / TGI confirmed upstream.
Not currently exploitable against hosted vendors (OpenAI, Anthropic, DashScope) who strip special-token literals server-side. However, this immunity is vendor-side behavior, not an architectural guarantee of Decepticon. The durable control is application-layer literal filtering or escaping.
PurpleAILAB/Decepticon v1.1.4 (confirmed); not release-specific.Manual fix · PyPI
pip install --upgrade "decepticon-sdk>=1.1.17"Sources