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()+8criticalRust 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")
...+8criticalRust 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(...+8warningRust 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();+3Scores 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.
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.
- http://www.apple.com/DTDs/PropertyList-1.0.dtdurlgui/make-tray-app.sh:38
- https://github.com/clintcan/IronRDP.giturlscripts/check-ironrdp-pin.sh:30 +1 more
- macrdp.appdomainpackaging/make-dmg.sh:86
architecture░▒▓
entry (0) flagged (4) pkg (122)
164 nodes · 184 edgesscroll to zoom · click node to jump to finding