Skip to content

karthikravva/preempt-ai-extension

Repository files navigation

πŸ›‘οΈ Preempt AI

Security for AI Applications

Chrome Web Store Version License

Protect your AI interactions from prompt injection, jailbreaks, and data leaks.

🌐 Website β€’ πŸ“š API Docs β€’ πŸ”’ Privacy Policy


Preempt AI Demo

✨ Features

Feature Description
πŸ›‘οΈ Prompt Injection Detection Blocks attempts to manipulate AI behavior
🚫 Jailbreak Prevention Stops attempts to bypass AI safety measures
πŸ”’ PII Protection Auto-detect and encrypt SSN, credit cards, emails
🌐 Universal Support Works on any website with text inputs
⚑ Real-time Scanning Instant security analysis of your prompts

🎯 Supported Platforms

ChatGPT Claude Gemini Copilot
Perplexity Poe HuggingChat Any AI

Also works on: Rich text editors, contenteditable elements, custom AI interfaces, and API playgrounds.


πŸš€ Installation

Chrome Web Store (Recommended)

https://chromewebstore.google.com/detail/preempt-ai-security-for-a/ohchmglenolildeoiaeiebibobefncon

Manual Installation

Chrome / Edge / Brave
  1. Download or clone this repository
  2. Open chrome://extensions/
  3. Enable Developer mode (toggle in top right)
  4. Click Load unpacked
  5. Select the extension folder
  6. Pin the Preempt icon to your toolbar
Firefox
  1. Open about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on
  3. Select the manifest.json file

πŸ“– How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Your Prompt   β”‚ ──▢ β”‚   Preempt AI    β”‚ ──▢ β”‚   Safe Prompt   β”‚
β”‚                 β”‚     β”‚   Security      β”‚     β”‚                 β”‚
β”‚ "My SSN is      β”‚     β”‚   Analysis      β”‚     β”‚ "My SSN is      β”‚
β”‚  123-45-6789"   β”‚     β”‚                 β”‚     β”‚  [PROTECTED]"   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Security Analysis

Threat Type Detection Action
πŸ›‘οΈ Prompt Injection AI manipulation attempts Block/Warn
🚫 Jailbreak Safety bypass attempts Block
πŸ”’ PII Data SSN, credit cards, emails Encrypt/Redact

Risk Levels

Level Color Action
βœ… None Green Allow
⚠️ Low Yellow Warn
🟠 Medium Orange Review
πŸ”΄ High Red Block
β›” Critical Dark Red Block

πŸ–ΌοΈ Screenshots

Threat Detection PII Protection Safe Prompt

πŸ” Privacy & Security

  • βœ… No data storage - Prompts are analyzed and discarded
  • βœ… No tracking - We don't track your browsing
  • βœ… Secure API - All communications are encrypted (HTTPS)
  • βœ… Open source - Audit the code yourself

πŸ“„ Read our full Privacy Policy


πŸ› οΈ API

The extension uses the Preempt API for security analysis:

curl -X POST https://preempt-production.up.railway.app/v1/sanitize \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Your text here"}'

πŸ“š Full API Documentation


🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❀️ for AI Security

⭐ Star this repo if you find it useful!

About

Protect your AI interactions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors