
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
A lightweight utility for adding hexadecimal values with both library and CLI interfaces. Perfect for developers, engineers, and anyone working with hexadecimal calculations.
npm install -g addhex
npm install addhex
// ES Module import
import { addHex } from 'addhex'
// Add two hex values
console.log(addHex('a', 'b')) // '15'
// Add multiple hex values
console.log(addHex('10', '20', '30')) // '60'
// Supports 0x prefix
console.log(addHex('0xff', '0x1')) // '100'
// Mix and match prefix styles
console.log(addHex('ff', '0x1')) // '100'
// Works with large numbers
console.log(addHex('ffffffffffffffff', '1')) // '10000000000000000'
# Basic usage
addhex a b
# Output: 15
# Add multiple values
addhex 10 20 30
# Output: 60
# Works with 0x prefix
addhex 0xff 0x1
# Output: 100
# View help
addhex --help
An interactive demo is available at https://sandy-mount.github.io/addhex/
addHex(...hexValues)
Adds two or more hexadecimal values together.
...hexValues
- One or more hexadecimal strings (with or without 0x prefix)# Clone the repository
git clone https://github.com/sandy-mount/addhex.git
cd addhex
# Install dependencies
npm install
# Run tests
npm test
# Run the CLI during development
npm start a b
MIT © Melvin Carvalho
FAQs
A utility for adding hexadecimal values with both library and CLI interfaces
The npm package addhex receives a total of 0 weekly downloads. As such, addhex popularity was classified as not popular.
We found that addhex demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.