github.com / horizon-rust
horizon-rust/ horizon
Rust·6249 files·commit f4d8d62·scanned 17h ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 25 — 9,362 stars — findings likely legitimate code patterns
verdict accurate?
41% file coverage
Partial architecture graph
threat-state: lowlive
FINDINGS ░▒▓
what this code does░▒▓
What happens when you open, install or run it, from the findings below.
- when runcrates/cargo-horizon-mod/src/main.rs and 2 other files start system processes. crates/cargo-horizon-mod/src/main.rs, crates/horizon-client/src/desktop.rs, crates/horizon-client/src/game/pad_menu.rs
- when runcrates/horizon-client-render/src/auth.rs and crates/horizon-server/src/update.rs call wallet signing APIs and send requests to api.github.com. crates/horizon-client-render/src/auth.rs, crates/horizon-server/src/update.rs:319
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/cargo-horizon-mod/src/main.rs
println!("Starting {game} with {}", path.display());
let status = Command::new(&game)
.arg("--dev-mod")
.arg(&path)+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/horizon-client-render/src/particles/polytone.rs
fn eval(program: &Program, ctx: &mut Ctx) -> Option<f64> { program.eval(ctx).ok().map(|v| v.num()) }+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/horizon-client-render/src/providers.rs
}
fn eval(v: &Value, fast: bool, table: &HashMap<String, Value>, depth: u32) -> f64 {
if depth > 16 {
return 0.0;+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/horizon-client/src/desktop.rs
fn spawn(program: &str, arg: &std::ffi::OsStr) -> io::Result<()> {
let mut child = std::process::Command::new(program)
.arg(arg)
.stdout(std::process::Stdio::null())+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/horizon-client/src/game/pad_menu.rs
if gamepad::steam_keyboard(self.settings.controller.keyboard)
&& std::process::Command::new("xdg-open")
.arg("steam://open/keyboard")
.stdin(std::pr...+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/horizon-core/src/jmath.rs
/// sin (`cos == false`) or cos of a reduced angle in quadrant `q`.
fn eval(r: Dd, q: u32, cos: bool) -> f64 {
// sin(x) = sin r, cos r, -sin r, -cos r in quadrants 0..3; cos(x) is a q...+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.crates/horizon-system/src/lib.rs
// looked up rather than imported, so older systems still start.
let function = unsafe {
let kernel32 = GetModuleHandleA(c"kernel32.dll".as_ptr());
if kernel32.is_null() {+3warningRust wallet/crypto code with network activityCode handling private keys or signing and also making network requests may be exfiltrating secrets or sending funds to an attacker.crates/horizon-client-render/src/auth.rs
let field = |path: &str| v.pointer(path).and_then(|s| s.as_str());
let private = RsaPrivateKey::from_der(&pem_der(field("/keyPair/privateKey")?)?).ok()?;
let key = pem_der(field("/keyPair/...+5warningRust wallet/crypto code with network activityCode handling private keys or signing and also making network requests may be exfiltrating secrets or sending funds to an attacker.crates/horizon-server/src/update.rs
fn a_nightly_is_picked_with_its_version_signature_and_named_by_its_build() {
use horizon_release_sign::{SigningKey, sha256_hex, sums_file};
let Some(first) = ASSETS.first() else { ...+5warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/horizon-protocol/src/adapter/translate/v1_20_3.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/horizon-world/src/loot/odds_tests.rs+4
infoSuspicious file in repoVery large source file (651KB) — could contain obfuscated payloadcrates/horizon-client-render/src/gfx.rs+2
infoSuspicious file in repoVery large source file (546KB) — could contain obfuscated payloadcrates/horizon-client/src/game.rs+2
infoSuspicious file in repoVery large source file (589KB) — could contain obfuscated payloadcrates/horizon-client/src/game/native_hooks.rs+2
Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
2568 files scanned @ f4d8d62 | 11/13/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration10
file system access0
obfuscation8
supply chain15
owasp / injection0
telemetry
files 2568/6249rules hit 15engine v10commit f4d8d62
github
horizon-rust/horizon
Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.
9362
1556
42d
6249 files
2568 scanned(41%)
f4d8d62
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 218, decoded and call-site destinations first. Informational, not scored.
- https://discord.com/api/webhooks/discord webhookcrates/horizon-server/src/discord.rs:62
- https://textures.minecraft.net/texture/abcurldecoded from base64test onlycrates/horizon-client-render/src/skins.rs:1535 +4 more
- https://textures.minecraft.net/texture/skin1urldecoded from base64test onlycrates/horizon-client-render/src/skins.rs:1550 +3 more
- https://textures.minecraft.net/texture/abc123urldecoded from base64test onlycrates/horizon-client-render/src/skins.rs:1796 +3 more
- https://api.github.com/repos/urlnext to network callcrates/horizon-server/src/update.rs:319 +2 more
- https://raw.githubusercontent.compaste hostcrates/horizon-port-pack/src/fetch.rs:28
- https://discord.com/api/webhooks/123/…discord webhooktest onlycrates/horizon-server/src/api.rs:1868
- https://discord.com/api/webhooks/1/…discord webhooktest onlycrates/horizon-server/src/discord.rs:675
- http://discord.com/api/webhooks/1/…discord webhooktest onlycrates/horizon-server/src/discord.rs:676
- https://playhorizon.devurlcrates/horizon-addresses/src/lib.rs:28 +18 more
- https://cosmetics.playhorizon.devurlcrates/horizon-addresses/src/lib.rs:32
- https://telemetry.playhorizon.devurlcrates/horizon-addresses/src/lib.rs:36
- https://playhorizon.dev/perfurlcrates/horizon-addresses/src/lib.rs:39
- https://playhorizon.dev/api/perf/capturesurlcrates/horizon-addresses/src/lib.rs:42
- https://discovery.minecraftservices.com/minecraft/clienturlcrates/horizon-client-render/src/auth.rs:13 +1 more
- https://api.minecraftservices.com/minecraft/profileurlcrates/horizon-client-render/src/auth.rs:529
- https://aka.ms/mcjavamoderationurlcrates/horizon-client-render/src/ban_notice.rs:9
- https://api.modrinth.com/v2urlcrates/horizon-client-render/src/pack_browser.rs:20 +1 more
- https://textures.minecraft.net/texture/urlcrates/horizon-client-render/src/skins.rs:30
- http://textures.minecraft.net/texture/urlcrates/horizon-client-render/src/skins.rs:31
- https://aka.ms/MinecraftJavaAccessibilityurlcrates/horizon-client/src/game/options.rs:16
- https://aka.ms/snapshotbugsurlcrates/horizon-client/src/game/screens.rs:199
- https://aka.ms/javafeedbackurlcrates/horizon-client/src/game/screens.rs:203
- https://aka.ms/snapshotfeedbackurlcrates/horizon-client/src/game/screens.rs:205
- https://playhorizon.dev/modsurlcrates/horizon-client/src/mod_registry.rs:24 +2 more
- https://github.com/someone/rubyurlcrates/horizon-client/src/mod_registry/tests.rs:39
- https://github.com/someone/oldurlcrates/horizon-client/src/mod_registry/tests.rs:47
- https://github.com/someone/zoomurlcrates/horizon-client/src/mod_registry/tests.rs:54
- https://playhorizon.dev/mods/rubyurlcrates/horizon-client/src/mod_registry/tests.rs:78
- https://modrinth.com/resourcepack/faithfulurlcrates/horizon-client/src/mod_registry/tests.rs:92
- https://pc.realms.minecraft.neturlcrates/horizon-client/src/realms/client.rs:14
- https://java.frontend.realms.minecraft-services.neturlcrates/horizon-client/src/realms/client.rs:16
- https://github.comurlcrates/horizon-mod-registry/src/github.rs:24 +8 more
- https://api.github.comurlcrates/horizon-mod-registry/src/github.rs:25 +1 more
- https://uploads.github.comurlcrates/horizon-mod-registry/src/github.rs:26 +1 more
- https://github.com/horizon-rust/horizon-mods/releases/download/urlcrates/horizon-mods/src/index.rs:24
- https://github.com/horizon-rust/horizon-modsurlcrates/horizon-mods/src/index/registry/tests.rs:59 +1 more
- https://github.com/acme/cozy-pack/releases/download/v1.0.0/cozy-1.0.0.hpackurlcrates/horizon-mods/src/index/registry/tests.rs:581
- https://github.com/acme/cozy-packurlcrates/horizon-mods/src/index/registry/tests.rs:609
- https://github.com/horizon-rust/horizon-mods/releases/download/coords_hud-0.1.0/urlcrates/horizon-mods/src/index/tests.rs:144
- https://cdn.modrinth.comurlcrates/horizon-port-pack/src/fetch.rs:26 +1 more
- https://gitlab.comurlcrates/horizon-port-pack/src/fetch.rs:29
- https://maven.neoforged.net/releases/net/neoforged/neoforge/urlcrates/horizon-port-pack/src/worldgen.rs:877
- https://piston-meta.mojang.com/v1/packages/urlcrates/horizon-prepare/src/artifacts.rs:747
- https://aka.ms/…urlcrates/horizon-server-files/src/eula.rs:8
- http://www.apple.com/DTDs/PropertyList-1.0.dtdurlcrates/horizon-server/src/service.rs:136
- play.playhorizon.devdomaincrates/horizon-addresses/src/lib.rs:11
- horizon.bunchy7s.devdomaincrates/horizon-addresses/src/lib.rs:16 +6 more
- afri-network.co.zadomaincrates/horizon-addresses/src/lib.rs:20 +3 more
- play.playhorizon.dev:24454domaincrates/horizon-addresses/src/lib.rs:24
architecture░▒▓
entry (0) flagged (23) pkg (148)
548 nodes · 426 edgesscroll to zoom · click node to jump to finding