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.
A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
A wrapper for the
keccak
library to compute 256 bit keccak hash in JavaScript.
npm install keccak256
Available on jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/keccak256@latest/keccak256.js"></script>
keccak256(data) -> {Buffer}
Returns a Buffer
const keccak256 = require('keccak256')
console.log(keccak256('hello').toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"
console.log(keccak256(Buffer.from('hello')).toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"
npm test
MIT
FAQs
A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
The npm package keccak256 receives a total of 43,493 weekly downloads. As such, keccak256 popularity was classified as popular.
We found that keccak256 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.