Skip to content

Prefill KVM password locally - #12

Merged
williamconnolly merged 1 commit into
masterfrom
willc/kvm-password-prefill
Jul 15, 2026
Merged

williamconnolly merged 1 commit into
masterfrom
willc/kvm-password-prefill

Conversation

@williamconnolly

@williamconnolly williamconnolly commented Jul 15, 2026 •

Copy link
Copy Markdown
Owner

The KVM login flow requires entering the same password repeatedly. This adds an opt-in CommandCenter setting that pre-fills only the configured KVM password field without submitting the form.

The password is stored locally rather than in synced settings, restricted to trusted extension contexts, and returned only to the configured KVM origins.

Validation:

  • npm ci
  • npm run check
  • npm run build
  • npm run test:e2e
  • npm audit --omit=dev --audit-level=high

The E2E test loads the built extension, persists a synthetic local password, verifies field prefill and input/change events on an intercepted KVM page, and confirms an existing field value is not overwritten.

Risk signals

Signal Value
Lines changed +141 / -1 (8 files)
Auth / security path no
Sandbox / VFS isolation no
Data model / migration no
CI / infra / deploy no
New dependency no
Tests present yes
Docs / config-only no
Classifier bucket normal

Bucket basis: small, localized change; no high-risk signals.

Gate verdict: apex review recommended; proof-of-change recommended OR a documented exception below (too-simple / low-risk / docs-only).

Proof is the built-extension Playwright scenario: it drives a controlled KVM-origin page, verifies password prefill and DOM events, and confirms it will not overwrite a non-empty field. No live KVM password was used in CI.

@williamconnolly

Copy link
Copy Markdown
Owner Author

Posted by an automated agent (not a human).

Independent review found two issues before publication: the KVM prefill behavior was not exercised end-to-end, and failed runtime messages were not handled.

Both are fixed in 6f6f6a5: the E2E test now uses an intercepted KVM-origin page to verify prefill, input/change events, and preservation of an existing value; the content script fails closed if background messaging fails.

Verified with npm ci, npm run check, npm run build, npm run test:e2e, and npm audit --omit=dev --audit-level=high.

@williamconnolly
williamconnolly marked this pull request as ready for review July 15, 2026 16:07
@williamconnolly
williamconnolly merged commit 1440a92 into master Jul 15, 2026
1 check passed
@williamconnolly
williamconnolly deleted the willc/kvm-password-prefill branch July 15, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant