Gathering detailed insights and metrics for yarn-audit-html
Gathering detailed insights and metrics for yarn-audit-html
Gathering detailed insights and metrics for yarn-audit-html
Gathering detailed insights and metrics for yarn-audit-html
npm install yarn-audit-html
57.6
Supply Chain
91.4
Quality
75.9
Maintenance
100
Vulnerability
99.6
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
29 Stars
184 Commits
13 Forks
2 Watching
10 Branches
6 Contributors
Updated on 27 Sept 2024
TypeScript (54.66%)
EJS (32.77%)
JavaScript (12.38%)
Shell (0.19%)
Cumulative downloads
Total Downloads
Last day
5.1%
1,867
Compared to previous day
Last week
4.5%
10,269
Compared to previous week
Last month
10%
43,417
Compared to previous month
Last year
4.9%
522,597
Compared to previous year
16
1
1yarn add -D yarn-audit-html 2# or globally 3yarn global add yarn-audit-html
To generate a report, run the following:
1yarn audit --json | yarn yarn-audit-html
1yarn npm audit --json | yarn yarn-audit-html
By default, unique vulnerability list will be generated (Grouped by MODULE_NAME
, VERSION
, VULNERABLE_VERSIONS
,
ADVISORY_CREATED_DATE
and CWE
) to yarn-audit.html
. This way, even if same version of package has multiple
vulnerabilities, they will be counted.
If you want to specify the output file, add the --output
option:
1yarn audit --json | yarn yarn-audit-html --output report.html
You can also fully customize the generated report by providing --template
option followed by your own EJS template:
1yarn audit --json | yarn yarn-audit-html --template ./my-awesome-template.ejs
There is also a possibility to change default theme(materia) to any of available in
Bootswatch with --theme
option followed by theme name: p.s. In future
major release default template will change to dark theme.
1yarn audit --json | yarn yarn-audit-html --theme darkly
If you'd like the generator to exit with non-zero exit code when vulnerabilities are found, you can add the
--fatal-exit-code
option:
1yarn audit --json | yarn yarn-audit-html --fatal-exit-code
Inspired by npm-audit-html package.
See changelog here.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
8 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2024-11-25
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