Gathering detailed insights and metrics for fastify-xss-filter
Gathering detailed insights and metrics for fastify-xss-filter
Gathering detailed insights and metrics for fastify-xss-filter
Gathering detailed insights and metrics for fastify-xss-filter
xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
@fastify/busboy
A streaming parser for HTML form data for node.js
xss-filters
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
fastify
Fast and low overhead web framework, for Node.js
npm install fastify-xss-filter
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Stars
8 Commits
2 Watching
1 Branches
1 Contributors
Updated on 24 Oct 2018
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
200%
6
Compared to previous week
Last month
27.3%
14
Compared to previous month
Last year
-1%
196
Compared to previous year
1
1
Fastify plugin to set the X-XSS-Protection header.
You may know x-xss-protection as a xss filter middleware used in helmet. And you could use it as a middleware in fastify also. So why i made this plugin?
You may find the reason in benchmark result and wish you like it. :)
This plugin has passed all x-xss-protection test cases. And no difference in options.
Via npm:
1npm i fastify-xss-filter
Via yarn:
1yarn add fastify-xss-filter
1const fastify = require('fastify'); 2const fastifyXssFilter = require('fastify-xss-filter'); 3 4const app = fastify(); 5app.register(fastifyXssFilter, { 6 // Your options 7}); 8 9app.listen(3000, err => { 10 if (err) throw err; 11});
This plugin has the same options as helmet.
Set report URI in header, you may find more detail here.
Force to set header for IE whos version under 9. Default is false
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
67 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More