Skip to content

Releases: timokoessler/easy-waf

v0.6.0 - XML Injection and Prototype Pollution

31 Mar 13:02
a01956c
Compare
Choose a tag to compare

Added

  • XML injection module to prevent very basic and common xml attacks
  • Added notice that this project is more an educational tool and not a professional security solution

Changed

  • Improve prototype pollution detection
  • Update dev dependencies fixing CVE-2024-29041

v0.5.2 - Fix CommonJS import

19 Jan 19:34
0f2cba3
Compare
Choose a tag to compare
Pre-release

Changed

  • Fix package.json - CommonJS import now works again
  • Update dependencies

Thanks @kelvinwop for reporting the bug.

v0.5.1 - Async Hooks, GitHub Actions and some improvements

07 Oct 15:25
c359785
Compare
Choose a tag to compare

Changed

  • Hooks can now be async functions
  • Minimal improvements to sql detection
  • Prevent false positive xss detection
  • Publish via GitHub Actions
  • Added prettier
  • Updated dependencies

v0.5.0 - TypeScript, ESM and Fake Crawlers

03 Jul 18:26
08c407a
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Package is now published as an ECMAScript module (ESM) and a CommonJS module (CJS)
  • CommonJS require syntax has changed. You now have to use require('easy-waf').default; instead of require('easy-waf');
  • Renamed fakeSearchCrawlers module to fakeCrawlers

Added

  • Added Facebook, Twitter and Pinterest to fake crawlers detection

Changed

  • Code is now written in TypeScript instead of JavaScript
  • Package is now published as an ECMAScript module (ESM) and a CommonJS module (CJS)
  • The fake crawlers whitelist will now be downloaded from the repository easy-waf-data
  • The performance of IP lists has been significantly increased (netparser is used instead of cidr-matcher)
  • Node.js v20 is used in GitHub Actions
  • Updated dependencies

v0.4.0 - HTTP Parameter Pollution, bug fixes and more

23 Jan 19:00
8a4d8b3
Compare
Choose a tag to compare

Added

  • HTTP Parameter Pollution module - Replaces array parameters with their last value (req.query must be set by a web framework)
  • README.md with module descriptions to lib/modules
  • Issue templates and CONTRIBUTING.md

Changed

  • Fixed critical bug in "Block Tor Exit Nodes" module
  • Improved tests and updated examples
  • Code refactoring

v0.3.1 - Security Update

17 Dec 10:45
5a0a737
Compare
Choose a tag to compare
Pre-release

Changed

  • Update dependencies to fix CVE-2022-24999 (only devDependencies affected)
  • Improve prototype pollution detection

v0.3.0 - Hooks, improvements and bug fixes.

06 Nov 15:38
9a951cc
Compare
Choose a tag to compare

Added

  • Added Pre- and Post-Block-Hooks, which makes it possible to have your own whitelist rules or notifications.
  • Log request method
  • Validate ip addresses in cidr notation before adding to search crawler whitelist
  • Example of how to send notifications when a request is blocked
  • Bug fix: Remove unicode character "Zero Width Space" (200B) in bing ip adresses

Changed

  • Bug fix: replace quotation marks in logs (user agent and url)
  • Remove googleusercontent.com from trusted urls for fake search crawler detection
  • Remove Not and Petalbot from bad bot list

v0.2.0 - The second beta version

23 Oct 14:23
b50321b
Compare
Choose a tag to compare
Pre-release

Added

  • Fake search crawlers module: Blocks crawlers pretending to be a bot from major search engines or internet companies
  • Modules can now have a check method with callback
  • Added Security.md

Changed

  • UptimeRobot and archive.org are not longer blocked
  • Remove quotation marks in url or useragent when logging
  • README.md updates

Full Changelog: v0.1.0...v0.2.0

v0.1.0 - The first beta version

03 Oct 09:25
2acc1ed
Compare
Choose a tag to compare
Pre-release

Hello world! This is the initial beta release.