
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
protocol-buffers-stream
Advanced tools
Streaming protocol buffers for Node.js
npm install protocol-buffers-stream
Assuming you have the following schema
message Test {
required string hello = 1;
}
Run the following example
var protobufs = require('protocol-buffers-stream')
var fs = require('fs')
var schema = fs.readFileSync('schema.proto')
var createStream = protobufs(schema)
var stream = createStream()
// send a test message
// if your schema message was named example this method would be called example
stream.test({
hello: 'world'
})
// receive a test message
stream.on('test', function(m) {
console.log(m)
})
// just pipe to ourselves for testing
stream.pipe(stream)
Each buffer is sent using the following encoding
----------------------------------------------
| frame length | message id | message buffer |
----------------------------------------------
The first message sent is a handshake message that contains the message ids of the following messages
If you know that your schema won't change you can pass {handshake:false} to createStream
to disable handshaking
MIT
FAQs
Streaming protocol buffers for Node.js
We found that protocol-buffers-stream 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.