Skip to content
AI / LLM Write-up Intermediate

Prompt Injection in Agentic AI

The blueprint-editing prompt feature of an AI website generator appeared to process user input directly, without the other LLMs or guardrails used elsewhere in the pipeline. The author confirmed the prompt was answered directly and also got the model to return a biased answer about gender, but no concrete security impact is shown.

medium.com

Published on medium.com

In this article, I’ll be sharing my experience working on an agentic AI security assessment that I conducted a few months ago.

Rahul Singh Chauhan, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the blueprint-editing prompt endpoint sent user input straight to a model without the multi-model pipeline or guardrails used elsewhere.

Impact

The text only shows that the model answered prompts directly and gave a biased answer; it does not demonstrate data disclosure or any other concrete harm.

What the attacker needed

Access to the website generator; a generated blueprint

How it was found

  1. Create a new website and let the blueprint be generated
  2. Choose the prompt option for editing the blueprint instead of manual editing
  3. Send a simple arithmetic prompt and observe the model answer directly
  4. Send prompts probing for bias in the training data and observe the answers

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

An AI agent is a system where a language model is given tools and steps to do a job, here building a website. A prompt injection is when a user types text that the model treats as instructions instead of as data. The author found one input box that seemed to talk to the model directly, with no other checks in between.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.