
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.
callbag-take
Advanced tools
Callbag operator that limits the amount of data sent by a source. Works on either pullable and listenable sources.
npm install callbag-take
On a listenable source:
const interval = require('callbag-interval');
const observe = require('callbag-observe');
const take = require('callbag-take');
const source = take(3)(interval(1000));
source(0, observe(x => console.log(x))); // 0
// 1
// 2
On a pullable source:
const fromIter = require('callbag-from-iter');
const iterate = require('callbag-iterate');
const take = require('callbag-take');
function* range(from, to) {
let i = from;
while (i <= to) {
yield i;
i++;
}
}
const source = take(4)(fromIter(range(100, 999)));
source(0, iterate(x => console.log(x))); // 100
// 101
// 102
// 103
FAQs
Callbag operator that limits the total amount of data sent through
The npm package callbag-take receives a total of 3,362 weekly downloads. As such, callbag-take popularity was classified as popular.
We found that callbag-take demonstrated a not healthy version release cadence and project activity because the last version was released 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.