Gathering detailed insights and metrics for lerna-audit
Gathering detailed insights and metrics for lerna-audit
Gathering detailed insights and metrics for lerna-audit
Gathering detailed insights and metrics for lerna-audit
npm install lerna-audit
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
9 Stars
97 Commits
11 Forks
3 Watching
8 Branches
7 Contributors
Updated on 05 Aug 2022
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
3.7%
2,112
Compared to previous day
Last week
-6%
12,437
Compared to previous week
Last month
7.5%
56,576
Compared to previous month
Last year
-1.7%
697,634
Compared to previous year
Micro util to run npm audit for lerna packages (with autofix).
In the root of your lerna monorepo run:
npm i lerna-audit -D
or
yarn add lerna-audit -D
In the root of your lerna monorepo run:
npx lerna-audit [OPTIONS]
Or add a script to your package.json
in root:
1{ 2 "scripts": { 3 "audit": "lerna-audit" 4 } 5}
Parameter | Default | Description |
---|---|---|
--no-fix | false | (optional) Do not fix the found vulnerabilities, just audit |
Lerna works in a way that it manages "internal" dependencies within your monorepo by managing all relevant npm link
commands for you in local development. So you can keep the dependencies to other packages in the monorepo in your package.json while linking the latest versions during development. The downside is that all commands that depend on the dependencies defined in package.json
s will fail because "internal" packages are just linked and not yet published. One of this commands is npm audit
because it tires to analyse the dependency tree. lerna-audit
mimics the behavior of lerna - removing internal packages from package.json, run the command, restore package.json - to run a npm fix
in every lerna managed package.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
Found 3/13 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 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