
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
cryptocoin-sha256
Advanced tools
JavaScript component to compute the SHA256 of strings or bytes.
AMD/CommonJS compatible.
npm install --save cryptocoin-sha256
component install cryptocoinjs/sha256
bower install cryptocoin-sha256
<script src="/path/to/sha256.js"></script>
input either an array of bytes or a string
sha256("hello") //"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
you can verify:
printf "hello" | shasum -a 256
computes the sha256 twice.
sha256.x2("hello")//"d7914fe546b684688bb95f4f888a92dfc680603a75f23eb823658031fff766d9"
Most of the code from CryptoJS https://code.google.com/p/crypto-js/
(MIT License)
Copyright 2013, JP Richardson jprichardson@gmail.com
FAQs
Compute SHA256 of bytes or strings.
We found that cryptocoin-sha256 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
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.