STUPID-2026-0184
Salt Labs used JSFuck-obfuscated JavaScript hidden in a Gmail message to make Manus execute arbitrary code, bypassing its own prompt-injection guardrail
Why 6/10
Manus is a single widely used ($4B-valued) agentic AI platform and the flaw sat in its core prompt-injection guardrail rather than one integration, so it reaches the "widely used product" band (scope 4), consistent with how STUPID-2026-0164 scored a guardrail-class flaw across a product category. Nothing was actually lost: Salt Labs reports the bypass is now fixed and gives no evidence of a confirmed victim, so recoverability is 0, as with other patched, no-known-victim disclosures (0090, 0096, 0164). This was the researchers' own demonstrated test against Manus's Gmail integration, not a reported real-world attack — realisation 1. The payload achieved server-side arbitrary code execution reaching a connected third-party account (Gmail), which is the class of harm the impact factor is scored on — impact 1.
- Scope
- 4/4
- Many organisations or the public: a flaw in a widely used product, mass exposure, a large outage
- Recoverability
- 0/3
- Nothing was lost
- Did it happen
- 1/2
- Demonstrated (proof of concept, reproduction, controlled test or near-miss) with no real victim reported
- Beyond the user
- 1/1
- Production systems, customers or third parties, or credentials and sensitive personal data
The score is the sum of these four factors. How each factor is scored · scored 2026-12-03
Status and what to do
- Fix status
- Fixed · Per Salt Labs' own account (as reported), the JSFuck bypass has been resolved and is no longer exploitable. No CVE or advisory number was given in available coverage.
- Mitigation
- Treat any content an agent ingests from a connected integration (email, documents, API responses) as potentially executable instructions rather than inert data, and build guardrails that account for encoded or obfuscated payloads instead of matching on plaintext patterns alone. Source
- Last reviewed
- 2026-12-03 · Report a correction to this record
Instruction given
None from a victim — Salt Labs' own researchers set up the test, pointing Manus at a Gmail-connected inbox that received a single attacker-crafted email. No deliberate task was given beyond the agent's normal course of checking the connected inbox.
Expected behavior
Manus's prompt-injection guardrail should block a hidden instruction embedded in content it processes regardless of how that instruction is encoded, intercepting it before any code runs — not only when the instruction appears as plain, unobfuscated text.
Actual behavior
Manus correctly flagged a plaintext version of the malicious instruction embedded in the test email. When the researchers instead encoded the same payload with JSFuck — an esoteric JavaScript style that writes all code using six characters — Manus decoded it and executed it as JavaScript in its own server-side runtime before any guardrail intercepted the action. Per the reporting, the agent was only interrupted after the fact, when a separate security mechanism flagged the already-executed action as potentially dangerous, and it notified the account owner only after the code had already run.
Damage
Salt Labs achieved arbitrary server-side code execution inside Manus's own runtime from a single malicious email sent to a Gmail account connected to the agent, demonstrating a path to reach any third-party app or credential a victim had connected to their Manus session. The finding was disclosed through Meta's bug bounty program; Salt Labs reports no evidence of exploitation against real users, and says the specific bypass has since been fixed and is no longer exploitable.
Full write-up
Security researchers at Salt Labs found that Manus's prompt-injection guardrail could be bypassed by obfuscating the malicious instruction rather than writing it in plain text. In a test against Manus's Gmail integration, a plaintext attack email was correctly flagged and blocked. The same instruction encoded with JSFuck — an obscure style that represents JavaScript using only six characters — was decoded by Manus and executed as code in its own server-side environment before the guardrail could intercept it; the agent was flagged and the account owner notified only after the code had already run. The researchers reported the bypass demonstrated a route to arbitrary code execution reaching any third-party account a victim had connected to Manus, such as the Gmail account used in the test. Salt Labs disclosed the finding through Meta's bug bounty program rather than directly to Manus, says it found no evidence of real-world exploitation, and reports the specific technique has since been fixed. The case is a reminder that pattern-matching guardrails over plaintext prompts do not generalize to encoded or obfuscated payloads — the same gap StupidLLM has tracked in other agents' input-validation logic (see STUPID-2026-0178's trailing-dot bypass in GitHub Copilot).
Classification
- Agent
- Manus
- Failure mode
- Security Vulnerability
- Root cause
- Logic Error
- Domain
- Security
- Source
- Security Research
Related incidents
Cite this record
StupidLLM. "STUPID-2026-0184: Salt Labs used JSFuck-obfuscated JavaScript hidden in a Gmail message to make Manus execute arbitrary code, bypassing its own prompt-injection guardrail." AI Agent Incident Database, 2026. https://www.stupidllm.com/incident/STUPID-2026-0184/ (accessed 2026-12-03). CC BY 4.0.
← STUPID-2026-0183By ID
Get told when an agent breaks something
We document AI agent failures daily, severity-scored against a published scale. Each Monday, if any scored 7 or above that week — deleted data, leaked secrets, broken production — you get one email with the sources. When nothing did, you get nothing.
This database is callable over MCP — query it from inside your agent.