
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@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"
}
}
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.
FAQs
Code generator for Ethernauta — emits ABI method bindings from contract ABIs.
The npm package @ethernauta/cli receives a total of 57 weekly downloads. As such, @ethernauta/cli popularity was classified as not popular.
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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.