Repository navigation
Prefill KVM password locally - #12
Merged
Merged
Conversation
Owner
Author
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 Verified with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 cinpm run checknpm run buildnpm run test:e2enpm audit --omit=dev --audit-level=highThe 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
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.