Incidents related to your apps
Alert email
Alerts are public incidents in the categories you chose, not proof that your app was attacked. Every email has an unsubscribe link.
Monitor your app's security signals and notification delivery.
Alerts are public incidents in the categories you chose, not proof that your app was attacked. Every email has an unsubscribe link.
Local time · 5-minute intervals
Watched-path requests and their alert results.
| Time | Requested path | Method | Source | Alert result | Details |
|---|
Open its details for an explanation and a suggested next step. A test event triggers the sensor directly; check your actual app route using the guide.
Understand alert resultsLonginus runs inside your app's server. Choose your environment.
You need Node.js 20.6+, access to your app's code, and permission to set server environment variables.
Run the command below in your app folder. You can also download the package for offline installation.
Download sensor v0.5Open a terminal in that folder and run:
npm install https://longinuswatch.com/local-tripwire-sensor-0.5.0.tgz
No extra dependencies or install scripts. Review source code
Keep these settings on your server. Never put them in public frontend code.
Run this once in your app folder. It creates a private settings file and a random connection key, and adds them to .gitignore. Existing settings are never overwritten.
node node_modules/local-tripwire-sensor/setup.mjs
Open .env.longinus and add either or both channels below. For deployment, copy these values to your host’s secret settings.
In your Discord server, open Server Settings → Integrations → Webhooks. Create a webhook for your alert channel. Save its URL as DISCORD_WEBHOOK_URL on your server.
Connect your own Resend account. Use a verified sender address and an API key with permission to send emails. The provider's limits apply.
RESEND_API_KEY=re_your_key ALERT_EMAIL_FROM=alerts@your-verified-domain.com ALERT_EMAIL_TO=you@example.com
Both channels work independently. Never paste an email API key or Discord webhook into this site.
Set up your email senderA private setting your server reads when it starts. Most hosts have an “Environment variables” section. For local development, use a gitignored .env.sensor file. See the example.
Add this after creating your Express app, before existing routes and static files.
Restart your app after changing its code or environment variables.
node --env-file=.env.longinus YOUR_ENTRY_FILE
Replace YOUR_ENTRY_FILE with your app’s server file. On a hosting service, use its secret settings and normal start command.
Copy this instruction into your editor. It contains no private keys.
Install local-tripwire-sensor 0.5.0 from the download URL shown above. Check that this app uses a long-running Node.js server, not an edge or serverless runtime. Use the exported longinus middleware before static files and routes. Run setup.mjs to create ignored private settings. Read credentials only from server environment variables. Configure Discord and/or Resend email using the owner's credentials. Use a persistent private disk path for LONGINUS_STATE_FILE, one file per process. Do not commit secrets. Verify an actual watched-path request receives 404 and appears in the console; then test each notification channel. If this architecture is unsupported, explain why instead of forcing installation.
Use your deployed app's address and the connection key you created.
Your key stays in this tab's memory. Refreshing the page clears it.
Connect your app to enable testing.
View activityWait at least 60 seconds after your previous alert, then request this path on your own test app. Expect HTTP 404 and a new event.
curl -i https://YOUR-APP.example.com/.env