Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/spb-web/bipack/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/spb-web/bipack/tree/master) [![GitHub issues](https://img.shields.io/github/issues/spb-web/bipack?color=%2
Use size-limit to control bundle size.
dist/index.js
Size limit: 4 kB
Size: 1.96 kB with all dependencies, minified and gzipped
dist/index.mjs
Size limit: 4 kB
Size: 1.12 kB with all dependencies, minified and gzipped
true
and false
.So what does code that uses Bipack look like?
import {Bipack, StructTypes} from 'bipack'
const bipack = new Bipack({
ethAddress: StructTypes.bytes20,
txHash: StructTypes.bytes32,
balance: StructTypes.uint256,
success: StructTypes.bool,
})
const input = {
ethAddress: '0x0123456789abcdef3c0e5929fe01464f45ee03f6',
txHash: '0xc02fd5fc71fe8bdc4fec3f97a019a4dc9961eb95e5251c55fcb3da76f5cb5bca',
balance: 9223372036854775807n,
success: true,
}
const packedString: string = bipack.wrapToString(input)
const unpacked = bipack.unwrapFromString(packedString)
console.log(deepEqual(unpacked, input)) // true
FAQs
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/spb-web/bipack/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/spb-web/bipack/tree/master) [![GitHub issues](https://img.shields.io/github/issues/spb-web/bipack?color=%2
The npm package bipack receives a total of 3 weekly downloads. As such, bipack popularity was classified as not popular.
We found that bipack 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.