Repository navigation
Releases
Lurensic 0.5.0
Custom .env names. Run npx @agenticslabs/lurensic bait init to collect your app's .env variable names (never their values) into lurensic.bait.json. Pass the file through decoys.bait or set LURENSIC_BAIT to its path. Run bait preview to see what gets generated.
Decoy role header. A new decoy.header tripwire detects when an agent forges your deployment's override header, regardless of which route it targets. Define your own roles in the roles field of lurensic.bait.json. Run bait snippet to generate a role table for your frontend.
State-shaped decoy field. The decoy field now contains encoded state, including a role and MFA flag. It only triggers when an agent modifies the field. Lurensic strips it from incoming requests before they reach your handlers.
New bait. Added a fake .npmrc containing a registry token, plus an optional database dump that you can enable with decoys.dump or LURENSIC_DECOYS=dump.
Containment that stays out of the way. Crafted links, forms and image tags won't trigger containment for real visitors, including browsers, link previews and search crawlers. Detected machines now remain contained for one hour after their last detection, with each new detection resetting the timer. Previously, containment lasted 24 hours.
Larger body limit. Increased maxBodyBytes from 16 KiB to 128 KiB.
Benchmark results. In the latest benchmark run in benchmarks/, every finding reported by the AI agent came from a decoy. Neither of the two planted vulnerabilities was reached.
See the full changes in #21.
Lurensic 0.4.0
Event format v2. Events now name their type in type, which was kind. A used honeytoken's type is in evidence.token_type, which was evidence.token_kind. The schema is lurensic.event/v2. Update any code that reads events.
Destinations. Sinks are now called destinations, such as consoleDestination and webhookDestination, set with the destinations option. The old names keep working.
Checked live on AWS Lambda, Vercel and Netlify. Lambda behind a function URL, API Gateway or an Application Load Balancer, Lambda Web Functions, Vercel with Hono or Express, Netlify Functions and Edge Functions. Events now reach your destinations on each of them. Netlify, Lambda and Web Functions need no address setting.
Safer behind a proxy. If a proxy or load balancer is missing from trustedProxies, Lurensic keeps reporting attacks but never contains its address. It logs which setting fixes it. clientAddress: 'none' says nothing is in front of the app.
Shared store. A new instance gives its store connection time to open, so a fresh serverless copy still blocks a contained machine. ElastiCache Serverless works through an ioredis Cluster.
Full changes in #19.
Lurensic 0.3.1
What's Changed
- Lurensic 0.3.1, restore Secure my agent and lead with app and agent security by @0xRetroDev in #18
Full Changelog: v0.3.0...v0.3.1
Lurensic 0.3.0
What's Changed
- Lurensic 0.3.0, a used key names its fetcher across every instance by @0xRetroDev in #17
Full Changelog: v0.2.0...v0.3.0
Lurensic 0.2.0
What's Changed
- Show the white logo in dark mode by @0xRetroDev in #14
- Show the product in the README and create GitHub releases by @0xRetroDev in #15
- Lurensic 0.2.0, agent canaries and bait hardened against readers of the code by @0xRetroDev in #16
Full Changelog: v0.1.1...v0.2.0
Lurensic 0.1.1
Lurensic 0.1.1 has no code changes from 0.1.0. It is the first release published through npm trusted publishing.
npm install @agenticslabs/lurensic-express # Express
npm install @agenticslabs/lurensic-hono # Hono
npm install @agenticslabs/lurensic # Node, Bun, Deno and Cloudflare WorkersWhat's Changed
- Release 0.1.1 by @0xRetroDev in #13
Full Changelog: v0.1.0...v0.1.1
Lurensic 0.1.0
The first public release of Lurensic, deception-based defence against AI-driven attacks. Lurensic runs inside your app, detects attacks through tripwires and decoys, and hands each detection to your code.
npm install @agenticslabs/lurensic-express # Express
npm install @agenticslabs/lurensic-hono # Hono
npm install @agenticslabs/lurensic # Node, Bun, Deno and Cloudflare WorkersThe quick start and lurensic.com/docs cover setup.
What's Changed
- Hand detections to the developer, and deceive AI attack harnesses harder by @0xRetroDev in #1
- Update the design and threat model for containment, onDetect and shared decoy knowledge by @0xRetroDev in #2
- Let the test workflow be run by hand by @0xRetroDev in #3
- Remove the roadmap by @0xRetroDev in #4
- Detect Render by itself and add client address presets by @0xRetroDev in #5
- Log the version, build and setup at startup by @0xRetroDev in #6
- Catch SQL injection tests with any values, not only 1=1 by @0xRetroDev in #7
- Rename Kagami to Lurensic by @0xRetroDev in #8
- Get the packages ready for npm by @0xRetroDev in #10
- Show the Lurensic logo at the top of the README by @0xRetroDev in #9
- Give the CI jobs short, stable names by @0xRetroDev in #11
- Link the npm pages to lurensic.com by @0xRetroDev in #12
Full Changelog: https://github.com/agenticslabs-xyz/lurensic/commits/v0.1.0