github.com / thtbee
thtbee/ nectarlink
Rust·824 files·commit de7c6fb·scanned 9h ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 25 — 4,313 stars — findings likely legitimate code patterns
verdict accurate?
33% file coverage
threat-state: lowlive
FINDINGS ░▒▓
what this code does░▒▓
What happens when you open, install or run it, from the findings below.
- when rundesktop/packaging/linux/install.sh downloads a script from github.com and pipes it to the shell. desktop/packaging/linux/install.sh:108
- when runcore/nectarlink-adb/src/lib.rs and 2 other files start system processes. core/nectarlink-adb/src/lib.rs, desktop/app/src/linux/audio_out.rs, desktop/app/src/linux/bt_hfp.rs
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.core/nectarlink-adb/src/lib.rs
};
let mut cmd = std::process::Command::new(&adb);
cmd.arg("start-server")
.stdin(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.desktop/app/src/linux/audio_out.rs
let mut pacat = Command::new("pacat");
pacat.args([
"--playback",+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.desktop/app/src/linux/bt_hfp.rs
}
if let Ok(out) = Command::new("bluetoothctl").args(["devices", "Paired"]).output()
&& out.status.success()
{+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.desktop/app/src/linux/h264.rs
unsafe fn load_sym<T: Copy>(lib: *mut c_void, name: &CStr) -> Option<T> {
let raw = unsafe { libc::dlsym(lib, name.as_ptr()) };
if raw.is_null() { None } else { Some(unsafe { std::mem::transmu...+3warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.desktop/app/src/linux/keymap.rs
// before returning, and `syms` points into the keymap while it is alive.
unsafe {
let lib = libc::dlopen(c"libxkbcommon.so.0".as_ptr(), libc::RTLD_LAZY | libc::RTLD_LOCAL);
if...+3warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.desktop/app/src/linux/tray.rs
unsafe fn load_x11_sym<T>(lib: *mut libc::c_void, name: &std::ffi::CStr) -> Option<T> {
let ptr = unsafe { libc::dlsym(lib, name.as_ptr()) };
if ptr.is_null() { None } else { Some(unsafe { std...+3criticalRemote script piped into a shellA shell script downloads remote content and executes it directly (e.g. `curl … | bash`). The payload is never stored or reviewable and can change server-side — a classic malware/backdoor install pattern.desktop/packaging/linux/install.sh
#
# curl -fsSL https://github.com/thtbee/nectarlink/releases/latest/download/install.sh | sh
#
# It picks the package that fits this system (.deb with apt, .rpm with dnf+10infoSuspicious file in repoVery large source file (505KB) — could contain obfuscated payloaddesktop/app/i18n/nectarlink_de.ts+2
infoSuspicious file in repoVery large source file (500KB) — could contain obfuscated payloaddesktop/app/i18n/nectarlink_es.ts+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.
273 files scanned @ de7c6fb | 11/14/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access0
obfuscation0
supply chain15
owasp / injection0
telemetry
files 273/824rules hit 11engine v10commit de7c6fb
github
thtbee/nectarlink
Your Android phone and your PC, working as one. Windows and Linux. Local-first, end-to-end encrypted, no account.
4313
377
41d
824 files
273 scanned(33%)
de7c6fb
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 92, decoded and call-site destinations first. Informational, not scored.
- https://github.com/$REPO/releases/latest/download/install.shurlnext to execdesktop/packaging/linux/install.sh:108 +1 more
- https://ffmpeg.org/releases/ffmpeg-$urlnext to network calldesktop/packaging/linux/build-ffmpeg-backends.sh:19
- https://ftp.osuosl.org/pub/blfs/conglomeration/ffmpeg/ffmpeg-$urlnext to network calldesktop/packaging/linux/build-ffmpeg-backends.sh:21
- https://github.com/$REPO/releases/latesturldesktop/packaging/linux/install.sh:180
- https://api.github.com/repos/$REPO/releases/latesturldesktop/packaging/linux/install.sh:260
- https://github.com/$REPO/releases/download/v$VERSIONurldesktop/packaging/linux/install.sh:265
- https://rpmfusion.org/Configurationurldesktop/packaging/linux/install.sh:365
- https://github.com/$REPOurldesktop/packaging/linux/install.sh:490
- https://github.comurl.github/scripts/write-feed.py:42
- https://www.google.com/searchurlcore/nectarlink-core/src/clip_kind.rs:121
- https://www.google.com/maps/search/urlcore/nectarlink-core/src/clip_kind.rs:126 +3 more
- http://freedesktop.orgurldesktop/app/src/linux/storage.rs:492
- http://www.freedesktop.org/standards/desktop-bookmarksurldesktop/app/src/linux/storage.rs:507 +1 more
- http://www.kde.org/kdeprivurldesktop/app/src/linux/storage.rs:507
- http://www.freedesktop.org/standards/shared-mime-infourldesktop/app/src/linux/storage.rs:507
- http://www.apple.com/DTDs/PropertyList-1.0.dtdurldesktop/app/src/mac/autostart.rs:37
- https://maps.apple.comurldesktop/app/src/mac/shell.rs:26 +1 more
- https://dl.google.com/android/repository/repository2-3.xmlurldesktop/app/src/phone_install.rs:43
- https://dl.google.com/android/repository/urldesktop/app/src/phone_install.rs:44
- https://api.github.com/repos/thtbee/nectarlink/releases/latesturldesktop/app/src/updater.rs:51
- https://www.qt.iourltools/xtask/src/notices.rs:175
- https://download.qt.io/official_releases/qt/urltools/xtask/src/notices.rs:179
- https://code.qt.iourltools/xtask/src/notices.rs:179
- maps.app.goo.gldomaincore/nectarlink-core/src/handoff.rs:386
- openstreetmap.orgdomaincore/nectarlink-core/src/handoff.rs:388
- goo.gldomaincore/nectarlink-core/src/handoff.rs:395
- bing.comdomaincore/nectarlink-core/src/handoff.rs:395
- music.youtube.comdomaincore/nectarlink-core/src/handoff.rs:498
- player.vimeo.comdomaincore/nectarlink-core/src/handoff.rs:504
- twitch.tvdomaincore/nectarlink-core/src/handoff.rs:506
- m.twitch.tvdomaincore/nectarlink-core/src/handoff.rs:506
- localsend.orgdomaincore/nectarlink-core/src/localsend.rs:1834 +1 more
- netflix.comdomaincore/nectarlink-core/src/play_on_phone.rs:32
- primevideo.comdomaincore/nectarlink-core/src/play_on_phone.rs:33
- hotstar.comdomaincore/nectarlink-core/src/play_on_phone.rs:34
- jiohotstar.comdomaincore/nectarlink-core/src/play_on_phone.rs:35
- disneyplus.comdomaincore/nectarlink-core/src/play_on_phone.rs:36
- max.comdomaincore/nectarlink-core/src/play_on_phone.rs:37
- hbomax.comdomaincore/nectarlink-core/src/play_on_phone.rs:38
- hulu.comdomaincore/nectarlink-core/src/play_on_phone.rs:40
- peacocktv.comdomaincore/nectarlink-core/src/play_on_phone.rs:41
- paramountplus.comdomaincore/nectarlink-core/src/play_on_phone.rs:42
- sonyliv.comdomaincore/nectarlink-core/src/play_on_phone.rs:43
- zee5.comdomaincore/nectarlink-core/src/play_on_phone.rs:44
- crunchyroll.comdomaincore/nectarlink-core/src/play_on_phone.rs:45
- nectarlink.rcdomaindesktop/app/build.rs:241
- 100.128.0.1iptest onlycore/nectarlink-core/src/session.rs:879 +1 more
- 192.1.1.208:49806iptest onlycore/nectarlink-core/src/session.rs:888 +1 more
- 192.1.1.208iptest onlycore/nectarlink-core/src/session.rs:890 +2 more
- 192.1.1.209iptest onlycore/nectarlink-core/src/session.rs:896
architecture░▒▓
entry (0) flagged (36) pkg (112)
372 nodes · 356 edgesscroll to zoom · click node to jump to finding