Repository navigation
Description
The repository changed hands and a lot was merged very fast: the mass merge before the original went private, then this continuation. So I read everything that landed between 5d74c27 (the last upstream commit I had audited before) and 23c459644 (main at 2026-11-24 14:37 UTC), looking for anything harmful to someone who builds and runs it. That is 629 files, about +61k/−4k lines.
How: read-only. Eleven reviewers each read every file in one slice of git diff 5d74c27 23c459644, and one more covered the build entry points: README path, Build.*, Mods.*, make_game.py, scripts/, CMake, Cargo, workflows and the viewer. Three independent skeptics then re-checked every flagged item. Nothing was executed during the review. Afterwards the tree was built and its tests were run (below).
Result: nothing malicious. There is no obfuscation (no encoded blobs, exec/eval/pickle, or bidi/zero-width characters). There is no credential, environment or browser access, no persistence, no Defender/UAC changes, and no committed binaries. Every subprocess call uses an argument list, with no shell=True or command strings. The new ws2_offline shim restricts the title's networking to loopback rather than opening it. The viewer's CDN scripts now carry SRI hashes. conflict-label.yml uses pull_request_target safely: it checks out the default branch only, with persist-credentials: false.
One supply-chain note (not malware): runtime/CMakeLists.txt:109-127 (from cfcedb58e) runs cargo build at configure time whenever cargo is on PATH. That fetches github.com/omonkeyz/xbox-emulator at 27122f7 (package xma) and links it statically into gta6rt.exe. There is no opt-in: anyone who happens to have Rust installed builds third-party code during cmake. I reviewed that crate at the pinned rev:
- it is pure Rust, a port of FFmpeg's WMA Pro/XMA2 decoder (bits/mdct/tables/wmapro);
- it has no dependencies, no
build.rs, no proc-macros and nounsafe; - the library does no I/O (only its tests read sample files);
--lockedand the commit pin hold it to that code.
So it is fine today. Still, worth considering an explicit -DLEONIDA_XMA2_DECODER=ON opt-in, or vendoring the ~90 KB crate under third_party/. Then a later bump of the pin shows up as a reviewable diff in this repo instead of a one-line rev change pointing at another account's repository.
Smaller observations:
README.mdreplaced the localtools/pc_checker.pywith a link to an external site. tools: restore the PC spec checker dropped by merge 6dece9231 (RT-RESTORE-6DECE-PC-CHECKER) #709 restores the tool.- The new Telegram link and several Discord-invite swaps were pushed directly to main, not through PRs.
- Six PRs from branches inside this repository (about 3.8k lines, including runtime shims and the cargo step) were merged within 33 seconds of each other.
- Merge
6dece9231dropped ~28 files from the merged branch. fiestorra already reported this in Coordinating who works on what #14, and the restore PRs (runtime: restore the console DirectStorage shim, with the typed-error inflate it needs (RT-DSTORAGE-RESTORE, #47) #131, d3d12_xs: restore the console command-list IID mapping lost in a merge #641, tools: restore the PC spec checker dropped by merge 6dece9231 (RT-RESTORE-6DECE-PC-CHECKER) #709, vk_pipeline_check: match runtime device features and restore pipeline_cache_seed test (RT-PIPELINE-CACHE-SEED) #821, docs: restore exe_fail_fast.md for current main and extend import_fail_fast tests (DOC-EXE-FAIL-FAST) #848, …) cover most of it.
Built and run afterwards at 23c459644 on an AMD Radeon RX 7900 XT (RDNA3, AMD 26.11.2 / 32.0.32029.2010), Windows 11, VS 2022, Vulkan SDK 1.4.363.0:
tests/semantic: 465 files, 6108 tests, 1 file failed. It istest_image_cube_store_glc, a WindowsLLVM_MCpath issue fixed by TEST-CUBE-WINPATH: the cube semantic test cannot start llvm-mc when LLVM_MC is a Windows path (carries on #419) #837.run_gpu_tests.py: 258/258 translated andspirv-valclean. 231/249 passed, 16 skipped, 2 failed (the twocs_imgload*_tfefixtures, AMD Radeon 780M (RDNA3 iGPU, driver 26.10.2): cs_imgload_tfe and cs_imgload_d16_tfe fail on main - the tfe fetch status VGPR is read but never written #31/rdna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip (SHADER-1266) #98).- Full
ctest: 300/305. The failures arevk_queue_query_sync,d3d12_texture_tiles,d3d12_execute_indirect_validation(d3d12_execute_indirect_validation: 5 rows where the layer rejects and live WARP and hardware accept (over-strict, not permissive) #504),d3d12_clear(d3d12: use legal Vulkan depth clear values (D3D-CLEAR-DEPTH-RANGE) #516/d3d12/vulkan: write NaN depth clears with a copy on AMD (D3D-CLEAR-NAN-DEPTH) #787) andd3d12_pipeline_library_host(finding in Coordinating who works on what #14). These are the same five that d3d12/vulkan: write NaN depth clears with a copy on AMD (D3D-CLEAR-NAN-DEPTH) #787 lists for an RX 7900 XTX.
No game files were used. AI-assisted (Claude Code); every finding was re-checked against the code.
Activity
pickles976 commentedon Nov 24, 2026
Independent spot-verification of the load-bearing claims, done read-only against the tree at the audited ref (
23c459644) from a second party — all confirmed, including one I came to disprove:runtime/CMakeLists.txt:109-127: configure-timecargo build --release --lockedgated only onfind_program(cargo)— no opt-in, confirmed.runtime/xma_decoder/wrapper, so I hypothesized vendoring had already landed) — it has not: the wrapper'sCargo.tomlcarriesxma = { git = "https://github.com/omonkeyz/xbox-emulator", rev = "27122f7…" }andCargo.lockpins the same source. Your finding stands exactly as written. Good thing the claim got re-checked before my correction would have posted.One correctness twin to your supply-chain note, same line of code: when the fetch fails — offline machine, blocked GitHub, cargo absent-but-networked —
execute_processfails after up toTIMEOUT 120, and the build degrades viamessage(WARNING … "XMA voices will be silent"). That is a silent feature-loss build mode: the binary configures, builds, runs, and every XMA2 audio voice is silently absent, with a CMake warning as the only trace. Users will report that as a game bug (audio classes missing), and the report will not mention the warning. So-DLEONIDA_XMA2_DECODER=ON(or vendoring, which additionally kills the offline failure) is not just hygiene — it makes the feature-loss path a deliberate choice instead of a race against a network. The vendoring variant would also convert the audited-crate review into a reviewable local diff exactly as you proposed; the ~90 KB size makes that trivial.Cross-project action taken from your writeup verbatim: xcl deserves this same review before the weekend is over — a merge surge (BCPack, DXC trio, Wait64 family) plus a 460-issue backlog is precisely the condition that motivated yours. Our lanes are static-only by policy anyway; a read-only diff audit of everything merged since the handover is the right sibling check, and the methodology (slice reviewers + skeptic re-check + build-then-test) is worth copying as-is.
pickles976 commentedon Nov 24, 2026
Audit result for the sibling repo, as proposed above — red-flag pass over ivall/xcl's own merge surge (425 commits,
origin/mainfrom the first surge commit at 03:50Z through head930e8b4), read-only, scoped the way your method scopes the highest-risk surface first: build system, dependency manifests, scripts, workflows, and non-source files — plus everything your reviewer profile would grep for:Cargo.toml: one diff hunk across the window —[profile.release] debug = 2(keeps symbols in alpha builds so release crashes resolve; benign, transparency-positive). No new dependencies, no build.rs, no new crates anywhere in the window.gen_bcpack_victory_tables.py,tests/data/bcpack/generate.py): stdlib only (struct,random,deque,pathlib) — no network, no subprocess, no exec, no encoded blobs.pr_check.py/test.ps1changes are the CI lint and a missing-sample-env check (lists theXCL_SAMPLE_*vars that are unset) — the latter is exactly the transparency of build-time inputs your note argues for.generate.py,.gitattributesdeclares them binary — nothing over 1 MB anywhere in the data dir, no executables, no committed DLLs.XCL_*config vars andCARGO_*; no base64 payloads; no obfuscation patterns (the grep class from your writeup, run in full: encoded blobs,eval/execequivalents in scripts, bidi/zero-width — clean).Honest scope limits vs your method: build/dep/script surface fully covered for the window; the Rust source (~420 commits of it) is reviewed per-PR by the community and me as it lands (verdict comments on #1362/#1364/#1367/#1397/#1398 etc.), not by an 11-reviewer whole-diff read — so "nothing malicious found" holds for the classes this scan can see, and semantic review remains continuous rather than a point-in-time certificate. Happy to run the deeper slice read overnight if you consider the Rust lanes part of the same trust boundary; on our side we would treat your vendored-decoder opt-in result as the template for any future build-time fetch here.
BUILD-XMA2-OPT-IN: gate configure-time Cargo XMA2 build behind -DLEON…