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.
@darkwolf/base58.cjs
Advanced tools
npm i --save @darkwolf/base58.mjs
npm i --save @darkwolf/base58.cjs
// ECMAScript
import Base58, { Alphabet } from '@darkwolf/base58.mjs'
// CommonJS
const Base58 = require('@darkwolf/base58.cjs')
const { Alphabet } = Base58
const encoded = Base58.encode('Ave, Darkwolf!') // 'HDmiyDYm3PDiZ4kmjkb'
Base58.decode(encoded) // 'Ave, Darkwolf!'
const encodedInteger = Base58.encodeInteger(10000) // 'eyH'
Base58.decodeInteger(encodedInteger) // 10000
// Custom alphabet
const base58 = new Base58(Alphabet.BITCOIN)
const encodedBtc = base58.encode('Ave, Darkwolf!') // 'R4qoy4gqDX4ohE7qp7i'
base58.decode(encodedBtc) // 'Ave, Darkwolf!'
const encodedBtcInteger = base58.encodeInteger(10000) // '3yR'
base58.decodeInteger(encodedBtcInteger) // 10000
FAQs
Base58
We found that @darkwolf/base58.cjs 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.