
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.
@djoman/npu-config
Advanced tools
The purpose of the package is to expose configuration files to be used in all potpay new Backend projects.
To install it:
npm i --save-dev @djoman/npu-config
TS configuration file for Node is available, use it with:
// tsconfig.json
{
"extends": "@djoman/npu-config/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"outDir": "./dist"
},
"include": [
"./src"
]
}
The configuration provides the #
TS alias as ./src
.
It is recommended to use it to replace ascending imports to improve source readability, for example
// Prefer the use of the alias
import { Event } from '#/event'
// over
import { Event } from '../../event'
The alias may be removed after transpilation with tsc-alias like:
"scripts": {
"build": "tsc --p . -d && tsc-alias",
}
Or use it with tsconfig-paths:
"scripts": {
"dev": "node -r ts-node/register -r tsconfig-paths/register ./src/index.ts",
}
Eslint configuration file is available, use it with:
// .eslintrc.js
module.exports = require('@epsor/npu-config/.eslintrc.js')
Please note:
FAQs
Potpay - NPU Config
The npm package @djoman/npu-config receives a total of 0 weekly downloads. As such, @djoman/npu-config popularity was classified as not popular.
We found that @djoman/npu-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.