cred-autofill¶
Personal tool (FLT-310). Fills Andrew's saved email and password into Workday sign-in and create-account forms when he clicks the extension button or presses Ctrl+Shift+L. Not part of Work Wingman.
src/CredAutofill: one Windows app with two jobs. Started normally it opens the settings window, where the credential is typed and saved to Windows Credential Manager. Started by Chrome it is the native messaging host that hands the credential to the extension, only for Workday pages.extension/: the Chrome extension (Manifest V3). Nothing runs until the gesture.docs/SECURITY.md: threat model, controls and the review rulings.
Install (current Windows user, no admin)¶
- Install the app and register the native host:
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1
- In Chrome open
chrome://extensions, turn on Developer mode, click Load unpacked and pick theextensionfolder. The ID shown must beafmadbjmgmmmfppkokhfblebdhlomnak. - Run
%LOCALAPPDATA%\CredAutofill\CredAutofill.exe, type the email and password, click Save. - Open a Workday sign-in page, click the extension button (or press Ctrl+Shift+L).
Badge meanings:
- OK: filled, and the Sign In or Create Account button was pressed. Workday still decides whether that worked.
- ?: filled but not submitted (no enabled submit button), or no single clear form was found.
- MOV: the page changed during the fill. Try again.
- SET: nothing is saved yet (step 3).
- NO: the host refused this page.
- ERR: the native host is missing or crashed (step 1), or Credential Manager failed.
- N/A: not a Workday page.
Develop¶
dotnet test
npm ci; npm test
dotnet tool restore; dotnet tool run dotnet-stryker --config-file stryker-config.json
npm run mutate