node-fusker is less than a day old and only had a few hours of work put into it. Please give it time to mature before you pass any judgement
node-fusker is a library to prevent and manage a multitude of attacks in nodejs
To install node-fusker, use npm:
$ npm install fusker
List of included detection modules (detectives)
csrf - Detects cross-site request forgery in incoming http requests xss - Detects common XSS attacks in incoming http requests sqli - Detects SQLi attempts in incoming http requests lfi - Detects common LFI attacks in incoming http requests 404 - Punishes people who like to snoop around. Only use with single page applications
List of included payload modules
blacklist - Blacklists IP for specified amount of time (banLength in config) saxroll - Redirects attacker to 1227.com nimp - Redirects attacker to fusker.on.nimp.org (WARNING: Harmful to attacker) nyan - Redirects attacker to nyan.cat goatse - Redirects attacker to goatse.bz (WARNING: Harmful to eyes) bush - Redirects attacker to George W. Bush "you just fell for the trap"
Add a .js or .coffee file to the 'detectives' directory of the module.
Example: Adding msi.js to /lib/detectives/ will allow you to fusker.detectives.push('msi');
Add a .js or .coffee file to the 'payloads' directory of the module.
Example: Adding wigi-bomb.js to /lib/payloads/ will allow you to fusker.payloads.push('wigi-bomb');
Copyright (c) 2011 Fractal firstname.lastname@example.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.