
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@nodesecure/ntlp
Advanced tools
Fetch all licenses and their SPDX conformance from a given npm tarball.
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @nodesecure/ntlp
# or
$ yarn add @nodesecure/ntlp
import * as ntlp from "@nodesecure/ntlp";
// Asynchronous
{
const licenses = await ntlp.extractLicenses(process.cwd());
console.log(licenses);
}
// Synchronous
{
const licenses = ntlp.extractLicensesSync(process.cwd());
console.log(licenses);
}
Search and parse all licenses at the given location.
Return all licenses with their SPDX conformance.
import {
spdxLicenseConformance
} from "@nodesecure/licenses-conformance";
export interface SpdxLicenseConformance extends spdxLicenseConformance {
from: string;
}
export interface SpdxExtractedResult {
/**
* List of license (with their SPDX conformance)
*/
licenses: SpdxLicenseConformance[];
/**
* Has multiple unique licenses (MIT, ISC ..)
*/
hasMultipleLicenses: boolean;
/**
* Unique list of license (MIT, ISC). The list cannot contain duplicate.
*/
uniqueLicenseIds: string[];
/**
* List of licenses with no SPDX (or with invalid ids).
*/
invalidLicenseIds: string[];
}
Same as extractLicenses but use synchronous FS API.
Thanks goes to these wonderful people (emoji key):
Gentilhomme 💻 📖 👀 🛡️ 🐛 | Tony Gorez 💻 📖 👀 | Quentin Lepateley 📖 | Nicolas Hallaert 📖 | Vincent Dhennin 💻 | Kouadio Fabrice Nguessan 🚧 |
MIT
FAQs
npm tarball license parser and conformance checker
The npm package @nodesecure/ntlp receives a total of 13 weekly downloads. As such, @nodesecure/ntlp popularity was classified as not popular.
We found that @nodesecure/ntlp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.