deadcode-shield
v1.0.0
Published
> Intrusion detection that lives inside your codebase.
Readme
DeadCode Shield 🔴
Intrusion detection that lives inside your codebase.
DeadCode plants invisible honeypot traps inside your Express app. The moment an attacker probes your API, you get an instant alert — while they are still inside.
Install
npm install deadcode-shieldSetup
const express = require('express')
const deadcode = require('deadcode-shield')
const path = require('path')
const app = express()
deadcode.protect(app, path.resolve(__dirname, 'app.js'), {
apiKey: 'your-api-key-from-dashboard',
dashboardUrl: 'https://deadcode.io'
})
app.listen(3000)How it works
- Scans your real routes automatically
- Plants convincing fake routes attackers will probe
- Fires silent alert the moment any trap is hit
- Returns realistic fake response so attacker stays calm
- Full forensic data sent to your dashboard
Dashboard
Sign up at deadcode.io to get your API key and see live alerts from your server in real time.
Zero false positives
No real user ever touches a trap. Every alert is a confirmed intrusion.
