
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.
compact-uint
Advanced tools
Compact Size Unsigned Integers in JS
npm install compact-uint
const cuint = require('compact-uint')
cuint.encode(12) // -> Buffer([0x0c])
cuint.encode(123) // -> Buffer([0x7b])
cuint.encode(1234) // -> Buffer([0xfc04d2])
buf = cuint.encode(uint, [buf], [offset])Encodes a uint into a buffer using the compact size spec.
After encoding encode.bytes is set to the number of bytes that was used to encode the number.
len = cuint.encodingLength(uint)How many bytes are needed to encode a uint?
uint = cuint.decode(buf, [offset])Decode a uint from a buffer.
After decoding decode.bytes is set to the number of bytes that was used to decode the number.
MIT
FAQs
Compact Size Unsigned Integers
We found that compact-uint 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.