Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@getalby/pkgzap-cli
Advanced tools
⚡️ Boost your project dependencies via lightning!
Run it in your project's root directory with
npx pkgzap-cli
Send sats to your project's dependencies!
Analyzing your package.json...
Found 21 dependencies with lightning details.
How much do you want to send in total? Amount (in sats): 2100
Please approve the NWC connection: https://nwc.getalby.com/apps/new?c=pkgzap&pubkey=g3tal6yf3a42c15883c68e623dfe653515506dd945e29386c46e3832d6212121
And press enter/return to continue...
Authentication Successful. Saving the NostrWalletConnect URL...
Enter a password to encrypt the NWC URL: g3tal6y
Saved in /Users/satoshi/.pkgzap
Supporting 21 packages with 100 sats each...
crazy-ln-tools: Payment Successful!
pkgzap-cli: Payment Successful!
pkgzap: Payment Successful!
ln-zapper: Payment Successful!
...
In your package.json
file, add the following:
"funding": {
"type": "lightning",
"url": "lightning:satoshi@getalby.com"
}
This would help pkgzap-cli
to pick your lightning address when your dependency users boost you!
If you run into the following error:
file:///Users/satoshi/your-project/node_modules/pkgzap-cli/bin/index.js:12
global.crypto = crypto;
^
TypeError: Cannot set property crypto of #<Object> which has only a getter
at file:///Users/satoshi/Coding/your-project/node_modules/pkgzap-cli/bin/index.js:12:15
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:518:24)
at async loadESM (node:internal/process/esm_loader:102:5)
at async handleMainPromise (node:internal/modules/run_main:66:12)
Make sure you're NOT using Node.js v19 as pkgzap-cli
is not supported in node versions >19.
FAQs
Boost your project dependencies via lightning ⚡️
The npm package @getalby/pkgzap-cli receives a total of 3 weekly downloads. As such, @getalby/pkgzap-cli popularity was classified as not popular.
We found that @getalby/pkgzap-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.