Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
cosmos-wallet
Advanced tools
Configurable Wallet for Cosmos SDK Chains
npm install --save cosmos-wallet
#or
yarn add cosmos-wallet
Required Params: password, name
import CosmosWallet from('cosmos-wallet')
const wallet = new CosmosWallet({
name: 'John Doe',
password: 'securepassword'
})
Required Params: password, name, keystore
import CosmosWallet from('cosmos-wallet')
const wallet = new CosmosWallet({
name: 'John Doe',
password: 'securepassword',
keystore: <PREVIOUS_KEYSTORE>
})
Required Params: password, name, mnemomic
import CosmosWallet from('cosmos-wallet')
const wallet = new CosmosWallet({
name: 'John Doe',
password: 'securepassword',
mnemomic: 'type nerve tumble culture stumble asset control still have spoon market pepper garbage alien actual awake guitar great mountain girl desk actual helmet risk'
})
Required Params: password, name
wallet.sign("some random message");
// signature
("bd527879250cdf6eec6e3c2004f926dcd07dc762201892ade4060feb3735fbc876fd4db6342509a80f200442d3347b5c5c6380b150dde7e84ef61ea36dda6060");
Required Params: password Optional Params: name
wallet.export("moresecurepassword")
// keystore
{
name: "John Doe",
address: "cosmos145cp9xuhscswsfztntx0e6pqskjaz37f9mqez3",
wallet:
"b87b31d99a076e642dfd95c52c27dc903160b7695ec70ada4f63442b6c5e6dffjIUt4msRJD4bFbD5oHmKq33Af5gC6Vm4YIBzid8KAs/1SJwbp91lx0HqbmmXtzzZBOH6DBPIM3DLXzL/er36TEC349Ds2+D9t1esCEZ3919IpRgTWyJoMWMy2OsDVgCiuXUPl/QhoTdOXalIQ73T/RIWHUuR9wJSoHEnRSUQa/gHxXhQP9bS8h2RG5JT+3oiIz91mPh1H/RFsH9xKOa5F7SXTvusIzyRKj6Sea3HIAfhP42xH29+WOczMGVdERLRov6zcNwgTzxKnNNbwOpH8SaEkWTA125yUaIPukmXpA4="
}
## Configuration Options
ICosmosWalletOptions {
derivationPath?: string;
randomBytesFunc?: (size: number) => string;
formatAddress?: (publicKey: Buffer) => string;
keystore?: {
name: string;
address: string;
wallet: string;
}
mnemomic?: string;
password: string;
name: string;
}
FAQs
Cosmos Wallet with Direct and Amino signing
We found that cosmos-wallet 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.