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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i attack-pattern

Weekly Downloads

1

Version

0.0.1

License

GPL-3.0

Last publish

Collaborators

  • warningbot