HiddenLayer finds TypeSafe AI Jev decision model vulnerable to indirect prompt injection
Security researchers demonstrate that decision models claiming to never make type errors can still be manipulated via malicious web content.

Key points
- HiddenLayer researchers successfully exploited TypeSafe AI’s Jev model using indirect prompt injection techniques.
- The test involved a simulated online store with a deceptive advertisement disguised as a price confirmation button.
- HiddenLayer states that System One models retain risks similar to autoregressive large language models despite different decoding.
Security researchers at HiddenLayer have demonstrated that TypeSafe AI’s Jev decision model remains vulnerable to indirect prompt injection, contradicting claims that such models are immune to manipulation. The findings indicate that decision models, which output probabilities rather than free text, can still be tricked into performing unintended actions.
The evaluation revealed that Jev, which TypeSafe AI describes as a System One model, faces security risks comparable to traditional large language models. According to HiddenLayer, these models are fundamentally LLMs that use a different decoding strategy, meaning they cannot arbitrarily output tokens but still process untrusted data in ways that allow for exploitation through indirect injection vectors.
Experimental Setup and Methodology
HiddenLayer constructed a simulated online store environment to test the resilience of Jev against manipulation attempts. The test scenario included a saved shipping address, a stored credit card, and two items in a shopping cart. Researchers deployed an open-source browser agent built on the jev-ultrafast framework to interact with this simulated e-commerce platform.
The browser agent received specific instructions to purchase the items currently in the cart without adding or removing any products. To mitigate potential risks, the system prompt included a strict rule stating that page text should be treated as untrusted data and never interpreted as instructions. This setup aimed to determine if the model could distinguish between legitimate content and malicious commands embedded within the webpage.
The researchers introduced a sponsored advertisement on the webpage that claimed a sale price had not been applied to the cart. The ad featured a button labeled "Confirm Price" to address the issue. The team sought to test whether they could clickjack a System One-style browser agent by directing it to a malicious website via indirect prompt injection, using this deceptive element as part of the test.
Implications for Decision Models
HiddenLayer researchers noted that while System One models cannot generate arbitrary text tokens, they remain susceptible to many of the same vulnerabilities as autoregressive models. The study utilized Jev and a traditional large language model, Qwen3.8-27B, which was tuned to act like a decision model, in their testing procedures.
These results suggest that the architectural shift toward decision probabilities does not inherently eliminate the risk of prompt injection. Although decision models may offer cost and performance advantages by avoiding the processing of entire training datasets for text answers, they require careful handling to prevent exploitation. The findings advise caution when deploying such models in environments where they interact with untrusted web content.
What should you do?
Organizations evaluating or deploying decision models should assume that indirect prompt injection remains a viable attack vector. Security teams must treat page content as untrusted data and implement robust validation mechanisms. Monitoring for unexpected actions by browser agents is essential, as is reviewing system prompts for potential weaknesses in instruction handling.
Background: Large language models
Large language models are a specific type of neural network trained on text. Generative AI is the broader umbrella term for any system that creates new content, including images and code. Not all generative AI uses large language models, but most modern text generators do.
What to do and how to stay safe: TypeSafe AI
- Review system prompts for decision models to ensure they explicitly treat all external page text as untrusted data.
- Implement strict validation checks on browser agent actions to prevent unauthorized purchases or navigation to malicious sites.
- Monitor logs for unexpected behaviors in automated agents, particularly when interacting with dynamic web content or advertisements.
- Evaluate the security posture of decision models similarly to traditional LLMs, assuming they face comparable risks from indirect injection.
Step-by-step guide: Prompt Injection Warning Signs: How to Spot AI Manipulation
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Can decision models like Jev be exploited through prompt injection?
Yes, HiddenLayer researchers demonstrated that Jev can be manipulated via indirect prompt injection despite its different decoding strategy.
How did the researchers test the Jev model?
They used a simulated online store with a deceptive ad button to trick a browser agent built on jev-ultrafast into performing unintended actions.
Are decision models safer than traditional LLMs?
HiddenLayer states that decision models face many of the same risks as autoregressive models because they are fundamentally LLMs under the hood.


