Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
license-drama-check
Advanced tools
Check node_modules for "open source" licenses altered to deny license to certain entities
A simple Node.js package to check your dependencies for any open source license shenanigans that deny license to certain entities.
yarn add license-drama-check
or
npm install license-drama-check
The package can be user either in CLI or programatically, as a function.
After installing the package, the CLI command is:
license-drama-check
If your package manager doesn't set the command up properly, you can always run it with
./node_modules/license-drama-check/run.js
To use programatically, import the module, which is a function and call it:
const check = require('license-drama-check');
const result = check();
The return value is true if a problem is found or false if no problems are found.
If you're using shelljs or a similar package to change cwd in your script, make sure to call the function while cwd is the root of your project.
PRs to make the script smarter or simply cover any changes in wording in the affected projects are greatly appreciated.
The purpose of this package is to detect any potentially harmful open source license tampering. Any similarities with a case of open source license drama, past, present or future, may or may not be intentional.
FAQs
Check node_modules for "open source" licenses altered to deny license to certain entities
We found that license-drama-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.