live · scanning repos
Scanrepo
github.com / clintcan

clintcan/macrdp

Rust·162 files·commit 5cffc43·scanned 3d ago·cached ✓
70/100
DANGEROUS
High-risk patterns found. Review the flagged code and its context before running it.

scored by engine v10: rules have changed since, rescan for the current result

verdict accurate?
41% file coverage
Research / educational context
threat-state: dangerouslive

FINDINGS ░▒▓

criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.src/file_promise.rs
fn play_glass() {
    if let Err(e) = std::process::Command::new("afplay")
        .arg("/System/Library/Sounds/Glass.aiff")
        .spawn()
+8
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.src/rdpdr/surface.rs
                    // breaks the desktop's migration to the virtual display.
                    let _ = std::process::Command::new("/usr/bin/open")
                        .arg("-g")
               ...
+8
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.src/virtual_display/mod.rs
        let exe = std::env::current_exe().context("locating the macrdp binary")?;
        let mut cmd = std::process::Command::new(exe);
        #[cfg(not(test))]
        cmd.arg(SELECT_MODE_ARG).arg(...
+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.src/virtual_display/private_api.rs
pub(super) fn screen_is_locked() -> Option<bool> {
    unsafe {
        let rtld_default = -2isize as *mut c_void;
        let name = CString::new("CGSessionCopyCurrentDictionary").unwrap();
+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

Scores reflect the files and rules covered by this scan. How to read this report

67 files scanned @ 5cffc43 | 11/21/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration0
file system access0
obfuscation0
supply chain0
owasp / injection0
telemetry
files 67/162rules hit 5engine v10commit 5cffc43

github

clintcan/macrdp

A native RDP server for macOS, written in Rust on top of IronRDP.

Rust
91
29
195d
162 files
67 scanned(41%)
5cffc43

network indicators░▒▓

Hosts this code names or would connect to. 3 found, decoded and call-site destinations first. Informational, not scored.

architecture░▒▓

entry (0) flagged (4) pkg (122)
164 nodes · 184 edgesscroll to zoom · click node to jump to finding