
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.
print-binary-tree
Advanced tools
1. Prebuilt JavaScript `node ./dist/print-binary-tree.js ` 1. Running TypeScript source code:
node ./dist/print-binary-tree.js <path-to-json># with yarn:
yarn install
./node_modules/.bin/ts-node src/print-binary-tree.ts "<path-to-json>"
# with npm:
npm install
npx ts-node src/print-binary-tree.ts "<path-to-json>"
npm install -g .
# or
npm install -g print-binary-tree
# or
yarn global add print-binary-tree
print-binary-tree "<path-to-json>"
Tree is stored in JSON format, all nodes are array of three elements: first is number value, second and third are children, that could be either new node or null.
Examples:
[0, null, null]
[0, [1, null, null], [2, null, null]]
Other examples can be found in examples folder.
FAQs
1. Prebuilt JavaScript `node ./dist/print-binary-tree.js ` 1. Running TypeScript source code:
We found that print-binary-tree 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.

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.