Skip to content
EventPast event

Mantis framework uses prompt injection to counter LLM penetration agents

1 reports1 reporting sourcesLatest report

Start here

AI overview

A George Mason University research team proposed the Mantis framework, turning prompt injection from an LLM vulnerability into an active defense means, used to mislead LLM penetration-testing agents. The framework uses an anonymous FTP service and a login page with an SQL injection vulnerability as decoys, hiding the injected content with ANSI escape sequences and HTML comments so that the attacking agent reads it when parsing the target's responses. In the experiments reported in the paper, the framework was tested against three attack frameworks, PentestGPTAuto, AutoPenAgent, and HackingBuddyGPT, as well as models such as ChatGPT-4o and Claude.

Generated by AI from reports · Updated 25 days ago

Progress timeline

Oct 29
  1. Anquan Neican
    Mantis framework uses prompt injection to fight back against AI-driven cyberattacks

    A George Mason University research team proposes the Mantis framework, turning prompt injection from an LLM vulnerability into an active defense measure used to mislead LLM penetration agents. The framework uses an anonymous FTP service and a login page with a SQL injection vulnerability as decoys, and hides the injected content in ANSI escape sequences and HTML comments so that attacking agents read it when parsing target responses. In the experiments reported in the paper, against three attack frameworks, PentestGPTAuto, AutoPenAgent and HackingBuddyGPT, and two underlying models, ChatGPT-4o and Claude 3.5 Sonnet, the target-destruction achievement rate was about 95.4%, and the attacker success rate was suppressed to below 3%. The active defense induces the agent to open a reverse shell on the attacker's host, while the passive defense traps it in an infinitely generated fake directory tree; when the number of branches increased from 5 to 150, the cost of a single GPT-4o attack rose from $0.81 to above $4.55.