Gathering detailed insights and metrics for koa-one-time-csrf
Gathering detailed insights and metrics for koa-one-time-csrf
Gathering detailed insights and metrics for koa-one-time-csrf
Gathering detailed insights and metrics for koa-one-time-csrf
npm install koa-one-time-csrf
Typescript
Module System
Node Version
NPM Version
60.2
Supply Chain
61.4
Quality
73.9
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
2,344
Last Day
1
Last Week
8
Last Month
9
Last Year
133
9 Commits
2 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.1.4
Package Id
koa-one-time-csrf@0.1.4
Size
2.76 kB
NPM Version
3.9.5
Node Version
6.2.2
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
700%
8
Compared to previous week
Last month
200%
9
Compared to previous month
Last year
-26.9%
133
Compared to previous year
#Koa one time csrf
One time csrf middleware fro koa2
npm install
app.use(require('koa-one-time-csrf')(opts))
ctx.body = await ctx.getNewCsrf();
const defaultOptions = {
maxAge: 1000 * 60 * 60, //tokens store in reids max age
prefix: 'afcsrf', //redis key prefix
redis: { //redis config
host: '127.0.0.1',
prot: 6379,
db: 0,
},
};
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/9 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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2024-12-23
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