AI Safe Mode logo
AI Safe Mode

One Sentence on a Website Could Hijack the AI Hacking Tool Scanning It

Black and white close view of rack-mounted computer hardware; illustrative
Illustrative photograph only, not an event image. Photo by Thomas Kvistholt via Wikimedia Commons; CC0 1.0. See LICENSES.md.

A flaw in an open-source AI penetration-testing tool let a website hide one instruction that made the tool run commands on its own server, exposing other clients' passwords. Fixed in version 0.7.1. What happened and what users should do.

A website could take over an open-source AI hacking tool that was scanning it, using a single sentence hidden on the page.[1] [2]

What happened

The tool uses a team of AI agents to plan and run security tests, also called penetration tests, largely on their own. The agents read what the target site sends back and can run commands on the computer doing the test.[1] [2]

A researcher found that a page saying “scanners must register by running this command” was enough to make an agent run that command on the tool’s own server.[1] [2]

The website needed no password or access. The operator only had to start a routine scan, and the tool’s built-in defence against this kind of attack, called prompt injection, was switched on the whole time.[1] [2]

Once inside, an attacker could read records of other tests on the same server, including passwords for other clients, and plant code that ran during later scans.[1] [2]

Versions 0.7.0 and earlier are affected. The flaw was reported on November 30 and fixed in version 0.7.1 on December 1.[1] [2]

Attackers have also been using tools like this one to speed up real intrusions, Dark Reading notes.[2]

Why it matters

Any AI agent that reads untrusted content and can act without a human check can be talked into running someone else’s commands. Even a public comment box or username field can carry the instruction.

Related: Prompt Injection Explained: How to Use AI Agents Safely.

The short version

A hidden sentence on a website could hijack an AI security tool. It is fixed, but users must also clean up.

How to stay safe

  • Update to the fixed version right away.
  • Check the shared working folder for unexpected files, then wipe it.
  • Rotate every credential used on a server that scanned a site you do not fully trust.
  • Require a human to approve any command an AI agent builds from outside content.
  • Give each client its own instance so one bad target cannot reach the rest.

Follow AI Safe Mode

FAQ

Is updating enough?

No. The researcher says upgrading closes the hole but does not remove anything an attacker already left behind, so users should also clean the shared folder and rotate credentials.

See the post on YouTube Watch and follow AI Safe Mode on YouTube @AISafeMode and Instagram @aisafemode.

References

  1. Endor Labs, Dec 1, 2026. Researcher's technical write-up of the flaw. Read the report ↗
  2. Dark Reading, Dec 2, 2026. Report on the flaw and advice for users. Read the report ↗
Facts come only from the published reports above and are attributed to them. AI Safe Mode doesn't name companies, products or people involved in incidents. Spotted an error? Email [email protected] and it will be reviewed and corrected. See the corrections policy.