Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
aws-kms-provider
Advanced tools
[![npm version](https://badge.fury.io/js/aws-kms-provider.svg)](https://www.npmjs.com/package/aws-kms-provider)
AWS KMS Web3 provider. The provider can sign the transaction using Asymmetric Keys of AWS Key Management Service without managing a private key.
$ npm install aws-kms-provider
aws-kms-signer | Signer using AWS KMS without web3.js provider |
aws-kms-ethers-signer | Signer for ethers.js |
See send-eth.ts.
import Web3 from "web3";
import { KmsProvider } from "aws-kms-provider";
const region = "us-east-1";
const keyId = "xxxxx-xxxx-xxxx-xxxx-xxxxxxxx";
const endpoint = "https://ropsten.infura.io/v3/xxxxxxxxxxxx";
const to = "0xabcdef";
async function main() {
const provider = new KmsProvider(endpoint, { region, keyIds: [keyId] });
const web3 = new Web3(provider as any);
const accounts = await web3.eth.getAccounts();
console.log("accounts", accounts);
const receipt = await web3.eth.sendTransaction({
from: accounts[0],
to,
value: web3.utils.toWei("0.00001", "ether"),
});
console.log(receipt);
}
main().catch((e) => console.error(e));
$ yarn lerna publish
$ export AWS_PROFILE=xxx
$ ./scripts/prepare_e2e.sh yarn e2e
FAQs
[![npm version](https://badge.fury.io/js/aws-kms-provider.svg)](https://www.npmjs.com/package/aws-kms-provider)
We found that aws-kms-provider 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.