• Stars
    star
    324
  • Rank 129,708 (Top 3 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created over 13 years ago
  • Updated almost 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fusker is a static HTTP server that provides optional security features for HTTP/Socket.io

Fusker is an application firewall that prevents and manages a multitude of attacks in nodejs

How it works

Installation

To install fusker, use npm:

$ npm install fusker

Example

Please see the examples folder to get an idea of how to use Fusker properly

Test Site

You think you're one raw dog? fusker.nodester.com Come at me bro.

HTTP Configuration

List of included HTTP 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 HTTP payload modules

blacklist - Blacklists IP from HTTP server for specified amount of time (banLength in config)
fake-report - Alerts attacker that they have been reported to ic3 and displays DOJ logo
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 full screen George W. Bush "you just fell for the trap"
lemonparty - Redirects attacker to lemonparty.org (WARNING: Harmful to eyes)
meatspin - Redirects attacker to meatspin.com (WARNING: Harmful to eyes)
explosive-impact - Redirects attacker to fullscreen video of ranting
raggedyann - Redirects attacker to extreme speaker rape. (WARNING: Harmful to speakers)
crews - Displays Terry Crews nipple dance rainbow b& page

Socket.io Configuration

List of included SocketIO detection modules (detectives)

xss - Detects common XSS attacks in incoming socket messages
sqli - Detects SQLi attempts in incoming socket messages
lfi - Detects common LFI attacks in incoming socket messages

List of included SocketIO payload modules

blacklist - Blacklists IP from SocketIO server for specified amount of time (banLength in config)

Other Configuration

Express Middleware

Please see this for a working express example. It's as easy as app.use(fusker.express.check); Detectives/payloads are the same as they would be for the fusker HTTP server. Make sure fusker is the first piece of middleware added.

PROTIP BRO

Setting config.silent to true will turn off all logging Setting config.verbose to true will turn on a ton of logging

LICENSE

(MIT License)

Copyright (c) 2011 Fractal [email protected]

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.

More Repositories

1

crudify

Mongoose CRUD generator
CoffeeScript
75
star
2

vein

RPC via WebSockets
JavaScript
54
star
3

npkg

Creates cross-platform installers for NodeJS applications
CoffeeScript
53
star
4

pane

Cross-platform desktop applications in node.js
C++
38
star
5

product-boilerplate

Quick sample for hackathons/products
CoffeeScript
30
star
6

nodeinfo

Displays NodeJS information - similar to phpinfo() but with fancy graphs and controls
CoffeeScript
30
star
7

node-obf

Javascript code obfuscator for NodeJS
JavaScript
26
star
8

status

System automation on steroids
CoffeeScript
26
star
9

pulsar

Events/PubSub via WebSockets
JavaScript
20
star
10

lute

static dev server
JavaScript
19
star
11

jaded

Alternative Jade CLI/Plugin system
CoffeeScript
17
star
12

npm-boilerplate-js

JavaScript
16
star
13

midistream

Streaming MIDI file parser
JavaScript
15
star
14

xemplar

Community collection of RegEx patterns
CoffeeScript
15
star
15

swear

Tiny and simple promises for the browser and node
CoffeeScript
13
star
16

macrojs

Macros for node
CoffeeScript
10
star
17

no

is no
JavaScript
8
star
18

shallow

Github pages blog engine based around Substance.io
JavaScript
7
star
19

goosestrap

bootstrap mongoose
CoffeeScript
7
star
20

react-gandalf

React wizard step component
JavaScript
7
star
21

thread

Threading for node
CoffeeScript
7
star
22

recorder

Record video tags and media streams
JavaScript
7
star
23

extension-boiler

Chrome extension boiler
CoffeeScript
7
star
24

rooter

Tiny cross-platform hashchange/routing for the browser
CoffeeScript
7
star
25

mixer

Modules with events and mixins
JavaScript
6
star
26

protosock

Framework for building network protocols
JavaScript
6
star
27

node-digest

HTTP Digest authentication for NodeJS
CoffeeScript
6
star
28

startup-browser

CoffeeScript
6
star
29

blackboard

Hands on lesson plan utility
JavaScript
6
star
30

shake

Deployment tool for node
CoffeeScript
6
star
31

yolo

Simple wrapper around v8 internals
C
5
star
32

chanjs

Imageboard using node, coffee-script, vein, and dermis.
JavaScript
5
star
33

react-tabbar

JavaScript
5
star
34

factorial

returns the factorial of a number
JavaScript
5
star
35

hookify

Middleware everything
CoffeeScript
5
star
36

react-sidetap

JavaScript
5
star
37

seedling

help create seed data for mongoose
CoffeeScript
5
star
38

mongoose-adventure

JavaScript
5
star
39

commando

CLI Microframework
CoffeeScript
4
star
40

meatbot

Meatspace bot framework
JavaScript
4
star
41

singly

Singly authentication for single page apps
JavaScript
4
star
42

sprock

Native proxy implementation
C
4
star
43

node-log

Simple logger for NodeJS
CoffeeScript
4
star
44

protege

Protege is a NodeJS extension library
CoffeeScript
4
star
45

jab

xmpp client
CoffeeScript
4
star
46

fractal

Utilities/snippets
CoffeeScript
4
star
47

e

Error management and utilities
CoffeeScript
3
star
48

warlock

DSTM/Atomic transactions via WebSockets for JS
JavaScript
3
star
49

slate

Barebones server with extensible middleware
CoffeeScript
3
star
50

benji

Simple asynchronous node benchmarks
CoffeeScript
3
star
51

boxy

abstracted sandboxing for node.js
CoffeeScript
3
star
52

ton

Typed object notation
CoffeeScript
3
star
53

rp-compress

Recursive pair compression/byte pair encoding for nodejs
CoffeeScript
3
star
54

ipbind

Binding functionality for outbound sockets
CoffeeScript
3
star
55

hotplate

boilerplate
CoffeeScript
3
star
56

jsonc

JSON with compression
CoffeeScript
3
star
57

backpage-scraper

CoffeeScript
3
star
58

dox

Fancy JS documentation in the browser
CoffeeScript
3
star
59

eventing-pubsub-workshop

JavaScript
2
star
60

modulate

name-spaced module loader
CoffeeScript
2
star
61

components

Reusable, require-able, and highly modular react components
JavaScript
2
star
62

extenze

coffeescript mixins
CoffeeScript
2
star
63

EventRouter

Routing/filtering functionality for EventEmitter
CoffeeScript
2
star
64

minson

JSON with minimum functionality
2
star
65

UselessJS

NodeJS full stack framework
CoffeeScript
2
star
66

holla-singly

Singly authentication for holla
CoffeeScript
2
star
67

spex

simple BDD-inspired specifications
CoffeeScript
2
star
68

bson-ton

BSON/MongoDB types for ton
CoffeeScript
2
star
69

argus

Complex CLI argument parser
CoffeeScript
2
star
70

ipcannon

CoffeeScript
1
star
71

spex-cli

cli for spex
CoffeeScript
1
star
72

contractor

personify contract parser
CoffeeScript
1
star
73

node-term

Node shell
CoffeeScript
1
star
74

enterprise

Scales your enterprise to the cloud
CoffeeScript
1
star
75

iso

v8 isolates for node
C
1
star
76

node-rayo

NodeJS client for the Rayo protocol
CoffeeScript
1
star
77

bro

Broscript
CoffeeScript
1
star
78

react-semantic

A set of react components inspired by semantic-ui
JavaScript
1
star
79

snapi

Pluggable API framework
CoffeeScript
1
star
80

slate-hogan

Hogan.js adapter for slate
CoffeeScript
1
star
81

critic

Provides media critiques powered by ThePirateBay
CoffeeScript
1
star
82

beigebox

CoffeeScript
1
star
83

mongo-ton

MongoDB native types for ton
CoffeeScript
1
star
84

slate-haml-coffee

haml-coffee adapter for slate
CoffeeScript
1
star
85

Chattr-Zepto-PoC

1
star
86

Chattr-JQuery-PoC

JavaScript
1
star
87

spex-util

CoffeeScript
1
star
88

silo

Low level storage adapters
CoffeeScript
1
star
89

parsimony

CoffeeScript
1
star
90

fullstack-javascript

JavaScript
1
star
91

slate-jade

Jade adapter for slate
CoffeeScript
1
star
92

node-dep

NodeJS dependency analyzer
CoffeeScript
1
star
93

phono

Wrapper around phono
JavaScript
1
star
94

slate-sass

Sass adapter for slate
CoffeeScript
1
star
95

data-file

For when you just need a local file
JavaScript
1
star
96

slice

utility backbone
CoffeeScript
1
star
97

soundcloud

Soundcloud API client
JavaScript
1
star
98

tease

A tiny AMD loader
JavaScript
1
star
99

boiler-old

dermis + vein + jade + coffee + mocha + grunt
CoffeeScript
1
star
100

cartel

CLI for automatically logging in at cartel coffee shops
JavaScript
1
star