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
@teamteanpm2024/numquam-nisi-laborum
security holding package
@teamteanpm2024/incidunt-possimus-cumque
security holding package
@teamteanpm2024/quidem-accusantium-maiores
<h1 align=center> <a href="http://@teamteanpm2024/quidem-accusantium-maioresjs.com" title="Chai Documentation"> <img alt="ChaiJS" src="http://@teamteanpm2024/quidem-accusantium-maioresjs.com/img/@teamteanpm2024/quidem-accusantium-maiores-logo.png">
@teamteanpm2024/non-in-quam
security holding package
npm install fastify-xss-filter
Typescript
Module System
Min. Node Version
Node Version
NPM Version
50.6
Supply Chain
88
Quality
72.1
Maintenance
50
Vulnerability
98.8
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
8 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Nov 29, 2024
Latest Version
0.3.0
Package Id
fastify-xss-filter@0.3.0
Unpacked Size
5.84 kB
Size
2.60 kB
File Count
4
NPM Version
6.1.0
Node Version
10.6.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/8 approved changesets -- 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
69 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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