
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
Write to streams, respecting backpressure.
Write random numbers to an http response until it ends:
var write = require('co-write');
var co = require('co');
var http = require('http');
http.createServer(function(req, res){
co(function*(){
while (true) {
var open = yield write(res, ''+Math.random());
if (!open) return;
}
})();
}).listen(8000);
Write chunk to stream and block until stream is writable again.
Returns false when stream ended and you should stop writing to it.
Throws when stream already ended.
When an HTTP request ended, the HTTP response stays writable, only it's
underlying socket closes. To stay consistent with other streams' behavior,
in that case write() will throw an error itself.
$ npm install co-write
MIT
FAQs
Write to streams, respecting backpressure
The npm package co-write receives a total of 16 weekly downloads. As such, co-write popularity was classified as not popular.
We found that co-write 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.