Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Simple utility for converting between base36 strings and buffers
Base36 is slightly more compact than hex encoding, but is still safe to use for things like hostnames.
const { encode } = require('b36')
let key = require('crypto').randomBytes(32)
console.log(encode(key))
// Sample output:
// 2jn5z3wzqnt6adgw7dwo98krsz6pku9cckb0cizs34pv025lpf
const { decode } = require('b36')
let str = '2jn5z3wzqnt6adgw7dwo98krsz6pku9cckb0cizs34pv025lpf'
console.log(decode(str))
// Sample output:
// <Buffer 66 23 0d 7c 73 64 81 7f 1b 64 73 c8 24 f9 e4 2e 6b f8 bd 5b d6 3f 55 8e 62 8d db 9d 60 fe 6f 23>
FAQs
Simple utility for converting between base36 strings and buffers
The npm package b36 receives a total of 36,816 weekly downloads. As such, b36 popularity was classified as popular.
We found that b36 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.