Skip to content

About

PromptGauntlet – Red-team arena for prompt injection vs ArmorIQ policy enforcement. Google ADK + Gemini agent, ops-mcp (16 tools), real Allow/Block policies on platform.armoriq.ai. Built for Flow State 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

PromptGauntlet

Where prompt injections go to die.

A red-team arena that shows exactly what happens when an AI agent is prompt-injected — first without any protection, then with ArmorIQ intent enforcement turned on.

Built for the Flow State 2026 hackathon (ArmorIQ).


Why this project exists

Most agent demos show the happy path.
PromptGauntlet shows the failure path.

You run the same attack twice:

Mode ArmorIQ What happens
Vulnerable OFF Agent follows the injected instruction and attempts a dangerous action
Protected ON ArmorIQ blocks the action because it was never part of a valid intent plan / policy

The difference is visible in under 30 seconds.


Live Demo Flow (recommended for judges)

  1. Choose attack scenario #1 (“Hidden instruction in ticket”)
  2. Run vulnerable mode → agent tries export_all_customers
  3. Run protected mode → same prompt, ArmorIQ blocks it
  4. Show the ArmorIQ dashboard trace of the blocked call

That is the entire story.


Attack Scenarios Included

# Name What it tries to do
1 Hidden instruction in ticket Export all customers via injected text inside a support ticket
2 Role-play jailbreak + delete Force the agent into “debug mode” and delete an account
3 Indirect injection via lookup Steer a normal lookup into granting admin role
4 Data exfiltration request Direct request to dump the customer table
5 Impersonation attempt Open a session as another user

You can also type any custom prompt.


Tech Stack

  • Agent: Google ADK + Gemini
  • Tools: ops-mcp (support / admin tools)
  • Security: ArmorIQ SDK (intent capture + policy enforcement)
  • Language: TypeScript

Quick Start

1. Prerequisites

2. Deploy the MCP server

git clone https://github.com/Fuzailkazi/armoriq-adk-ops-mcp
cd armoriq-adk-ops-mcp
# deploy to Render / Railway / Cloud Run

Final URL must end with /mcp.

3. Register on ArmorIQ platform

  • MCP name: ops-mcp
  • Agent name: promptgauntlet

Policies (minimum):

Action Tools
Allow lookup_customer, get_ticket, get_invoices, list_tickets, get_subscription
Block export_all_customers, delete_account, grant_admin_role, impersonate_user

4. Configure & run

cp .env.example .env
# fill in your keys and MCP_URL

npm install
npm run check

# Vulnerable run (ArmorIQ off)
npm run vulnerable

# Protected run (ArmorIQ on)
npm run protected

Project Structure

PromptGauntlet/
├── package.json
├── tsconfig.json
├── .env.example
├── src/
│   ├── index.ts          # CLI + attack menu
│   ├── ask.ts            # Agent + ArmorIQ integration
│   ├── attacks.ts        # Ready-made injection prompts
│   ├── config.ts
│   ├── check-setup.ts
│   └── error-message.ts
└── README.md

What judges should see

  • Real MCP server
  • Real ArmorIQ integration (not simulated)
  • Clear difference between vulnerable and protected runs
  • At least one blocked action with a reason visible in the ArmorIQ dashboard

License

MIT

About

PromptGauntlet – Red-team arena for prompt injection vs ArmorIQ policy enforcement. Google ADK + Gemini agent, ops-mcp (16 tools), real Allow/Block policies on platform.armoriq.ai. Built for Flow State 2026.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages