The Security Library for
Modern Architectures
Kroxt is a premium, stack-aware authentication engine. Zero-config bootstrapping with npx kroxt init.
? Choose your database adapter: mongoose
? Enable rate limiting defensive layer? Yes
? Create a boilerplate User model? Yes
✔ Created: src/lib/kroxt/auth.ts
✔ Created: src/lib/kroxt/user.model.ts
✔ Installed: kroxt, mongoose, dotenv
Core Ecosystem
Built for Scale.
Stack Agnostic
First-class support for Next.js, Nuxt, SvelteKit, Astro, Hono, Express, Koa, and Fastify—built organically from standard TypeScript.
Universal Adapters
Bring your own schema. Optimized out-of-the-box adapters for Prisma, Drizzle, Mongoose, and in-memory mock endpoints.
Global Revocation
Password-Linked Tokens natively embed hash fragments. Change a password to instantly invalidate all hijacked sessions.
IP Defense
Native Strike architecture throttles sequential brute-force stuffing without adding external Redis dependencies.
Policy Engine
Dynamic Dictionary and Regex guards automatically block weak payloads natively before hashing routines fire.
Argon2 Native
Integrated Argon2 Hashing with server-side peppering and salt-rotation natively handled before data persistence.