
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.
@clevertech.biz/auth-core
Advanced tools
The set of utilities necessary to build an authentication service. This does not include templates, views, styles, or transport layer.
Generic auth library for Clevertech.
You have to run the tests with node v10
or newer
clients.
docker-compose -f test/docker-compose.yml up -d
npm run test
import {
Core,
KnexAdapter,
MongoAdapter,
DefaultEmailService,
Crypto,
JWT,
Validations,
TwilioSMSService
} from '@clevertech.biz/auth-core'
const db = new MongoAdapter('<uri>')
const db = new KnexAdapter({
// knex config here
})
const sms = new TwilioSMSService(
'<accountSid>',
'<authToken>',
'<numberFrom>'
})
const core = new Core({
projectName: '<projectName>',
db,
email: new DefaultEmailService({
projectName: '',
confirmEmailURL: '',
requestResetPasswordURL: '',
resetPasswordURL: '',
emailServiceConfig: {
// config for pnp-email-service
}
}),
crypto: new Crypto('<key>', '<algorithm> = aes-256-gcm'),
jwt: new JWT('<algorithm>', '<secretOrPrivateKey>', '<secretOrPublicKey>', {
// default options: see https://github.com/auth0/node-jsonwebtoken#usage
}),
validations: new Validations(['name', 'company'], true),
sms,
numberOfRecoverCodes: 10
})
FAQs
The set of utilities necessary to build an authentication service. This does not include templates, views, styles, or transport layer.
The npm package @clevertech.biz/auth-core receives a total of 7 weekly downloads. As such, @clevertech.biz/auth-core popularity was classified as not popular.
We found that @clevertech.biz/auth-core 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.
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.