r/SwitchPirates2 • u/letmeinplease111 • 10d ago
Do not trust LongShot
How it appeared
magicbean.dev (git, CDN, chat, Discord bridge) was registered the day before I looked. Spun up overnight.
Anonymous team, unsigned binaries.
The original Hookshot repo and its dev vanished right as LongShot launched. LongShot's build config says several toolchain bundles were "taken as they are from Hookshot v2.1.0's builder-parts" a repo that no longer exists. Those binaries now live only on magicbean's servers. Nothing left to compare them against.
This sub gets ~200K visitors a week. Perfect distribution for code you want on a lot of PCs.
Questions nobody has answered (speculation, unverified)
Why did the original dev and repo disappear at the exact moment a replacement showed up on a new domain? The public story is dev drama. Maybe. Or was the dev paid off, pressured, or hacked, and the repo deleted to push everyone onto LongShot? I have no proof either way. Neither does anyone else.
Who controls magicbean.dev and signs its releases?
Why does a week-old fan project need its own forge, CDN, chat server, AI-agent onboarding and an automated crowd-testing network? (Thats what a botnet C&C looks like)
What I checked
10 scanners (ClamAV, YARA, Gitleaks, TruffleHog, OSV, Semgrep, SonarQube, Bandit, Flawfinder, Cppcheck), vendored libs diffed against upstream, the translator DLL rebuilt from source, ~15k lines of the shader recompiler read in full, and ~1.4 MB of scripts read line by line (build pipeline, builder, release tools, and all the networking scripts).
Nothing obvious turned up. But this is a huge pile of C/C++ and a compiler toolchain. There are endless ways to hide something a review won't catch: a poisoned compiler, a subtle memory bug, behaviour that only triggers later. "Didn't find it" is not "it isn't there".
The memory bugs
The shader recompiler (inherited from yuzu/suyu/eden, heavily modified) has real memory-safety issues:
An out-of-bounds write in the transform-feedback path. It's "dead code" today, only because the feature isn't wired up. One small change in a future update and it's live.
Descriptor/handle indexing that is only safe because other code happens to bounds-check it later.
Hard "this can never happen" assumptions (
UNREACHABLE/__builtin_unreachable) that turn into undefined behaviour if they ever do happen.It parses untrusted input: game shaders, mods, and community-shared "pipeline state" files that the project collects and redistributes.
Today these look like ordinary sloppy code. But this is exactly what a deniable backdoor looks like: a memory bug plus a crafted mod or pipeline file can become code execution, and nobody can prove it was deliberate.
It phones home to build, and can change any time
The Builder/Launcher downloads its toolchain (Python, compilers, FFmpeg, SDL, wgpu, the core translator DLL) only from git-cdn.magicbean.dev / git.magicbean.dev. The upstream fallback in the config is never used.
Hashes are pinned per release, but the hash list comes from them with every update. Any update can swap in new binaries.
A poisoned compiler can put code into your
longshot.exethat isn't in the source. Reading the source can't catch that.The build reuses a prebuilt
a64emit.dllif a stamp of the source matches; it never checks the DLL itself.The Launcher is a separate repo nobody here has audited. "
LongshotLauncher.dllscans clean" means nothing. Brand-new code always scans clean.Defender has already quarantined someone's Builder-made
longshot.exeas "Trojan executes commands from an attacker". Could be a false positive. Nobody has posted the exact detection name yet.
The AI-agent tooling looks like C&C
The repo ships AGENTS.md and Claude Code "skills" that load automatically when you open it with an AI agent. One ordinary request ("help test") plus one Discord click, and your agent:
installs a global git credential helper that runs a repo script on every git op with their server (change that script in an update and it runs on your PC);
sends your push-capable token to a server address chosen by magicbean.dev's own config;
posts to their chat hourly under your Discord name and reads everyone else's messages into its context (prompt injection, aimed at your agent);
on a 30-minute loop, pulls other people's code, builds and runs it on your PC, and reports back. The check on whose code is allowed is client-side only, and their own docs say a hand-typed message gets around it.
Central server hands out jobs, PCs poll on a timer, fetch code, run it, report back, credentials flow to the centre. That's botnet architecture. Maybe it's only for GPU testing today. One bad update and it isn't.
If you touch it at all
Never run their prebuilt exe, Builder or Launcher.
Never run
forge.py, never sign in to their chat, never enable the agent loops. DeleteAGENTS.mdand.claude/before opening the repo with any AI agent.Build from source only, with toolchains you download from the real upstreams (llvm-mingw, python.org + PyPI, libsdl, wgpu-native, Khronos, VideoLAN/FFmpeg, NVIDIA/AMD). Build
a64emit.dllandzbic.dllyourself; delete any prebuilt copies.Build and first-run in a sandbox: a VM with no network adapter, AND an air-gapped PC. No internet, no logged-in accounts, no saved passwords, no credentials, nothing you can't afford to lose or have compromised.
Watch it: Sysmon + Process Monitor running, Regshot / Autoruns snapshots before and after, hosts file hashed before and after, a VM snapshot to roll back to. Check the exe's imports for networking DLLs before you trust it.
Treat every update as brand-new code from people you can't identify.
Help dig
Defender flagged you? Post the exact threat name and the file's SHA-256 (look the hash up on VirusTotal; don't upload the exe, it contains game code).
Someone please read the LongshotLauncher source (
Core/Toolchains.cs): does it verify hashes before running anything, and what else does it connect to?Anyone archived Hookshot's builder-parts? Compare them to what magicbean serves now.
WHOIS / Wayback history for magicbean.dev and its subdomains.
Watch
tools.lockbetween releases. A changed hash means new binaries: ask why.Ran the Launcher anyway? Capture its traffic and post where it connects.
TL;DR: Overnight domain, anonymous team, the original dev and repo vanished, toolchain binaries that exist only on their server and can change with any update, memory bugs that would make a perfect deniable backdoor, and AI-agent tooling shaped like a botnet's command and control. I couldn't prove it's malicious. I can't prove it isn't. Don't run their binaries, build in isolation, and keep digging.
