Skip to content

About

Local Chrome extension for TOTP management and configurable MFA field injection.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Autom8ed Vault v1.0

Professional Chrome extension for offline TOTP (Time-based One-Time Password) management with intelligent auto-injection capabilities.


✨ Features

Manager Capabilities

  • Auto-extract labels - Parses otpauth:// URIs and extracts account labels automatically.
  • Base32 secret validation - Validates secrets before saving to prevent runtime errors.
  • Smart profile management - Automatically adds new profiles to the popup for quick access.
  • Import validation - Detailed error messages for invalid entries; skips bad secrets.
  • Export with timestamp - Securely back up your vault to timestamped JSON files.
  • Duplicate detection - Warns when imports would overwrite existing profiles.
  • Visual feedback - Clear edit mode indicators and specific error messages.
  • Issuer support - Extracts and utilizes issuer parameters from URIs.

Popup Enhancements

  • Live countdown timers - Shows real-time seconds remaining for the current TOTP period.
  • Auto-clipboard copy - Copies codes to clipboard instantly upon click.
  • Visual status feedback - Success and error messages displayed within the popup.
  • Auto-submit indicator - Shows a πŸ”„ badge for profiles with auto-submit enabled.

Injection Engine

  • Smart field detection - Evaluates common MFA input selectors automatically.
  • Retry logic - Defeats field resets with automatic re-injection.
  • Auto-submit - Configurable per-profile auto-submit after injection.
  • Custom selectors - Support for per-profile CSS selectors for site-specific targeting.

πŸ“ File Structure

Autom8ed-Vault/
β”œβ”€β”€ manifest.json           # Extension manifest
β”œβ”€β”€ background.js           # Background service worker
β”œβ”€β”€ popup.html              # Popup interface
β”œβ”€β”€ popup.js                # TOTP generation & injection logic
β”œβ”€β”€ manager.html            # Full vault management UI
β”œβ”€β”€ manager.js              # Enhanced vault manager
β”œβ”€β”€ injector.js             # Content script for auto-injection
β”œβ”€β”€ crypto-helper.js        # Cryptographic operations
β”œβ”€β”€ styles.css              # Shared stylesheets
β”œβ”€β”€ README.md               # Documentation
β”œβ”€β”€ PRIVACY_POLICY.md       # Privacy policy
β”œβ”€β”€ QUICKSTART.md           # Quick start guide
β”œβ”€β”€ VERSION_NOTES.md        # Release notes
β”œβ”€β”€ Install-Icons.ps1       # Icon installation helper script
β”œβ”€β”€ icon16.png              # 16x16 Extension icon
β”œβ”€β”€ icon32.png              # 32x32 Extension icon
β”œβ”€β”€ icon48.png              # 48x48 Extension icon
β”œβ”€β”€ icon64.png              # 64x64 Extension icon
└── icon128.png             # 128x128 Extension icon

πŸš€ Installation

Chrome will not 1-click-install a .crx downloaded from GitHub (it only allows that from the Chrome Web Store). The GitHub path is a setup zip: extract and double-click Install.cmd. Pick Chrome / Edge / Brave. The installer does not kill or restart running browsers. You do not need to disconnect DevTools. A bundled native Windows helper uses the browser's normal extension controls, without debugging ports, unsafe debugging flags or registry installation tricks.

If Developer mode is off, setup identifies the browser and asks you to click Enable Developer mode and install. Only after that confirmation does it enable the switch and continue automatically. You can instead enable the switch yourself; setup detects that too. Browsers with Developer mode already enabled need no additional confirmation.

Setup loads the prepared extension from %LOCALAPPDATA%\Autom8edVault\1.0.0 and confirms its name, version, source path and enabled state before reporting success. It opens a new setup window in the browser's normal profile; choose a profile if the browser asks. Existing tabs and vault data are not copied or removed. The historical directory name 1.0.0 is deliberately retained for newer releases, including extension version 1.0.1: Chromium derives unpacked extension IDs from that path. This update does not migrate extension identities or vault data.

Keep the interactive Windows desktop and setup window available until setup finishes. Cancel is available throughout; waiting is bounded to ten minutes per browser. Policy restrictions, inaccessible controls and failed installs produce an error, not an installed message. Setup does not override enterprise policy. Install.cmd keeps its final result visible until you press a key.

Option 1: GitHub release (Windows setup)

  1. Open the latest release: https://github.com/usrname1git/Chrome-MFA-extension/releases/latest
  2. Download autom8ed-vault-*-setup.zip
  3. Extract it: all setup files stay inside autom8ed-mfa. Open that folder and double-click Install.cmd.
  4. Choose browsers, or run:
    .\Install-Autom8edVault.ps1 -Browsers Chrome,Edge
  5. From a machine with no zip yet:
    irm https://raw.githubusercontent.com/usrname1git/Chrome-MFA-extension/main/Install-Autom8edVault.ps1 | iex
    That script downloads the latest setup zip when it has no local manifest.json.

Option 2: Chrome Web Store upload

  1. Run .\Build-Installer.ps1, then .\Pack-Autom8edVault.ps1 (or use the *-chrome-web-store.zip on the GitHub release)
  2. Developer Dashboard β†’ Upload new item β†’ that zip
  3. Privacy policy URL: this repo's PRIVACY_POLICY.md on GitHub
  4. Do not upload the setup zip or .crx to the Store β€” only *-chrome-web-store.zip

Option 3: Load unpacked (development)

  1. Open chrome://extensions/
  2. Enable Developer mode
  3. Load unpacked β†’ this folder

Building and checking the Windows setup

Building from source requires Visual Studio x64 C++ Build Tools. Release setup ZIPs include the statically linked native helper; users do not need a compiler or additional packages.

.\Build-Installer.ps1
.\Test-Installer.ps1
.\Test-PackageLayout.ps1

.\Test-Installer.ps1 -LiveBrowsers additionally exercises the installed browsers on an interactive desktop using a permission-free fixture and the actual MFA extension in isolated browser profiles. It checks Developer-mode consent, repeat installation, onboarding tabs, cancellation and rejected manifests. It does not inspect personal browser data or install test extensions into normal profiles.


πŸ“– Usage Guide

Adding Your First Profile

  1. Click extension icon β†’ "βš™οΈ Manage Profiles"
  2. Paste your secret (supports 3 formats):
    • Base32 secret: ABCDEFGHJKLMNOPQRSTUVWZ
    • otpauth:// URI: otpauth://totp/Twitter:@user?secret=ABCDEF...
    • Google Auth migration: otpauth-migration://offline?data=...
  3. Label auto-fills from the URI (or enter it manually)
  4. Adjust settings (digits, period, algorithm) if needed
  5. (Optional) Add a custom CSS selector for auto-injection (e.g., #tokencode)
  6. (Optional) Enable auto-submit to automatically log in after injection
  7. Click "πŸ’Ύ Save Profile"

Using TOTP Codes

Method 1: Auto-Injection

  1. Navigate to your MFA login page
  2. Click the profile in the extension popup
  3. The code auto-fills and optionally submits
  4. Note: Works automatically if the selector matches.

Method 2: Manual Copy

  1. Click the extension icon in your toolbar
  2. Click the desired profile button
  3. The code is copied to your clipboard
  4. Paste it manually into the MFA field

Importing / Exporting

  • Import from Google Authenticator: Export via QR code, scan to get the otpauth-migration:// URI, and paste into the manager. All accounts will import automatically.
  • Import from JSON: Click "πŸ“₯ Import Vault" in the manager and select your backup file.
  • Export Vault: Click "πŸ“€ Export Vault" to download a secure JSON backup.

πŸ”§ Technical Configuration

Storage Schema

Chrome Local Storage:

{
  "vault": {
    "Twitter": {
      "secret": "ABCDEFGHJKLMNOPQRSTUVWZ",
      "digits": 6,
      "period": 30,
      "algo": "SHA1",
      "label": "@user",
      "selector": "#tokencode",
      "autoSubmit": false
    }
  },
  "profileMap": ["Twitter", "GitHub"]
}

Supported Standards

  • Algorithms: SHA1 (default), SHA256, SHA512
  • Formats: 6-digit (standard), 7-digit, 8-digit codes
  • Periods: 15 to 60-second intervals (30s default)
  • Cryptography: RFC 6238 compliant using the Web Crypto API (SubtleCrypto)

Security Considerations

  • Local storage only - Secrets never leave your browser
  • No cloud sync - Manual export/import required for backups
  • Content script isolation - Runs in a sandboxed context
  • No network requests - 100% offline operation after installation

πŸ› Troubleshooting

Issue Solution
"No MFA input field found" Add a custom CSS selector in the manager. Right-click the input field β†’ Inspect β†’ Copy selector.
"Invalid Base32 secret" Ensure the secret only contains characters A-Z and 2-7.
Auto-submit not working Site may have anti-automation protections. Disable auto-submit and click manually.
Code not injecting Click the popup button to copy the code, then paste it manually. Check DevTools (F12) console for errors.

πŸ“ Version History

v1.0.0 - May 6, 2026

  • ✨ Initial stable release.
  • πŸš€ Features full auto-injection, smart vault management, and an optimized user experience.
  • (Note: All previous beta versions and iterations are now considered 0.X.X and have been consolidated into this stable 1.0 release.)

πŸ™ Credits

Created by: Autom8ed Version: 1.0
Date: May 6, 2026


πŸ“„ License

Personal use project. No license restrictions.

About

Local Chrome extension for TOTP management and configurable MFA field injection.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages