attack-pattern

0.0.1 • Public • Published

Attack Pattern

License: GPL v3 CircleCI

Attack Pattern is a npm package which detects attack patterns. This is used in the Warning Bot Extensions and Warning Bot webapp. The first version only checks certain attack pattern for url's, but this will be improved over time with more attacks and different attack surfaces.

import 'attackPattern' from 'attackPattern'
 
attackPattern.url.hasScriptInLink('https://www.warningbot.com/') // false
attackPattern.url.hasScriptInLink('https://www.warningbot.com/analyzer/<script>alert("xss")</script>') // true

Readme

Keywords

Package Sidebar

Install

npm i attack-pattern

Weekly Downloads

1

Version

0.0.1

License

GPL-3.0

Last publish

Collaborators

  • warningbot