Skip to content

Latest commit

 

History

314 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-crowdsec

CI codecov Known Vulnerabilities Donate GitHub stars

Dependencies update - renovate

This repository will host multiples packages, you can found them with examples below

Technical documentation is available here

Features

  • Full CrowdSec client : watcher & bouncer clients for the CrowdSec LAPI (alerts, decisions, stream, watcher registration/self-delete...).
  • High-performance bouncer : decisions are streamed from the LAPI and indexed locally by CIDR (numeric prefix lookup). Checking an IP costs ~µs with a negligible event loop impact, even with hundreds of thousands of decisions.
  • Live mode (optional) : unknown IPs are checked against the LAPI in the background, closing the freshness gap of the stream poll. A malicious unknown IP passes at most once.
  • Configurable trust scope : subnetLevel lets you choose how far up the prefix hierarchy to consider as malicious (resident / company / country), so a whole country block is never banned by accident.
  • Watcher scenarios : bundled scenarios (user-agent, ip-extraction...) to detect and alert on malicious requests, with a pluggable scenario system.

Packages

NPM version Downloads License Coverage Package Quality

NPM

NPM version Downloads License Coverage Package Quality

NPM

an alpha http middleware that allow to include CrowdSec to protect your http serveur

NPM version Downloads License Coverage Package Quality

NPM

Here are some optionals scenarios available to use with the middleware

Examples

This library is a Node.js client to talk with crowdsec rest API . Please note that Node.js >= 24 is required.

Thanks to

About

client node to talk with crowdsec API

Topics

Resources

Code of conduct

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages