github.com / KernelSU-Next
KernelSU-Next/ KernelSU-Next
C·511 files·commit b427a3f·scanned 16d ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 25 — 4,632 stars — findings likely legitimate code patterns
scored by engine v7: rules have changed since, rescan for the current result
verdict accurate?
10% file coverage
threat-state: lowlive
FINDINGS ░▒▓
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.scripts/add_device_handler.py
f.write(json.dumps(data, indent=4))
os.system("echo success=true >> $GITHUB_OUTPUT")
os.system("echo device=%s >> $GITHUB_OUTPUT" % device)
+4warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.userspace/ksud/src/boot_patch.rs
.with_context(|| format!("open {partition}"))?;
unsafe {
const BLKROSET: i32 = libc::_IO(0x12, 93);
let mut val: libc::c_int = 0;+3criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.userspace/ksud/src/boot_patch.rs
.ok_or_else(|| anyhow!("No kernel module found"))?;
let output = Command::new("modinfo").arg(modfile).output()?;
for line in output.stdout.lines().map_while(Result::ok) {
...+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.userspace/ksud/src/debug.rs
// force-stop it
let _ = Command::new("am").args(["force-stop", pkg]).status();
Ok(())
}+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.userspace/ksud/src/hot_install.rs
command.stdin(Stdio::null());
unsafe {
command.pre_exec(|| {
libc::signal(libc::SIGPIPE, libc::SIG_IGN);+3criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.userspace/ksud/src/hot_install.rs
}
let spawned = Command::new(assets::BUSYBOX_PATH)
.args(["rm", "-rf"])
.arg(&old)+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.userspace/ksud/src/init_event.rs
// timeout -s 9 30s logcat > boot.log
let result = unsafe {
std::process::Command::new("timeout")
.process_group(0)+3criticalCryptocurrency wallet directory accessAccessing wallet directories to steal private keys, seed phrases, or wallet data.manager/setup.sh+5
infoSuspicious file in repoVery large source file (488KB) — could contain obfuscated payloadmanager/app/src/main/assets/eruda.min.js+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.
50 files scanned @ b427a3f | 10/28/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access5
obfuscation0
supply chain4
owasp / injection0
telemetry
files 50/511rules hit 11engine v7commit b427a3f
github
KernelSU-Next/KernelSU-Next
An advanced Kernel based root solution for Android
4632
1231
671d
511 files
50 scanned(10%)
b427a3f
architecture░▒▓
entry (0) flagged (21) pkg (54)
93 nodes · 112 edgesscroll to zoom · click node to jump to finding