
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@cosmjs/crypto
Advanced tools
This package contains low-level cryptographic functionality used in other @cosmjs libraries. Little of it is implemented here, but mainly it is a curation of external libraries along with correctness tests. We add type safety, some more checks, and a simple API to these libraries. This can also be freely imported outside of CosmJS based applications.
This package is part of the cosmjs repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).
The 'crypto' module in Node.js provides cryptographic functionality that includes a set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions. It is a built-in module and does not require installation. Compared to @cosmjs/crypto, it is more general-purpose and not specifically tailored for blockchain applications.
TweetNaCl is a cryptographic library that provides high-level cryptographic functions, including public-key encryption, secret-key encryption, signatures, and hashing. It is known for its simplicity and security. Compared to @cosmjs/crypto, TweetNaCl is more focused on providing a minimalistic and secure API for cryptographic operations.
Elliptic is a JavaScript library for elliptic curve cryptography. It supports various elliptic curve algorithms, including secp256k1, which is commonly used in blockchain applications. Compared to @cosmjs/crypto, Elliptic offers a broader range of elliptic curve algorithms and is more specialized in elliptic curve cryptography.
FAQs
Cryptography resources for blockchain projects
The npm package @cosmjs/crypto receives a total of 334,760 weekly downloads. As such, @cosmjs/crypto popularity was classified as popular.
We found that @cosmjs/crypto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.