
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.
@svta/cml-utils
Advanced tools
Common utility functions for media processing.
npm i @svta/cml-utils
import {
stringToUint16,
hexToArrayBuffer,
decodeBase64,
arrayBufferToUuid,
arrayBufferToHex,
unescapeHtml,
} from "@svta/cml-utils";
// Unescape HTML entities
const unescaped = unescapeHtml(""<Hello&World>"");
assert(unescaped === `"<Hello&World>"`);
// Convert string to Uint16Array
const uint16Array = stringToUint16("hello world");
assert(
uint16Array ===
new Uint16Array([104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])
);
// Convert hex string to ArrayBuffer
const hex = "a0564af760c2d94b9610c7ae70d5d970";
const arrayBuffer = hexToArrayBuffer(hex);
const expected = new Uint8Array([
160, 86, 74, 247, 96, 194, 217, 75, 150, 16, 199, 174, 112, 213, 217, 112,
]);
assert(new Uint8Array(arrayBuffer) === expected);
// Decode base64
const decoded = decodeBase64("SGVsbG8gV29ybGQ=");
assert(
decoded ===
new Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100])
);
// Convert ArrayBuffer to UUID
const data = new Uint8Array([
160, 86, 74, 247, 96, 194, 217, 75, 150, 16, 199, 174, 112, 213, 217, 112,
]);
const uuid = arrayBufferToUuid(data.buffer);
assert(uuid === "a0564af7-60c2-d94b-9610-c7ae70d5d970");
// Convert ArrayBuffer to hex string
const hexString = arrayBufferToHex(data.buffer);
assert(hexString === "a0564af760c2d94b9610c7ae70d5d970");
FAQs
Common utility functions for media processing
The npm package @svta/cml-utils receives a total of 106,656 weekly downloads. As such, @svta/cml-utils popularity was classified as popular.
We found that @svta/cml-utils demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

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.