Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@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.
import {
Core,
KnexAdapter,
MongoAdapter,
DefaultEmailService,
DefaultMediaService,
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
}
}),
media: new DefaultMediaService({
// config for pnp-media-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 1 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
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.