Repository navigation
Releases
v1.8.3-rc2
New Features
Improvements
- MatchKnownBot: add support for ASN (#4828) @blotus, @sabban
- WAF: add support for decompressing request bodies (#4796) @blotus
- exprhelpers: optional scenario argument for GetDecisionsCount, GetActiveDecisionsCount and GetActiveDecisionsTimeLeft (#4791) @tommy-ng0
Bug Fixes
- apiserver: accept a bouncer whose auto-created row a concurrent request inserted (#4775) @somaz94
- victorialogs: fix ending in \n auto rejected by parser issue (#4831) @IlayWolfson
- apic: keep the push and metrics schedule when the token is dropped (#4862) @sabban
- cscli-detect: handle debian httpd alias for apache2 (#4873) @blotus
- waf: make argument limits breach a droppable error (#4874) @blotus
- alertcontext: do not panic when a context expression returns nil (#4855) @Dukotah, @claude
- crowdsec: don't start pprof with -t (#4865) @sabban, @claude
- docker: fix log stream leak on long lines (#4826) @blotus
- waf: do not double count query string args (#4834) @blotus
- packaging: detect api.server.enable: false in postinst (#4818) @sabban, @claude
- syslog log_media: only add log hook once (#4819) @blotus
- api-client: only use api.client.tls config for LP->LAPI communications (#4823) @blotus
- Serve metrics on a dedicated mux and make pprof opt-in (#4802) @p-w
- tls: do not load system CA for auth (#4821) @blotus
- fix parsing of noncompliant RFC3339 timestamps using a space separator (#4810) @gilbsgilbs
- pipeline: don't preallocate bucket queues (#4800) @AdzerKI
- [docker] Move final stage to trixie also (#4804) @albundy83
- have less characters in the hub test socket name (#4785) @sabban
Chore / Deps
- build(deps): bump the github-actions group across 1 directory with 6 updates (#4863) @dependabot[bot]
- upgrade pgx to v5 (#4871) @blotus
- CI, docker: update yq to v4.54.3 (#4850) @VfourTwenty
- build(deps): bump the gomod group across 1 directory with 27 updates (#4864) @dependabot[bot]
- build(deps): bump the uv group across 1 directory with 3 updates (#4805) @dependabot[bot], @blotus, @claude, @sabban
- update to go 1.27.3 (#4816) @blotus, @sabban
- ci: speed up docker build and publish dev ARM64 images (#4792) @blotus
- build(deps): bump the github-actions group with 3 updates (#4806) @dependabot[bot]
- capi: throttle signal push for non-enrolled instances and increase the batch size (#4798) @blotus
- ci: fix for ubuntu 26.04 (#4822) @blotus
- build(deps): bump the gomod group with 17 updates (#4807) @dependabot[bot], @blotus
- build(deps): bump the gomod group with 15 updates (#4794) @dependabot[bot]
- build(deps): bump the github-actions group with 5 updates (#4793) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.3-rc1
What's Changed
- build(deps): bump certifi from 2026.1.4 to 2026.10.19 in /build/docker/test by @dependabot[bot] in #4780
- build(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #4777
- build(deps): bump the gomod group with 5 updates by @dependabot[bot] in #4778
- have less characters in the hub test socket name by @sabban in #4785
- build(deps): bump the github-actions group with 5 updates by @dependabot[bot] in #4793
- build(deps): bump the gomod group with 15 updates by @dependabot[bot] in #4794
- [docker] Move final stage to trixie also by @albundy83 in #4804
- pipeline: don't preallocate bucket queues by @AdzerKI in #4800
- exprhelpers: optional scenario argument for GetDecisionsCount, GetActiveDecisionsCount and GetActiveDecisionsTimeLeft by @tommy-ng0 in #4791
- fix parsing of noncompliant RFC3339 timestamps using a space separator by @gilbsgilbs in #4810
- build(deps): bump the gomod group with 17 updates by @dependabot[bot] in #4807
- ci: fix for ubuntu 26.04 by @blotus in #4822
- tls: do not load system CA for auth by @blotus in #4821
- Update coraza by @blotus in #4815
- capi: throttle signal push for non-enrolled instances and increase the batch size by @blotus in #4798
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #4806
- Serve metrics on a dedicated mux and make pprof opt-in by @p-w in #4802
- Version released trigger by @sabban in #4787
- api-client: only use api.client.tls config for LP->LAPI communications by @blotus in #4823
- syslog log_media: only add log hook once by @blotus in #4819
- ci: speed up docker build and publish dev ARM64 images by @blotus in #4792
- packaging: detect api.server.enable: false in postinst by @sabban in #4818
- waf: do not double count query string args by @blotus in #4834
- update to go 1.27.3 by @blotus in #4816
- docker: fix log stream leak on long lines by @blotus in #4826
- WAF: add support for decompressing request bodies by @blotus in #4796
- build(deps): bump the uv group across 1 directory with 3 updates by @dependabot[bot] in #4805
- MatchKnownBot: add support for ASN by @blotus in #4828
- challenge: allow custom challenge page by @blotus in #4680
New Contributors
- @albundy83 made their first contribution in #4804
- @p-w made their first contribution in #4802
Full Changelog: v1.8.2-rc2...v1.8.3-rc1
v1.8.2
Version 1.8.2
- Brings custom JS fingerprinting capabilities to the bot detection feature, allowing both users and us to distribute detection rules directly via the hub.
- Brings rate limiting feature to the WAF.
- Brings performance improvements to the Security Engine, optimizing both memory copy behaviors and relying on static analysis to avoid processing unnecessary regular expressions.
- Brings performance improvements to the WAF, optimizing out-of-band rules processing.
- Brings performance improvements to the Bot Detection, optimizing memory usage.
New Features & Major improvements
- [WAF] Add RateLimiting feature (#4721) @blotus
- [bot-detection] Add custom JS fingerprinting capabilities (#4657) @buixor
- [bot-detection] Add cscli bot subcommand (#4666) @blotus
- [WAF] Improve out-of-band rules performances (#4722) @blotus
- [Security Engine] Run postoverflows in a separate goroutine to avoid blocking on slow enrichments (#4672) @blotus
- [bot-detection] Improve memory usage (#4674) @blotus
- [Security Engine] Various performance improvements to regular expression processing (#4736) (#4731) (#4729) @blotus @buixor
Improvements
- Add
cs_featuresmetric (#4770) @blotus - bot detection: add an option to set SameSite=None + Partitioned flag on cookie (#4764) @blotus
- exprhelpers: add GetDecisionsSinceCountByScenario (#4756) @tommy-ng0
- lapi: optionally limit concurrent decision stream requests (#4747) @tommy-ng0
- exprhelpers: LookupHost goes through the DNS cache (#4741) @twiesing
- metrics: add CAPI last pull timestamp and error counter (#4749) @NazarkinRoman
- prometheus: add kind label to cs_alerts (#4742) @blotus
- lapi: make decisions stream page size configurable (#4733) @tommy-ng0
- Fix ValidateChallengeResponse (#4737) @buixor
- bot-detection: add new FlagSubmission() helper (#4727) @blotus
- appsec: add an optional category to the request score (#4715) @buixor
- apiserver: reload the TLS server certificate when its files change (#4709) @ohartwig
- fix image link (#4702) @buixor
- waf: add SkipProcessing() helper (#4667) @blotus
- [bot-detection] drop the URI from the cookie (#4656) @buixor
Bug Fixes
- acquisition/file: don't send half-written lines, or skip the lines after them (#4678) @n1koo, @blotus, @claude
- fix(cscli): display human-readable timestamps in local time (#4759) @sep2
- remove runtime Fatalf calls (#4760) @blotus
- waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
- docker: read from now if container restarts (#4605) @blotus
- splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
- victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
- metrics: remove series of deleted machines and bouncers (#4712) @somaz94
- buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
- fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
- fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
- hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
- syslog: copy buffer before handing it to the datasource (#4690) @blotus
- Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev
Chore / Deps
- build(deps): bump the gomod group with 5 updates (#4778) @dependabot[bot]
- build(deps): bump the github-actions group with 2 updates (#4777) @dependabot[bot]
- build(deps): bump certifi from 2026.1.4 to 2026.10.19 in /build/docker/test (#4780) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 8 updates (#4766) @dependabot[bot]
- build(deps): bump the gomod group with 16 updates (#4767) @dependabot[bot]
- build(deps): bump the gomod group with 8 updates (#4753) @dependabot[bot]
- fpscanner: use fork (#4761) @blotus
- waf: update to coraza 3.8.0 (#4724) @blotus, @buixor
- build(deps): bump the gomod group across 1 directory with 19 updates (#4730) @dependabot[bot]
- CI: skip more docker tests on windows (#4728) @blotus
- grok: embed grok library instead of having it as a dep (#4725) @blotus
- docker datasource: skip tests on windows (#4719) @blotus
- agents.md: keep comments to a reasonable level (#4716) @blotus
- build(deps): bump the github-actions group with 7 updates (#4693) @dependabot[bot]
- build(deps): bump the gomod group with 11 updates (#4694) @dependabot[bot]
- build(deps): bump github.com/go-openapi/validate from 0.26.5 to 1.0.0 (#4682) @dependabot[bot]
- build(deps): bump the gomod group with 19 updates (#4681) @dependabot[bot]
- build(deps): bump cryptography from 48.0.1 to 50.0.0 in /build/docker/test (#4591) @dependabot[bot]
- bump to go 1.27 (#4675) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4658) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4659) @dependabot[bot]
- AGENTS.md: clearer guidance on tests (#4713) @blotus
- pimp readme (#4701) @buixor
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.2-rc2
Changes
New Features
- waf: add RateLimit() helper (#4721) @blotus
- [bot-detection] Add custom JS fingerprinting capabilities (#4657) @buixor
Improvements
- Add
cs_featuresmetric (#4770) @blotus - bot detection: add an option to set SameSite=None + Partitioned flag on cookie (#4764) @blotus
- exprhelpers: add GetDecisionsSinceCountByScenario (#4756) @tommy-ng0
- lapi: optionally limit concurrent decision stream requests (#4747) @tommy-ng0
- exprhelpers: LookupHost goes through the DNS cache (#4741) @twiesing
- metrics: add CAPI last pull timestamp and error counter (#4749) @NazarkinRoman
- add cscli bot subcommand (#4666) @blotus
- prometheus: add kind label to cs_alerts (#4742) @blotus
- lapi: make decisions stream page size configurable (#4733) @tommy-ng0
- Fix ValidateChallengeResponse (#4737) @buixor
- grok: only keep capture groups that can be accessed in evt.Parsed (#4736) @blotus
- grokky : preshot static strings (#4731) @buixor, @Copilot
- grokky : ParseInto (#4729) @buixor
- bot-detection: add new FlagSubmission() helper (#4727) @blotus
- appsec: add an optional category to the request score (#4715) @buixor
- apiserver: reload the TLS server certificate when its files change (#4709) @ohartwig
- fix image link (#4702) @buixor
- waf: add SkipProcessing() helper (#4667) @blotus
- [bot-detection] drop the URI from the cookie (#4656) @buixor
Bug Fixes
- fix RateLimit() tests (#4771) @blotus
- database: match the alert ip/range filter on a single decision (#4710) @AdzerKI
- acquisition/file: don't send half-written lines, or skip the lines after them (#4678) @n1koo, @blotus, @claude
- fix(cscli): display human-readable timestamps in local time (#4759) @sep2
- waf: use dedicated workers for OOB processing (#4722) @blotus
- remove runtime Fatalf calls (#4760) @blotus
- waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
- docker: read from now if container restarts (#4605) @blotus
- splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
- victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
- metrics: remove series of deleted machines and bouncers (#4712) @somaz94
- postoverflow: run them in a goroutine to not block writers, enforce max in-flight alerts, and warn if queue is becoming too full (#4672) @blotus
- buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
- fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
- fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
- hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
- challenge: optimize memory usage (#4674) @blotus
- syslog: copy buffer before handing it to the datasource (#4690) @blotus
- Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev
Chore / Deps
- build(deps): bump the github-actions group across 1 directory with 8 updates (#4766) @dependabot[bot]
- build(deps): bump the gomod group with 16 updates (#4767) @dependabot[bot]
- build(deps): bump the gomod group with 8 updates (#4753) @dependabot[bot]
- fpscanner: use fork (#4761) @blotus
- waf: update to coraza 3.8.0 (#4724) @blotus, @buixor
- build(deps): bump the gomod group across 1 directory with 19 updates (#4730) @dependabot[bot]
- CI: skip more docker tests on windows (#4728) @blotus
- grok: embed grok library instead of having it as a dep (#4725) @blotus
- docker datasource: skip tests on windows (#4719) @blotus
- agents.md: keep comments to a reasonable level (#4716) @blotus
- build(deps): bump the github-actions group with 7 updates (#4693) @dependabot[bot]
- build(deps): bump the gomod group with 11 updates (#4694) @dependabot[bot]
- build(deps): bump github.com/go-openapi/validate from 0.26.5 to 1.0.0 (#4682) @dependabot[bot]
- build(deps): bump the gomod group with 19 updates (#4681) @dependabot[bot]
- build(deps): bump cryptography from 48.0.1 to 50.0.0 in /build/docker/test (#4591) @dependabot[bot]
- bump to go 1.27 (#4675) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4658) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4659) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.2-rc1
Changes
New Features
Improvements
- exprhelpers: LookupHost goes through the DNS cache (#4741) @twiesing
- metrics: add CAPI last pull timestamp and error counter (#4749) @NazarkinRoman
- add cscli bot subcommand (#4666) @blotus
- prometheus: add kind label to cs_alerts (#4742) @blotus
- lapi: make decisions stream page size configurable (#4733) @tommy-ng0
- Fix ValidateChallengeResponse (#4737) @buixor
- grok: only keep capture groups that can be accessed in evt.Parsed (#4736) @blotus
- grokky : preshot static strings (#4731) @buixor, @Copilot
- grokky : ParseInto (#4729) @buixor
- bot-detection: add new FlagSubmission() helper (#4727) @blotus
- appsec: add an optional category to the request score (#4715) @buixor
- apiserver: reload the TLS server certificate when its files change (#4709) @ohartwig
- fix image link (#4702) @buixor
- waf: add SkipProcessing() helper (#4667) @blotus
- [bot-detection] drop the URI from the cookie (#4656) @buixor
Bug Fixes
- waf: fix log spam when usin unix socket on freebsd (#4745) @blotus
- docker: read from now if container restarts (#4605) @blotus
- splunk-notification: add an option to configure InsecureSkipVerify (#4720) @blotus
- victorialogs: move the datasource to RestartableStreamer interface (#4738) @blotus
- metrics: remove series of deleted machines and bouncers (#4712) @somaz94
- postoverflow: run them in a goroutine to not block writers, enforce max in-flight alerts, and warn if queue is becoming too full (#4672) @blotus
- buckets: make a copy of all event maps before pouring the event to a bucket (#4481) @blotus
- fix(database): keep simulated decisions from suppressing real bans (#4679) @4erdenko, @blotus
- fix a nasty bug in transfrom where the effective uuid for a datasource (#4697) @sabban
- hubtest: add a tiebreaker based on the alert date to have a consistent order (#4699) @blotus
- challenge: optimize memory usage (#4674) @blotus
- syslog: copy buffer before handing it to the datasource (#4690) @blotus
- Expand env vars in online_api_credentials.yaml (#4677) @kushiemoon-dev
Chore / Deps
- waf: update to coraza 3.8.0 (#4724) @blotus, @buixor
- build(deps): bump the gomod group across 1 directory with 19 updates (#4730) @dependabot[bot]
- CI: skip more docker tests on windows (#4728) @blotus
- grok: embed grok library instead of having it as a dep (#4725) @blotus
- docker datasource: skip tests on windows (#4719) @blotus
- agents.md: keep comments to a reasonable level (#4716) @blotus
- build(deps): bump the github-actions group with 7 updates (#4693) @dependabot[bot]
- build(deps): bump the gomod group with 11 updates (#4694) @dependabot[bot]
- build(deps): bump github.com/go-openapi/validate from 0.26.5 to 1.0.0 (#4682) @dependabot[bot]
- build(deps): bump the gomod group with 19 updates (#4681) @dependabot[bot]
- build(deps): bump cryptography from 48.0.1 to 50.0.0 in /build/docker/test (#4591) @dependabot[bot]
- bump to go 1.27 (#4675) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4658) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4659) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.1
This release fixes a false positive in the bot detection feature for Brave Browser with shields enabled.
Changes
Improvements
Bug Fixes
- lapi: return an empty slice instead of null when querying alerts (#4653) @blotus
- challenge: tolerate strings instead of struct in FP payload (#4655) @blotus
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.0
Bot detection with CrowdSec WAF
This release brings a major change to the CrowdSec WAF: a bot detection feature.
If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.
You can find more information about this new feature in the documentation.
Other notable changes include:
- A dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
- New HTTP helpers for the expression language, to query external services from parsers and scenarios
- Performance improvements on the decisions stream endpoint in LAPI
Security Notice
This release fixes 2 denial of service vulnerabilities in the HTTP and k8s-audit datasources:
- HTTP acquisition datasource lacks a decompressed body cap and trusts Content-Length: GHSA-g2x2-jgfg-pg7g
- Unbounded request-body read in kubernetes-audit acquisition webhook: GHSA-rh69-4vqj-9gj8
New Features
Improvements
- challenge: detect if cookies are disabled and display an explicit error message (#4628) @blotus
- db: add composite index for decision dedup (#4619) @blotus
- Improve pow solving : optimize & increase difficulty (#4617) @buixor
- Bot detection unify scores (#4608) @buixor
- Dedup code reject submission alert generation (#4606) @buixor
- make
RejectSubmissiongenerate an alert (#4602) @buixor - waf challenge: add threshold support (#4593) @blotus
- revamp 'cscli console status' to be all-in-one (#4592) @buixor
- [bot-detection] Fix leak of background pre-warmer goroutine (#4589) @buixor
- waf: allow to configure auth timeout to LAPI (#4585) @blotus
- Add cs_machines_heartbeat_seconds metric (#4569) @kushiemoon-dev
- Cscli hub list improvements (#4567) @buixor
- expr: add HTTP helpers (#4533) @blotus
Bug Fixes
- leakybuckets: make alerts own their strings (#4643) @blotus
- alerts: create metas only if alert was not discarded (#4633) @blotus
- k8s-audit: add support for max body size (#4630) @blotus
- Usage metrics: set a maximum payload size (#4629) @blotus
- lapi: use decision id as cursor for delta pull (#4620) @blotus
- acquis(http): Set default max body size and enforce it as well for compressed streams (#4616) @blotus
- acquisition: fix transformation being ignored (#4609) @blotus
- fpscanner: add missing fields (#4604) @blotus
- docs: fix broken Vagrant include link in test README (#4594) @latent-9
- challenge: require SSE4.1 + WX memory (#4590) @blotus
- WAF: supress erroneous warnings/errors when loading config / no rule has matched (#4587) @blotus
- Bot Detection: keep the original URL in the generated alert (#4586) @buixor
- fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
- apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
- cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
- fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
- fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
- waf: track id/name pairs for all subrules (#4505) @blotus
- apiserver: prevent from fetching JWT token from query string (#4554) @blotus
- fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
- loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
- db: use proper mutex when checking if flush can happen (#4528) @blotus
- db: do not flush alerts with active decisions (#4527) @blotus
- Fix
Distinct()panic on[]stringand other non-[]anyslices (#4543) @Synvoya - fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani
Chore / Deps
- build(deps): bump astral-sh/setup-uv from 8.3.2 to 10.0.1 (#4625) @dependabot[bot]
- build(deps): bump google.golang.org/protobuf from 1.36.12-0.20260120151049-f2248ac996af to 1.36.12 (#4627) @dependabot[bot]
- build(deps): bump the gomod group with 16 updates (#4626) @dependabot[bot]
- build(deps): bump the github-actions group with 3 updates (#4624) @dependabot[bot]
- add claude.md to unify contribs (#4618) @buixor
- build(deps): bump actions/setup-go from 6.5.0 to 7.0.0 (#4580) @dependabot[bot]
- build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (#4578) @dependabot[bot]
- build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (#4577) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 5 updates (#4576) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 16 updates (#4612) @dependabot[bot]
- acquisition tests: do not rely on hardcoded timeout to finish tests (#4610) @blotus
- challenge: skip pre-warm in tests (#4611) @blotus
- challenge: update fpscanner to 1.0.8 (#4598) @blotus
- build(deps): bump the gomod group with 6 updates (#4588) @dependabot[bot]
- ci(bats): fix scenarios badge color variable name (#4551) @blotus
- ci(docker): inherit secrets so the docker environment secrets resolve (#4550) @blotus
- build: use version based on latest for dev builds (#4583) @blotus
- build(deps): bump the gomod group with 19 updates (#4581) @dependabot[bot]
- build(deps): bump github.com/quic-go/quic-go from 0.57.0 to 0.59.1 (#4499) @dependabot[bot]
- build(deps): bump cryptography from 46.0.6 to 48.0.1 in /build/docker/test (#4522) @dependabot[bot]
- build(deps-dev): bump ruff from 0.15.20 to 0.15.22 in /build/docker/test in the uv group across 1 directory (#4559) @dependabot[bot]
- WAF: update coraza (#4572) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4558) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4566) @dependabot[bot]
- bump fpscanner to v1.0.7 (#4557) @blotus
- update go-re2 to 1.11.0 (#4478) @blotus
- Unify sqlite build flag (#4525) @zc-devs
- fix TestCryptoObfuscationDefaultPoolSize (#4565) @buixor
- build(deps): bump the gomod group across 1 directory with 30 updates (#4542) @dependabot[bot]
- chore: delete publiccode.yml to comply with the process (#4552) @mazzma12
- build(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 (#4549) @dependabot[bot]
- CI hardening (#4546) @blotus
- fix(docs): set pubblicode.yml to correct version (#4548) @mazzma12
- build(deps): bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 (#4541) @dependabot[bot]
- build(deps): bump codecov/codecov-action from 6.0.0 to 7.0.0 (#4540) @dependabot[bot]
- build(deps-dev): bump the uv group in /build/docker/test with 2 updates (#4537) @dependabot[bot]
- build(deps): bump the github-actions group with 7 updates (#4538) @dependabot[bot]
- build(deps): bump actions/checkout from 6.0.2 to 7.0.0 (#4539) @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.53.0 to 0.55.0 (#4544) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 11 updates (#4524) @dependabot[bot]
- build(deps): bump the uv group across 1 directory with 3 updates (#4519) @dependabot[bot]
- build(deps): bump alpine from 3.23 to 3.24 in /build/docker in the docker group across 1 directory (#4513) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.0-rc2
Bot detection with CrowdSec WAF
This release brings a major change to the CrowdSec WAF: a bot detection feature.
If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.
You can find more information about this new feature in the documentation.
Other notable changes include:
- a dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
- new HTTP helpers for the expression language, to query external services from parsers and scenarios
New Features
Improvements
- challenge: detect if cookies are disabled and display an explicit error message (#4628) @blotus
- db: add composite index for decision dedup (#4619) @blotus
- Improve pow solving : optimize & increase difficulty (#4617) @buixor
- Bot detection unify scores (#4608) @buixor
- Dedup code reject submission alert generation (#4606) @buixor
- make
RejectSubmissiongenerate an alert (#4602) @buixor - waf challenge: add threshold support (#4593) @blotus
- revamp 'cscli console status' to be all-in-one (#4592) @buixor
- [bot-detection] Fix leak of background pre-warmer goroutine (#4589) @buixor
- waf: allow to configure auth timeout to LAPI (#4585) @blotus
- Add cs_machines_heartbeat_seconds metric (#4569) @kushiemoon-dev
- Cscli hub list improvements (#4567) @buixor
- expr: add HTTP helpers (#4533) @blotus
Bug Fixes
- k8s-audit: add support for max body size (#4630) @blotus
- Usage metrics: set a maximum payload size (#4629) @blotus
- lapi: use decision id as cursor for delta pull (#4620) @blotus
- acquis(http): Set default max body size and enforce it as well for compressed streams (#4616) @blotus
- acquisition: fix transformation being ignored (#4609) @blotus
- fpscanner: add missing fields (#4604) @blotus
- docs: fix broken Vagrant include link in test README (#4594) @latent-9
- challenge: require SSE4.1 + WX memory (#4590) @blotus
- WAF: supress erroneous warnings/errors when loading config / no rule has matched (#4587) @blotus
- Bot Detection: keep the original URL in the generated alert (#4586) @buixor
- fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
- apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
- cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
- fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
- fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
- waf: track id/name pairs for all subrules (#4505) @blotus
- apiserver: prevent from fetching JWT token from query string (#4554) @blotus
- fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
- loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
- db: use proper mutex when checking if flush can happen (#4528) @blotus
- db: do not flush alerts with active decisions (#4527) @blotus
- Fix
Distinct()panic on[]stringand other non-[]anyslices (#4543) @Synvoya - fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani
Chore / Deps
- build(deps): bump astral-sh/setup-uv from 8.3.2 to 10.0.1 (#4625) @dependabot[bot]
- build(deps): bump google.golang.org/protobuf from 1.36.12-0.20260120151049-f2248ac996af to 1.36.12 (#4627) @dependabot[bot]
- build(deps): bump the gomod group with 16 updates (#4626) @dependabot[bot]
- build(deps): bump the github-actions group with 3 updates (#4624) @dependabot[bot]
- add claude.md to unify contribs (#4618) @buixor
- build(deps): bump actions/setup-go from 6.5.0 to 7.0.0 (#4580) @dependabot[bot]
- build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 (#4578) @dependabot[bot]
- build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (#4577) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 5 updates (#4576) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 16 updates (#4612) @dependabot[bot]
- acquisition tests: do not rely on hardcoded timeout to finish tests (#4610) @blotus
- challenge: skip pre-warm in tests (#4611) @blotus
- challenge: update fpscanner to 1.0.8 (#4598) @blotus
- build(deps): bump the gomod group with 6 updates (#4588) @dependabot[bot]
- ci(bats): fix scenarios badge color variable name (#4551) @blotus
- ci(docker): inherit secrets so the docker environment secrets resolve (#4550) @blotus
- build: use version based on latest for dev builds (#4583) @blotus
- build(deps): bump the gomod group with 19 updates (#4581) @dependabot[bot]
- build(deps): bump github.com/quic-go/quic-go from 0.57.0 to 0.59.1 (#4499) @dependabot[bot]
- build(deps): bump cryptography from 46.0.6 to 48.0.1 in /build/docker/test (#4522) @dependabot[bot]
- build(deps-dev): bump ruff from 0.15.20 to 0.15.22 in /build/docker/test in the uv group across 1 directory (#4559) @dependabot[bot]
- WAF: update coraza (#4572) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4558) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4566) @dependabot[bot]
- bump fpscanner to v1.0.7 (#4557) @blotus
- update go-re2 to 1.11.0 (#4478) @blotus
- Unify sqlite build flag (#4525) @zc-devs
- fix TestCryptoObfuscationDefaultPoolSize (#4565) @buixor
- build(deps): bump the gomod group across 1 directory with 30 updates (#4542) @dependabot[bot]
- chore: delete publiccode.yml to comply with the process (#4552) @mazzma12
- build(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 (#4549) @dependabot[bot]
- CI hardening (#4546) @blotus
- fix(docs): set pubblicode.yml to correct version (#4548) @mazzma12
- build(deps): bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 (#4541) @dependabot[bot]
- build(deps): bump codecov/codecov-action from 6.0.0 to 7.0.0 (#4540) @dependabot[bot]
- build(deps-dev): bump the uv group in /build/docker/test with 2 updates (#4537) @dependabot[bot]
- build(deps): bump the github-actions group with 7 updates (#4538) @dependabot[bot]
- build(deps): bump actions/checkout from 6.0.2 to 7.0.0 (#4539) @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.53.0 to 0.55.0 (#4544) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 11 updates (#4524) @dependabot[bot]
- build(deps): bump the uv group across 1 directory with 3 updates (#4519) @dependabot[bot]
- build(deps): bump alpine from 3.23 to 3.24 in /build/docker in the docker group across 1 directory (#4513) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.8.0-rc1
Bot detection with CrowdSec WAF
This release brings a major change to the CrowdSec WAF: a bot detection feature.
If enabled, clients will be served a challenge + fingerprinting page before accessing the website.
CrowdSec will evaluate the challenge and check the fingerprint against pre-configured rules to decide whether the client looks legitimate or not.
You can find more information about this new feature in the documentation.
Other notable changes include:
- a dedicated kubernetes datasource: crowdsec will fetch logs directly from the k8s apiserver
- new HTTP helpers for the expression language, to query external services from parsers and scenarios
New Features
Improvements
- Add cs_machines_heartbeat_seconds metric (#4569) @kushiemoon-dev
- Cscli hub list improvements (#4567) @buixor
- expr: add HTTP helpers (#4533) @blotus
Bug Fixes
- fix(docker): allow spaces in ENROLL_INSTANCE_NAME (#4582) @sahilnyk
- apiclient: return nil response if we couldnt connect to LAPI (#4573) @blotus
- cscli lapi register: no error if the credentials file does not exist (#4570) @lopster568
- fix(docker): avoid panic on colliding nested crowdsec labels (#4555) @arpitjain099
- fix(syslog): don't close the shared acquisition output channel (#4553) @alxrxs
- waf: track id/name pairs for all subrules (#4505) @blotus
- apiserver: prevent from fetching JWT token from query string (#4554) @blotus
- fix(leakybucket): emit overflow before pouring the next event (#4547) @blotus
- loki: prevent duplicate log ingestion and improve timestamp handling (#4498) @Anulo2
- db: use proper mutex when checking if flush can happen (#4528) @blotus
- db: do not flush alerts with active decisions (#4527) @blotus
- Fix
Distinct()panic on[]stringand other non-[]anyslices (#4543) @Synvoya - fix(docker): bouncer name strips wrong field from Docker secrets path (#4490) @tejgokani
Chore / Deps
- ci(bats): fix scenarios badge color variable name (#4551) @blotus
- ci(docker): inherit secrets so the docker environment secrets resolve (#4550) @blotus
- build: use version based on latest for dev builds (#4583) @blotus
- build(deps): bump the gomod group with 19 updates (#4581) @dependabot[bot]
- build(deps): bump github.com/quic-go/quic-go from 0.57.0 to 0.59.1 (#4499) @dependabot[bot]
- build(deps): bump cryptography from 46.0.6 to 48.0.1 in /build/docker/test (#4522) @dependabot[bot]
- build(deps-dev): bump ruff from 0.15.20 to 0.15.22 in /build/docker/test in the uv group across 1 directory (#4559) @dependabot[bot]
- WAF: update coraza (#4572) @blotus
- build(deps): bump the github-actions group across 1 directory with 3 updates (#4558) @dependabot[bot]
- build(deps): bump the gomod group across 1 directory with 21 updates (#4566) @dependabot[bot]
- bump fpscanner to v1.0.7 (#4557) @blotus
- update go-re2 to 1.11.0 (#4478) @blotus
- Unify sqlite build flag (#4525) @zc-devs
- fix TestCryptoObfuscationDefaultPoolSize (#4565) @buixor
- build(deps): bump the gomod group across 1 directory with 30 updates (#4542) @dependabot[bot]
- chore: delete publiccode.yml to comply with the process (#4552) @mazzma12
- build(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 (#4549) @dependabot[bot]
- CI hardening (#4546) @blotus
- fix(docs): set pubblicode.yml to correct version (#4548) @mazzma12
- build(deps): bump cloudflare/wrangler-action from 3.15.0 to 4.0.0 (#4541) @dependabot[bot]
- build(deps): bump codecov/codecov-action from 6.0.0 to 7.0.0 (#4540) @dependabot[bot]
- build(deps-dev): bump the uv group in /build/docker/test with 2 updates (#4537) @dependabot[bot]
- build(deps): bump the github-actions group with 7 updates (#4538) @dependabot[bot]
- build(deps): bump actions/checkout from 6.0.2 to 7.0.0 (#4539) @dependabot[bot]
- build(deps): bump golang.org/x/net from 0.53.0 to 0.55.0 (#4544) @dependabot[bot]
- build(deps): bump the github-actions group across 1 directory with 11 updates (#4524) @dependabot[bot]
- build(deps): bump the uv group across 1 directory with 3 updates (#4519) @dependabot[bot]
- build(deps): bump alpine from 3.23 to 3.24 in /build/docker in the docker group across 1 directory (#4513) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.
v1.7.8
New Features
Improvements
- WAF: enforce body size limitation (#4355) @blotus
- Decision stream: move to chunked transfer by default (#4413) @blotus
- cscli: add
--quickflag to enroll command (#4350) @blotus - propose an alternative, cleaner configuration for appsec-config (#4397) @buixor
Bug Fixes
- cscli metrics: don't attempt to create a DB client if there's no DB config (#4451) @blotus
- papi: don't spam logs if chan is closed (#4439) @blotus
- alerts: use single transaction when creating alert and all related items (#4438) @blotus
- LAPI: enforce maximum body size for decompression
Chore / Deps
- build(deps): bump the gomod group across 1 directory with 34 updates (#4453) @dependabot[bot]
- build(deps): bump the github-actions group with 2 updates (#4447) @dependabot[bot]
- build(deps): bump alpine from 3.21 to 3.23 in /build/docker in the docker group across 1 directory (#4441) @dependabot[bot]
- build(deps): bump the github-actions group with 7 updates (#4443) @dependabot[bot]
- build(deps): bump the uv group in /build/docker/test with 3 updates (#4442) @dependabot[bot]
- db: add some missing indexes (#4435) @blotus
- Dependencies update (#4412) @blotus
- add PAPI metrics (#4411) @blotus
- build(deps): bump github.com/aws/aws-lambda-go from 1.47.0 to 1.54.0 (#4402) @dependabot[bot]
- build(deps): bump docker/login-action from 4.0.0 to 4.1.0 (#4403) @dependabot[bot]
- build(deps): bump github.com/google/go-querystring from 1.1.0 to 1.2.0 (#4400) @dependabot[bot]
- build(deps): bump actions/setup-go from 6.3.0 to 6.4.0 (#4404) @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/sqs from 1.42.3 to 1.42.25 (#4405) @dependabot[bot]
- build(deps): bump release-drafter/release-drafter from 6.4.0 to 7.1.1 (#4381) @dependabot[bot]
- build(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0 (#4388) @dependabot[bot]
- build(deps): bump schneegans/dynamic-badges-action from 1.7.0 to 1.8.0 (#4393) @dependabot[bot]
- build(deps): bump astral-sh/setup-uv from 7.6.0 to 8.0.0 (#4394) @dependabot[bot]
- build(deps): bump github/codeql-action from 4.33.0 to 4.35.1 (#4395) @dependabot[bot]
- update dependabot config (#4440) @blotus
- build(deps): bump requests from 2.32.5 to 2.33.0 in /build/docker/test (#4389) @dependabot[bot]
- build(deps): bump cryptography from 46.0.5 to 46.0.6 in /build/docker/test (#4391) @dependabot[bot]
- build(deps): bump pygments from 2.19.2 to 2.20.0 in /build/docker/test (#4396) @dependabot[bot]
Geolite2 notice
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
Installation
Take a look at the installation instructions.