Inspiration

Everyone who has applied for a job or a university place has retyped the same details many times: name, email, phone, every degree, every job, "years of experience". Browser autofill handles addresses and card numbers, but it knows nothing about a CV. The tools that do handle CVs usually want an account and a server holding your history.

We wanted the opposite: store your academic and work history once, keep it on your own device, and let a ghost "possess" the form when you ask it to. The Kiroween theme fit, so the ghost became both the mascot and the way the product works. It fills the fields, glows on each one, and waits for you to check them.

What it does

GhostPass CV is a Chrome (Manifest V3) extension.

  • Encrypted vault. On first run you choose a passphrase. Your profile is stored only as an AES-256-GCM ciphertext, with the key derived from your passphrase using PBKDF2-SHA256 (310,000 iterations). The passphrase is never stored. A wrong passphrase leaves the vault sealed.
  • CV-aware profile. You enter personal details, a summary, skills, any number of education entries and any number of jobs.
  • Derived values. It builds the full name from first and last name and works out your total experience from your job dates. Overlapping jobs are merged so the same months aren't counted twice, and a job marked current counts up to today. It also picks your most recent job and degree for fields like "current company" and "graduation year".
  • Summon. On a job or university form, click Summon CV into this page. The extension looks at each visible field's label, aria-label, placeholder, name and autocomplete hint, and fills the ones it recognises.
  • Review and undo. Each filled field glows lavender, and a badge reminds you to review before submitting. Banish restores every field to its previous value. Fields that already contain text are left alone unless you tick Overwrite.
  • Portable. Export the vault as an encrypted JSON file and import it on another machine. Nothing is readable without the passphrase.
  • Private by design. The extension asks only for storage, activeTab and scripting. It has no host permissions, injects nothing automatically, and its content security policy blocks network connections.

It never fills password, file, checkbox or radio inputs.

How we built it

The extension is plain JavaScript with no framework, no bundler and no dependencies.

  • src/crypto.js wraps the Web Crypto API for the vault.
  • src/profile.js holds the data model and the derivation logic, including the interval-merging calculation for total experience.
  • src/matcher.js is a pure function that scores a field against a list of rules. It checks autocomplete first, then adds weighted evidence from the label (3), aria-label (2), placeholder (2) and name/id (2). Rules can carry an exclusion pattern, so a "Company name" field is never treated as the applicant's full name. Because the matcher has no DOM access, the same code runs in the page and in Node.
  • src/content.js is injected only when the user clicks Summon. It sets values through the native setters and dispatches input and change events so React-style forms register them. It also keeps the undo stack.
  • popup/ is the vault UI, the CV editor and the summon controls, with a dark purple, lavender-glow ghost theme that respects prefers-reduced-motion.

How we used Kiro

  • Spec-driven development. .kiro/specs/autofill/ has the requirements written in EARS notation, a design document and a task list. Privacy and fill behaviour became testable statements, such as "WHEN the user clicks Summon… THE extension SHALL NOT fill password inputs".
  • Steering. Three steering files in .kiro/steering/ cover privacy rules, product context and UI tone. The privacy file states the non-negotiables (no network calls, minimal permissions, no logging of profile values). The tone file keeps every message in the same spooky but clear voice.
  • Hooks. check-on-save runs a script on every save that syntax-checks the code, scans for network APIs and verifies the manifest permissions. block-secret-commits runs before git commit and blocks it if the staged diff holds keys, tokens or an exported vault file.
  • MCP. A zero-dependency stdio server in mcp/ exposes list_fixtures, analyze_fixture and classify_label. It runs the real matcher over HTML test forms whose fields are tagged with the profile key they should map to, then reports mismatches.

Challenges we ran into

  • False positives in matching. Early rules matched "Company name" or "School name" as the applicant's full name, and "Position applying for" as the current job title. We fixed these with exclusion patterns and by ordering rules from specific to general. We added a tricky fixture with these cases so they stay fixed.
  • Counting experience correctly. Adding up job durations double-counts overlapping roles. We merged the date intervals first, then counted whole months, and checked it against an overlapping sample (84 months).
  • Forms that ignore programmatic values. Setting input.value is not enough on framework-based pages. We use the native value setter and dispatch both input and change.
  • Filling without broad permissions. We wanted no host permissions and no content scripts running on every page. The answer was activeTab plus scripting, injecting the matcher and filler only after the user clicks.
  • Keeping the privacy claim checkable. "No servers" is easy to say. The save hook scans for network APIs and fails if one appears, and the CSP blocks connections.
  • Tooling friction. Chrome's file picker can close the popup on some systems, so import works best from the "Open in a tab" view. Kiro also blocked a write to .kiro/settings/mcp.json under the workspace permission rules, so we registered the MCP server by hand.

Accomplishments that we're proud of

  • A working local-first extension where the privacy story is enforced by code, not only described: strict CSP, minimal permissions, and a check that runs on every save.
  • A matcher that classified all 39 fields across three fixture forms (job application, university admission and tricky labels) as expected, including fields that should stay empty.
  • A derived "total experience" that handles overlapping and current jobs correctly.
  • A review-first flow. Nothing fills until the user clicks, every field is highlighted, and Banish undoes the fill.
  • A full Kiro workflow in one small project: EARS spec, steering, two hooks and a custom MCP server that tests the core logic.
  • A ghost UI that explains what happened in plain language while keeping the spooky theme.

Test pages built in App: Job application: https://shaistaaman.github.io/GhostPassCV/test-forms/job.html (expect 11 fields filled)

University admission: https://shaistaaman.github.io/GhostPassCV/test-forms/university.html (expect 15 fields filled)

Tricky labels: https://shaistaaman.github.io/GhostPassCV/test-forms/tricky.html (trap fields stay empty)

Live form test:  https://demoqa.com/automation-practice-form

What we learned

  • Writing the requirements first made the privacy rules concrete. It was easier to build "never fill a password field" and check it than to hope for it.
  • Steering files kept messages and rules consistent across the whole build, especially the privacy rules and the UI voice.
  • Hooks are most useful for rules you must never break. Running the network-API scan on every save was cheaper than finding a violation later.
  • An MCP server over local fixtures gave a tight loop for tuning a rule-based matcher: change a rule, re-run the fixtures, see exactly what moved.
  • Autofill is mostly a long tail of label wording. Scoring several weak signals, with exclusions, worked better than one clever pattern.

What's next for GhostPass CV

  • Repeating sections. Click "Add another job" or "Add education" and fill every entry, starting with Greenhouse and Lever.
  • Wider page support. Shadow DOM, same-origin iframes and custom dropdowns built from div elements.
  • Better matching. A "pick this field" fallback when the matcher isn't sure, so users can teach it a label. Property-based tests on the experience calculation and on the rule that password fields are never filled.
  • Multiple profiles. For example, one CV tailored to jobs and another to university applications.
  • Chrome Web Store release. A privacy policy page, screenshots and a store listing, so people can install it without "Load unpacked".

Built With

Share this project:

Updates

Submission history