
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.
@polkadot/util
Advanced tools
Various useful utility functions that are used across all projects in the @polkadot namespace. It provides utility functions with additional safety checks, allowing not only for consistent coding, but also reducing the general boilerplate.
Installation -
yarn add @polkadot/util
Functions can be imported directly from the package, e.g.
import { isHex } from '@polkadot/util';
bn.js is a library for arbitrary-precision arithmetic. It is used for handling large integers, similar to the BN.js integration in @polkadot/util. However, bn.js focuses solely on arithmetic operations and does not provide the additional utility functions found in @polkadot/util.
The buffer package provides a way to handle binary data in Node.js. It offers similar functionality to the Uint8Array conversions in @polkadot/util, but it is more general-purpose and not specifically tailored for blockchain data.
ethers is a library for interacting with the Ethereum blockchain. It includes utility functions for encoding/decoding data, similar to @polkadot/util, but it is specifically designed for Ethereum rather than Polkadot/Substrate.
FAQs
A collection of useful utilities for @polkadot
The npm package @polkadot/util receives a total of 221,754 weekly downloads. As such, @polkadot/util popularity was classified as popular.
We found that @polkadot/util 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.