
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
gauth-decode
Advanced tools
A NPM package to decode Google Authenticator export data
import { decodeMigrationUri } from "gauth-decode";
void decodeMigrationUri("otpauth-migration://offline?data=Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7%2F%2F%2F%2F%2FwE%3D").then(result = console.log(result));
output:
[
{
algorithm: "ALGO_SHA1",
digits: 1,
issuer: "2FAS",
name: "Test Token",
secret: "0UEpklM=",
secretBase32: "2FASTEST",
type: "OTP_TOTP"
}
]
A sample TOTP QR code from 2FAS:
Contained URI data: otpauth://totp/Test%20Token?secret=2FASTEST&issuer=2FAS
The same sample data exported from Google authenticator:
Contained URI data: otpauth-migration://offline?data=Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7%2F%2F%2F%2F%2FwE%3D and this can be decoded using this package.
FAQs
A package to decode Google Authenticator export data
The npm package gauth-decode receives a total of 222 weekly downloads. As such, gauth-decode popularity was classified as not popular.
We found that gauth-decode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.