fix: harden plugin sockets, public routes, prebuilt binaries and login fallback

This commit is contained in:
LukeGus committed 2026-10-05 19:50:19 -05:00
1 parent efb4259438
commit 5e54d95e71
16 files changed
+318 -23

No files matched your search

@@ -511,7 +511,10 @@ export async function resolveOwnerProtocolLogin(
const fallback = declared.hostLoginFallback ?? [];
if (fallback.includes("username")) username ||= str(host.username);
if (fallback.includes("password")) password ||= str(host.password);
// A key or credential host can still carry an old password; never send it.
if (fallback.includes("password") && host.authType === "password") {
password ||= str(host.password);
}
const secretFields: Record<string, string> = {};
for (const [key, value] of Object.entries(login?.secretFields ?? {})) {