
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.
pull-flatten-deep
Advanced tools
Pull-stream which recursively flattens streams of streams.
const pull = require('pull-stream')
const flattenDeep = require('pull-flatten-deep')
pull(
pull.values([1, 2, pull.values([3, 4, pull.values([5, 6]), 7, 8, pull.values([9, 10, pull.values([11, 12])])])]),
flattenDeep(),
pull.collect(function (err, all) {
console.log(all.toString() === [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].toString())
// true
})
)
Usage: pull(source, flattenDeep(), sink)
Provides a pull stream through which flattens nested streams, and like pull.flatten, runs them sequentially.
$ npm install pull-flatten-deep
This function is heavily based on [dominictarr]'s original pull.flatten. Imitation is the sincerest form of flattery.
FAQs
Pull-stream which recursively flattens streams of streams
We found that pull-flatten-deep 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.