
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.
Provides an Ethers.js based console to interact with your OpenZeppelin SDK project.
Provides an Ethers.js based console to interact with your contracts.
Fairly simple at the moment; does not use the OpenZeppelin SDK network configuration (yet!).
npm install oz-console
oz-console
can be used from the command line or programmatically.
Usage: oz-console [options]
Provides an Ethers.js based console to interact with your OpenZeppelin SDK project. Supports await syntax. Includes global variables:
artifacts: Every project contract discovered, including ProxyAdmin
interfaces: An Ethers interface for each artifact discovered
contracts: An Ethers contract for each *deployed* artifact. Includes ProxyAdmin.
provider: an ethers provider
ethers: the ethers lib
Options:
-n, --network <network name> selects the openzeppelin network to use (default: "mainnet")
-p, --projectConfig <oz project config path> sets the project config path (default: ".openzeppelin/project.json")
-v, --verbose enable verbose logging. useful for diagnosing errors
-e, --exec <js file path> executes a javascript file instead of running a REPL
-a, --address <from address> use the address as the signer
-h, --help shows this help
Use the Ethers.js setup programmatically
const { buildContext } = require('oz-console')
const context = buildContext({
network: 'mainnet'
})
// Ethers
context.ethers
// OpenZeppelin CLI ProjectFile object
context.projectFile
// Artifact JSON blobs
context.artifacts
// Ethers Interfaces for each artifact
context.interfaces
// Ethers Contract for each deployed contract
context.contracts
// Ethers provider
context.provider
// Ethers signer for the OZ 'from' address
context.signer
// OpenZeppelin CLI NetworkFile object
context.networkFile
// OpenZeppelin CLi NetworkConfig object
context.networkConfig
FAQs
Provides an Ethers.js based console to interact with your OpenZeppelin SDK project.
We found that oz-console demonstrated a not healthy version release cadence and project activity because the last version was released 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.