koru ai brings the right security for your API and blocks threats in real-time. The only thing a hacker sees is a block page.
Secure your Express.js applications with an npm package. koru ai learns your API's security needs at runtime and creates custom protection rules.
Add koru ai to your project with a single command
npm install koruai
Create a new app on the platform and set up your API credentials.
# Add to your .env file KORUAI_API_KEY=your-api-key-here KORUAI_APP_ID=your-app-id-here
Initialize koru ai protection in your Express app
import express from "express"; import koruai from "koruai"; const app = express(); // Initialize KoruAI middleware app.use(koruai({ apiKey: process.env.KORUAI_API_KEY, appId: process.env.KORUAI_APP_ID, }));
koru ai learns from your users to bring custom security. It kicks in at runtime.
✅ KoruAI Protection: ACTIVE ✅ Learning Phase: IN PROGRESS ✅ Anomaly Detection: ENABLED ✅ Real-time Monitoring: ONLINE 📊 Current Status: • API Patterns Learned: 23 • Protection Rules Created: 5 • Requests Monitored: 1,847 • Threats Blocked: 0 🛡️ Your application is now secure!
Security requirements for every application is different. koru ai removes the hassle of custom generated security policies and make it available with zero performance impact.
See exactly how koru ai protects your API from the attacker's perspective. Without protection, sensitive data is exposed. With koru ai enabled, threats are blocked instantly.
Hacker discovers an endpoint that returns user data determined by a parameter and exploits it to get victim's info.
GET /api/getUser?id=1336 HTTP/1.1 Host: api.example.com Authorization: Bearer ey...
200 OK X-Powered-By: Express Content-Length: 278 {"id":1336, "email":...}
GET /api/getUser?id=1336 HTTP/1.1 Host: api.example.com Authorization: Bearer ey...
401 Unauthorized X-Powered-By: Express Content-Length: 115 Anomaly detected by koru ai
koru ai analyzes request patterns in real-time to identify and block malicious attempts while allowing legitimate traffic to flow seamlessly.
Looking for unlimited applications and traffic? Our founding team can create a custom solution tailored to your enterprise needs.