UNPKG

eslint-plugin-prototype-pollution-security-rules

Version:

Detect the use of vulnerable features within some libraries from https://github.com/HoLyVieR/prototype-pollution-nsec18/ that are not yet fixed

23 lines (14 loc) 616 B
/** * @fileoverview Prototype Pollution Rules * @author Lewis Ardern */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var requireIndex = require("requireindex"); //------------------------------------------------------------------------------ // Plugin Definition //------------------------------------------------------------------------------ // import all rules in lib/rules module.exports.rules = requireIndex(__dirname + "/rules");