
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/cli
Advanced tools
[](https://deno.bundlejs.com/?q=@ethernauta/cli&treeshake=[*])
This module ships a CLI for working with ABIs in an Ethernauta codebase. Two subcommands:
ethernauta abi — generate ready-to-use TypeScript methods from an ABI JSON or a Foundry artifactethernauta registry — walk a directory of ABI JSONs and emit a 4-byte selector → method-metadata map (used by the wallet to surface human-readable function names)ethernauta abiRegenerate contract method TypeScript files from an ABI JSON or a Foundry artifact.
npx ethernauta abi --in abis/IERC20.abi.json --out app/methods
Each function in the ABI emits one file under <out>/methods/. View / pure functions emit Callable<T>; state-changing functions emit Signable<Bytes>. A barrel file at <out>/methods/index.ts re-exports everything.
A typical setup wires this into a package.json script so generated methods stay in sync with the contract:
{
"scripts": {
"regen:methods": "ethernauta abi --in contracts/out/MyContract.sol/MyContract.json --out app/generated/my-contract"
}
}
Flags:
| Flag | Description |
|---|---|
--in | Path to a raw ABI JSON array or a Foundry artifact with an abi field |
--out | Output directory; the generator writes <out>/methods/*.ts + a barrel file |
ethernauta registryWalk a directory for *.abi.json files and emit a single REGISTRY mapping 4-byte selectors to method metadata.
npx ethernauta registry --in src --out src/registry/registry.generated.ts
The registry is used by the wallet to verify and display function names for transactions whose call data carries an unknown selector.
Flags:
| Flag | Description |
|---|---|
--in | Directory walked recursively for *.abi.json files |
--out | Output file path for the generated REGISTRY TypeScript module |
FAQs
[](https://deno.bundlejs.com/?q=@ethernauta/cli&treeshake=[*])
We found that @ethernauta/cli 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.