live · scanning repos
Scanrepo
github.com
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.

  1. 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
  2. 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)
+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/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;
+8
criticalRust 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())
+8
criticalRust 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...
+8
criticaleval() 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...
+8
warningRust 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() {
+3
infoSuspicious files are not reachable from entry pointsFlagged files exist but are not imported by any entry point. They may be dead code, tests, or attack payloads triggered by another mechanism.+2
warningRust 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/...
+5
warningRust 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 { ...
+5
warningExtremely 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.

Rust
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.

architecture░▒▓

entry (0) flagged (23) pkg (148)
548 nodes · 426 edgesscroll to zoom · click node to jump to finding
LOW (25/100) — horizon-rust/horizon — ScanRepo