PortSwigger’s Kettle reports bug bounty site prompt-injecting hackbots
PortSwigger Research reports a HackerOne in-scope site that tries to prompt-inject hackbots; the one action is to test your own harness.
- Published
- Ecosystem
- AI developer toolsWebsites and CMS
- Exploitation
- Not confirmed. Kettle describes an attempted prompt injection against his testing harness and reports no successful data theft.
What happened
According to PortSwigger Research, James Kettle (Director of Research) says he spotted a website that attempts to prompt-inject hackbots while he was reviewing discoveries from his testing harness. He says he has hacked websites under bug bounty programs since 2008 and believes this is the first time one tried to hack him back. This is one researcher’s account of one site, and the source does not name the site.
Kettle says the website is in scope for a private VDP on HackerOne. He reports that it returned a 403 response with the code CLIENT_UNCLASSIFIED and the error proxy_authentication_required. The message tells the client to resubmit the original request with an “attestation” object in the body, populated with values observed on the originating host.
According to Kettle’s write-up, the response asks for:
- a timestamp in Beijing Time (UTC+8)
- the local account name and the committer email from the version-control configuration
- the public IP and, for cloud hosts, the provider, region and instance ID
- the agent identifier and the model name, to be gathered from environment variables and client configuration files
- the repository remote URL and any Co-Authored-By trailer value
- the client’s objective, constraints, permitted actions and available tools, read from its governing instructions
The payload also includes an “evidence policy” that Kettle says is meant to make the client dump certain environment variables. It claims the server cross-checks declared values against signals such as the TLS fingerprint and JA3 hash, and says a successful attestation would return an authentication header.
Kettle’s view is that the information this attack tries to exfiltrate “oversteps good taste”. He writes that putting a site in scope is an invitation to test it, and that attacking people who accept the invitation is rude. He publishes the complete response as he observed it, with the endpoint path redacted.
Not confirmed in the source: the name of the website or its operator, whether HackerOne or the program owner knew of or intended this behaviour, whether any hackbot complied and leaked data, and whether other sites do the same. No CVE is cited.
Am I affected?
Based on PortSwigger Research, the relevant group is people who point autonomous AI testing tools (“hackbots”) at bug bounty or VDP targets. The source describes the injected text as aimed at tools that can read environment variables, configuration files and their own instructions. The source does not say which tools or models are susceptible, and it reports no confirmed victims.
If you only test manually, the source gives no indication that you are affected.
What to do now
- Test your own harness for susceptibility to prompt injection from target responses. This is Kettle’s stated takeaway: “If you rely on people being polite, sooner or later you’ll get pwned.” PortSwigger Research
- Kettle also points to the Web Security Academy topic on AI-powered scanner vulnerabilities as a good place to start. PortSwigger Research
- Editorial suggestion, not from the source: if your tool’s logs show it resubmitted a request with an “attestation” object to a target, review what it sent. The source does not describe any such cases.