
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@pier-wallet/lib
Advanced tools
npm i @pier-wallet/lib
or
yarn add @pier-wallet/lib
To create
npm version prerelease --preid=debug
npm version patch
npm version minor
npm version major
Read about semantic versioning
import { HarmonyClient, ... } from "@pier-wallet/lib"
Build the package to the dist folder by running the following command.
npm run build
Publish the dist folder to the NPM repository.
Relayer - should make API calls to relayer server. Blockchain - should handle all the blockchain communications. Smartwallet - should handle creation and management of a smart wallet.
Make sure we have the latest version of the relayer --> update package.json Make sure to fix all breaking changes
Due to how webpack resolves modules, npm-linking this library the normal way (npm link @pier-wallet/lib
) will not work.
To circumvent this, you can define the destination of the build of this library in a .env
file:
# .env
CONSUMER_PROJECT_PATH=/path/to/your/consumer/project
After that, start watching for changes:
... now you can make build this library and see the changes in the consumer project immediately.
FAQs
pier sdk
We found that @pier-wallet/lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.