
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@ctrl/ts-base32
Advanced tools
Base32 encode and decode in typescript exported as both commonjs and tree shakeable modules. Support for RFC4648, RFC4648_HEX, and CROCKFORD base32 encoding. Mostly directly taken from LinusU's packages.
Demo: https://ts-base32.vercel.app
npm install @ctrl/ts-base32
import { base32Encode, base32Decode } from '@ctrl/ts-base32';
import { stringToUint8Array, uint8ArrayToString } from 'uint8array-extras';
console.log(base32Encode(stringToUint8Array('a')));
// 'ME======'
console.log(base32Encode(stringToUint8Array('a'), { padding: false }));
// 'ME'
console.log(base32Decode('ME======'));
// Uint8Array
console.log(uint8ArrayToString(base32Decode('ME======'))
// 'a'
base32-encode - https://github.com/LinusU/base32-encode
base32-decode - https://github.com/LinusU/base32-decode
uint8array-extras - https://github.com/sindresorhus/uint8array-extras
FAQs
Base32 encoder/decoder with support for multiple variants
The npm package @ctrl/ts-base32 receives a total of 6,943 weekly downloads. As such, @ctrl/ts-base32 popularity was classified as popular.
We found that @ctrl/ts-base32 demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.