
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@ethernauta/utils
Advanced tools
[](https://deno.bundlejs.com/?q=@ethernauta/utils&treeshake=[*])
This module is a set of small, dependency-free utilities used across the other packages. It is intentionally generic — nothing here knows about Ethereum, chains, or transactions.
camel_to_kebabimport { camel_to_kebab } from "@ethernauta/utils"
const kebab = camel_to_kebab("helloWorld") // "hello-world"
invariantimport { invariant } from "@ethernauta/utils"
const input: string | null = "helloWorld"
invariant(typeof input === "string", "input must be a string")
// input is narrowed to `string` from here on
number_to_heximport { number_to_hex } from "@ethernauta/utils"
const hex = number_to_hex(255) // "0xff"
hex_to_numberimport { hex_to_number } from "@ethernauta/utils"
const value = hex_to_number("0xff") // 255
bytes_to_heximport { bytes_to_hex } from "@ethernauta/utils"
const hex = bytes_to_hex(new Uint8Array([0xde, 0xad, 0xbe, 0xef]))
// "0xdeadbeef"
hex_to_bytesimport { hex_to_bytes } from "@ethernauta/utils"
const bytes = hex_to_bytes("0xdeadbeef")
// Uint8Array([0xde, 0xad, 0xbe, 0xef])
strip_hex_prefiximport { strip_hex_prefix } from "@ethernauta/utils"
const stripped = strip_hex_prefix("0xdeadbeef") // "deadbeef"
FAQs
[](https://deno.bundlejs.com/?q=@ethernauta/utils&treeshake=[*])
The npm package @ethernauta/utils receives a total of 587 weekly downloads. As such, @ethernauta/utils popularity was classified as not popular.
We found that @ethernauta/utils 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
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.