
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@11ty/dependency-tree-esm
Advanced tools
Finds all JavaScript ES Module dependencies from a filename.
dependency-tree-esmReturns an unordered array of local paths to dependencies of a Node ES module JavaScript file.
dependency-tree for the CommonJS version.This is used by Eleventy to find dependencies of a JavaScript file to watch for changes to re-run Eleventy’s build.
npm install --save-dev @11ty/dependency-tree-esm
import "my-package")import "path")// my-file.js
// if my-local-dependency.js has dependencies, it will include those too
import "./my-local-dependency.js";
// ignored, is a built-in
import path from "path";
import { find } from "@11ty/dependency-tree-esm";
// CommonJS is fine too
// const { find } = require("@11ty/dependency-tree-esm");
await find("./my-file.js");
// returns ["./my-local-dependency.js"]
Return a dependency-graph instance:
import { findGraph } from "@11ty/dependency-tree-esm";
// CommonJS is fine too
// const { find } = require("@11ty/dependency-tree-esm");
(await findGraph("./my-file.js")).overallOrder();
// returns ["./my-local-dependency.js", "./my-file.js"]
FAQs
Finds all JavaScript ES Module dependencies from a filename.
The npm package @11ty/dependency-tree-esm receives a total of 94,999 weekly downloads. As such, @11ty/dependency-tree-esm popularity was classified as popular.
We found that @11ty/dependency-tree-esm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.