v1.48.0: auditoría en frío, parche 1 — guarda de red única, secretos en todos los campos, garantías sin comprobar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5npnUYgSPkAaHkdaeUqBr
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ const P = new Function(`const C = {}; const ENTITY_INDEX = new Map();
|
||||
ok: true, status: 200,
|
||||
json: () => new Promise((_, rej) => signal.addEventListener("abort", () => { const e = new Error("aborted"); e.name = "AbortError"; rej(e); })),
|
||||
});
|
||||
const fwt = new Function("fetch", `const FETCH_TIMEOUT_MS = 8000; ${cut("async function fetchWithTimeout", "// ── Caché de respuestas del nodo")} return fetchWithTimeout;`)(fetchFalso);
|
||||
const fwt = new Function("fetch", `const RED = { signet: false }; ${cut("// ── fetch con timeout", "// ── Caché de respuestas del nodo")} return fetchWithTimeout;`)(fetchFalso);
|
||||
const t0 = Date.now();
|
||||
let msg = null;
|
||||
try { const r = await fwt("http://nodo/x", 150); await r.json(); } catch (e) { msg = e.message; }
|
||||
|
||||
Reference in New Issue
Block a user