Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
fuzzstream
Advanced tools
Readme
fuzzstream is a pass-through stream that re-chunks incoming data and induces arbitrary delays before propagating data in order to exercise corner cases in Readable stream consumers.
$ cat examples/fuzzstream.js
/*
* examples/fuzzstream.js: basic FuzzStreams example
*/
var FuzzStream = require('../lib/fuzzstream');
var start, stream;
start = Date.now();
console.log('%dms: start', Date.now() - start);
/* Defaults: randomly chunk up data and induce propagation delays up to 3s. */
stream = new FuzzStream();
stream.on('data', function (chunk) {
console.log('%dms: "%s"', Date.now() - start, chunk.toString('utf8'));
});
stream.on('end', function () {
console.log('%dms: end', Date.now() - start);
});
stream.write('What a piece of work is man. ');
stream.write('How noble in reason, how infinite in faculty, ');
stream.write('in action how like an angel, ');
stream.write('in apprehension how like a god!');
stream.write('');
stream.end('End transmission.');
$ node examples/fuzzstream.js
1ms: start
31ms: "What a piece of work is man"
32ms: ". "
32ms: "How noble in reason, how infinite in faculty, in action how like an
angel, "
43ms: "in apprehension how li"
55ms: "ke"
147ms: " a god!"
168ms: "End transmission."
168ms: end
Pull requests should be "make prepush" clean.
FAQs
Induce corner-case behavior in a Readable stream consumer
The npm package fuzzstream receives a total of 1 weekly downloads. As such, fuzzstream popularity was classified as not popular.
We found that fuzzstream 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.