The Apire AI Security Platform is a comprehensive suite of security tools designed to protect AI applications against threats including prompt injection, adversarial attacks, and compliance violations.
- 🛡️ Prompt Shield: Real-time defense against prompt injection and jailbreak attempts
- ⚔️ RedTeam Kit: Advanced adversarial testing and security auditing toolkit for LLMs
- ✅ Compliance Checker: Automated regulatory compliance scanner (GDPR, HIPAA, EU AI Act)
Start all services with Docker Compose:
./scripts/start-codespace.shAccess the tools:
| Tool | Web Interface | API Endpoint |
|---|---|---|
| Prompt Shield | http://localhost:3002 | http://localhost:3001 |
| RedTeam Kit | http://localhost:3006 | http://localhost:3005 |
| Compliance Checker | http://localhost:3004 | http://localhost:3003 |
- Backend: Node.js, Express, NestJS, TypeScript
- Frontend: React, Next.js, Vue.js, Vite, Tailwind CSS
- Infrastructure: Docker, Kubernetes
- Testing: Jest, Vitest, Playwright
You can run the entire platform directly in your browser using GitHub Codespaces.
- Click the badge above or the Code button on the GitHub repository.
- Select the Codespaces tab.
- Click Create codespace on main.
GitHub will spin up a cloud environment, build all Docker containers, and forward the ports so you can access the applications.
👉 Read the Full Deployment Guide for detailed instructions. 👉 Setup Prebuilds to speed up Codespace creation (optional but recommended).
- Node.js >= 18
- Docker & Docker Compose
-
Clone the repository:
git clone https://github.com/apireaisecurity/apire-ai-security-platform.git cd apire-ai-security-platform -
Install dependencies (for all tools):
npm install
-
Start the tools using Docker Compose:
docker-compose -f docker-compose.codespaces.yml up --build
Once running, the services are available at:
APIRE Prompt Shield
- API: http://localhost:3001
- Web: http://localhost:3002
APIRE RedTeam Kit
- API: http://localhost:3005
- Web: http://localhost:3006
APIRE Compliance Checker
- API: http://localhost:3003
- Web: http://localhost:3004
Each tool can also be run independently:
APIRE Prompt Shield
cd apire-prompt-shield
docker-compose up --buildAPIRE RedTeam Kit
cd apire-redteam-kit
docker-compose up --buildAPIRE Compliance Checker
cd apire-compliance-checker
docker-compose up --buildRun all tests:
./scripts/test-all.shFull documentation is available in the GitHub Wiki.
To publish updates to the Wiki:
- Initialize the Wiki in the GitHub UI (click "Create the first page").
- Run the publish script:
./scripts/publish-wiki.sh
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.