Scan your whole stack
From OX Research Newsroom
Are you using go2fa?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.1
go2fa was last scanned on 1 Dec 2026 at version 0.3.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.1 LATEST | 1 Dec 2026 | No rules fired |
| 0.3.0 | 1 Dec 2026 | No rules fired |
| 0.1.0 | 30 Nov 2026 | No rules fired |
| 0.0.0-stage | 30 Nov 2026 | Not shown |
Findings for v0.3.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Local TOTP (2FA) codes: a web page, a CLI and an MCP server. Your secret never leaves your device.
src/core.js)For your own accounts only. go2fa does not accept lists of accounts or id|password|2fa lines, does not check whether accounts are alive, and never puts a secret in a URL.
npx go2fa selftest # runs the RFC 6238 test vectors, prints "match 18/18"
The secret comes from the GO2FA_SECRET environment variable or from stdin (a hidden prompt in a terminal). It is never accepted as an argument, so it cannot end up in your shell history.
# PowerShell
$env:GO2FA_SECRET = Read-Host -MaskInput 'secret'
npx go2fa code # current code
npx go2fa code --next # next code
npx go2fa check 123456 # which 30-second window does this code belong to? (clock drift)
# bash
read -rs GO2FA_SECRET && export GO2FA_SECRET
npx go2fa code
Options: --digits 6|7|8, --period N, --algo SHA1|SHA256|SHA512, --kind totp|hotp|steam, --counter N (HOTP; --next adds 1). HOTP counters are never saved: go2fa prints the code and forgets the number. Steam Guard codes (5 characters) work with --kind steam or an otpauth://steam/ link. An otpauth://totp/... link works instead of a bare Base32 secret and carries its own settings.
Moving out of Google Authenticator: go2fa migrate reads one or more otpauth-migration:// links from stdin (one per line, any order) and prints an otpauth:// list (--format aegis|bitwarden|2fas|ente for the other files). The output is unencrypted secrets: redirect it only somewhere you trust and delete it after importing. The web page https://go2fa.app/migrate does the same in the browser.
An AI assistant can ask for a code by label. The server never returns a secret and never accepts one as a tool argument.
{
"mcpServers": {
"go2fa": {
"command": "npx",
"args": ["-y", "-p", "go2fa", "go2fa-mcp"],
"env": { "GO2FA_FILE": "C:\\Users\\you\\go2fa-secrets.json" }
}
}
}
Secrets are loaded by you, by label, in one of two ways:
GO2FA_SECRET_<LABEL> (label upper-cased, other characters become _)GO2FA_FILE: { "github": "JBSWY3DPEHPK3PXP" } (keep it out of version control and protect it with file permissions)Tools:
| Tool | Input | Returns |
|---|---|---|
totp_code |
label |
the current code and seconds left (also Steam Guard labels) |
hotp_code |
label, counter |
the counter-based code for the counter you pass (the server keeps no counter) |
totp_check |
label, code |
which window (+-3) the code belongs to |
npm test # RFC 6238 vectors, cross-check against otpauth on random inputs, boundaries, CLI and MCP checks
npm run build copies the core into public/ and generates the site pages; npm run dev serves public/ locally.
Phát hành: đẩy tag vX.Y.Z (khớp version trong package.json). GitHub Actions (publish.yml) chạy test rồi npm publish bằng npm Trusted Publisher (OIDC, không dùng token).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.