
A brute-force protection middleware for express routes that rate-limits incoming requests.
Checked October 2026.
A brute-force protection middleware for express routes that rate-limits incoming requests, increasing the delay with each request in a fibonacci-like sequence. Installation via npm: $ npm install express-brute
A Simple Example var ExpressBrute = require('express-brute'); // stores state locally, don't use this in production var store = new ExpressBrute.MemoryStore(); var bruteforce = new ExpressBrute(store); app.post('/auth', bruteforce.prevent, // error 429 if we hit this route too often function (req, res, next) { res.send('Success!'); });
Classes ExpressBrute(store, options) store An instance of ExpressBrute.MemoryStore or some other ExpressBrute store (see a list of known stores below). options freeRetries The number of retries the user has before they need to start waiting (default: 2) minWait The initial wait time (in milliseconds) after the user runs out of retries (default: 500 milliseconds) maxWait The maximum amount of time (in milliseconds) between requests the user needs to wait (default: 15 minutes).
The wait for a given request is determined by adding the time the user needed to wait for the previous two requests. lifetime The length of time (in seconds)
No core features are listed for this product yet, so check the vendor's documentation for the full feature list.
No integrations are listed for this product yet. Check the vendor's documentation, or ask the vendor which integrations and APIs it supports.
Common questions about express-brute: features, pricing and alternatives.
express-brute is a product in the API Security category. It covers Brute Force.
express-brute is free. Download and setup instructions are at https://github.com/AdamPflug/express-brute/.
Alternatives to express-brute listed on CybersecTools:
Compare all express-brute alternatives at https://cybersectools.com/alternatives/express-brute
express-brute is available as on-premises software. It is listed for startups, small businesses, mid-market companies and enterprises. It is free.
Side by side: features, pricing model and the company behind each one.
API discovery, documentation, and security testing platform for APIs
Middleware adding security layer to GraphQL endpoints for JS servers
API data-in-motion protection using claims-based access and PoLP enforcement.
A Node.js middleware module that automatically enforces HTTPS connections by redirecting HTTP requests to HTTPS URLs in Express.js applications.
API security platform for discovery, monitoring, and protection at edge
Open-source libs for embedding API security controls directly in code.
On our shortlist?
express-brute is not a pick on the current Best API Security Solutions for Business.
Get a summary of this page from your assistant.
Mandos MCP: ask about all 9,033 products.
Connect your AI