
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@startupjs/2fa-totp-authentication-provider
Advanced tools
Google authenticator provider for @startupjs/2fa-manager package
Provider for verification via google authenticator app.
@startupjs/2fa-manager >= 0.34.0,
@startupjs/2fa-totp-authentication >= 0.34.0
yarn add @startupjs/2fa-totp-authentication-provider
IMPORTANT: To use this method, in advance, the user must provide a secret in the form of a QR code, which he will add to the google-authenticator. More on this in the google-authenticator documentation
You need to import the GAProvider
component from @startupjs/2fa-totp-authentication-provider
.
import { GAProvider } from '@startupjs/2fa-totp-authentication-provider'
Then you need to add GAProvider
to the providers
array of initTwoFAManager
. The second argument of the array is the options for the provider. TotpProvider
expects an application name, this name will be displayed in the google authenticator
interface.
You can get the name of the application from app.json
, usually this file is located in the root of the project:
import app from 'path/to/your/app.json'
...
initTwoFAManager(ee, {
providers: [
[TotpProvider, { appName: app.name }]
]
})
FAQs
Google authenticator provider for @startupjs/2fa-manager package
The npm package @startupjs/2fa-totp-authentication-provider receives a total of 0 weekly downloads. As such, @startupjs/2fa-totp-authentication-provider popularity was classified as not popular.
We found that @startupjs/2fa-totp-authentication-provider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.