Repository navigation
feat(kilo-mcp): gate admin and debug access behind an OTP opt-in - #6244
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Previous Review Summaries (4 snapshots, latest commit 57eacca)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 57eacca)Status: No Issues Found | Recommendation: Merge Files Reviewed (11 files)
Previous review (commit 79bda6d)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (40 files)
Fix these issues in Kilo Cloud Previous review (commit c19c388)Status: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (39 files)
Fix these issues in Kilo Cloud Previous review (commit eed4b3a)Status: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (39 files)
Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
iscekic
marked this pull request as draft
September 16, 2026 21:08
iscekic
added a commit
that referenced
this pull request
Sep 16, 2026
iscekic
force-pushed
the
kwf/owner-kilo-mcp-admin-checkbox-9ffb
branch
from
September 16, 2026 22:09
27669e8 to
c19c388
Compare
iscekic
marked this pull request as ready for review
September 16, 2026 22:24
iscekic
marked this pull request as draft
September 16, 2026 22:28
iscekic
marked this pull request as ready for review
September 16, 2026 22:57
pandemicsyn
approved these changes
Sep 17, 2026
iscekic
force-pushed
the
kwf/owner-kilo-mcp-admin-checkbox-9ffb
branch
from
September 18, 2026 02:40
c19c388 to
79bda6d
Compare
This was referenced Sep 19, 2026
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.
Changelog for users
Enable admin and debug actionscheckbox at sign-in; non-admins never see it or any admin or debug trace.otpauth://URI and a code field, without a page load.callunless the connection opted in; only an admin is told they were hidden.call_protectedandsubmit_otp; all other connections see onlysearchandcall.Changelog for maintainers
user.getMenow returnsisAdmin, and the sign-in picker re-derives admin eligibility per request, so an edited form cannot grant admin or debug access.adminEnabled,adminEligibleand a per-connectionsessionId; each fails closed when absent, so pre-feature grants stay disabled.adminanddebugmarkers emitted only when true; a row is guarded when either is present, and the dump stays byte-stable.mcp_admin_authenticatorsandmcp_protected_requests(migration 0006) and drops the approval-queue tables (migration 0007).callandsubmit_otpshare one upstream path;call_protectedfixes the payload and binds it tosessionId,submit_otpre-derives the live admin role before claiming, and TOTP is a dependency-free RFC 6238 implementation over WebCrypto with no new runtime dependency.MAX_OTP_ATTEMPTSonly invalidates the current request andcall_protectedmints a fresh row withattempts = 0, so the count now lives on the authenticator (failed_attempts,locked_until, migration 0008); 10 wrong codes lock the account for 15 minutes and both peek and claim consult the lock./authorizeworker path 404s again.remoteto exercise semantic search locally.E2E proof
The earlier live-check summary is superseded by the log excerpts below, collected 2026-09-18. The consent/picker screenshots remain valid, and the change has no device surface, so the Android emulator was not exercised.
E2E proof — log excerpts