github.com / UCS-Care-Group
UCS-Care-Group/ mailcraft
Rust·2385 files·commit 7528f83·scanned 3d ago·cached ✓
84/100
MALICIOUS
Matches known-malicious patterns. Do not clone or install.
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
Partial architecture graph
threat-state: maliciouslive
FINDINGS ░▒▓
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/mailcraft/src/attachment_render.rs
fn command(program: &Path, dir: &Path) -> Command {
let mut command = Command::new(program);
command.current_dir(dir).env_clear().stdin(Stdio::null()).stderr(Stdio::null());
for name in ["...+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/mailcraft/src/browser.rs
};
let mut command = Command::new(program);
command.arg("url.dll,FileProtocolHandler").arg(url);
command.stdin(Stdio::null()).stdout(Stdio::null()).stderr(Stdio::null());+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/mailcraft/src/desktop_icons.rs
// A program with fixed arguments, never a shell; one that isn't installed is skipped.
let run = std::process::Command::new(tool)
.arg("--noincremental")
.stdin...+8warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.crates/link/src/tests.rs
assert_eq!(host("http://127.1/"), "127.0.0.1");
assert_eq!(host("http://192.168.0.1./"), "192.168.0.1");
assert_eq!(host("http://4294967295/"), "255.255.255.255");
assert_eq!(written("...+5warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.crates/mobile/src/pictures_tests.rs
"http://user:pass@93.184.216.34/x.png", "http://127.0.0.1:1/x.png", "http://localhost/x.png", "http://[::1]/x.png",+5
warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.crates/net/src/pictures.rs
let to = match path_of(request) {
"/0" => format!("http://127.0.0.1:{inside_port}/admin"),
// This server's own port, by names for this machine rather than ...+5warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.apps/mailcraft/src/gpg_agent_tests.rs
assert_eq!(
socket_from_output(b"/home/ann/.gnupg/S.gpg%25agent\r\nmore\n"),
Some(PathBuf::from("/home/ann/.gnupg/S.gpg%agent")).filter(|p| p.is_absolute())
);+5warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.apps/mailcraft/src/own_keys/mod.rs
Ok(keys) => {
listing.gnupg = Gnupg::Found;
listing.keys.extend(keys);
}+5warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.crates/engine/src/digital_signature.rs
from,
gnupg: session.signatures.gnupg_revision,
day: session.now().div_euclid(86_400),
}+5warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/account.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/calendar.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/calendar/invitation.rs+4
infoSuspicious file in repoExecutable file (gradlew.bat) in repositoryapps/mailcraft-android/gradlew.bat+2
infoSuspicious file in repoExecutable file (package.ps1) in repositorypackaging/windows/package.ps1+2
warningUnvalidated file uploadFile upload without type/size validation. Can be exploited for remote code execution or storage abuse.crates/jmap/src/mail/send_tests.rs
assert_eq!((upload.method(), upload.url()), (Method::Post, "https://jmap.example.org/jmap/upload/A1/"));
let fields: Vec<(&str, &str)> = upload.fields().collect();
assert!(fields.contains(...+3Scores reflect the files and rules covered by this scan. How to read this report
1628 files scanned @ 7528f83 | 11/22/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration15
file system access20
obfuscation15
supply chain6
owasp / injection3
telemetry
files 1628/2385rules hit 17engine v10commit 7528f83
github
UCS-Care-Group/mailcraft
MailCraft: an open-source, clean-room mail, calendar and contacts program in pure Rust, for Microsoft 365, Outlook.com and IMAP. Early alpha.
851
191
44d
2385 files
1628 scanned(68%)
7528f83
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 460, decoded and call-site destinations first. Informational, not scored.
- http://archive.ubuntu.com/ubuntu/url.github/scripts/apt-mirrors.sh:10
- http://mirrors.edge.kernel.org/ubuntu/url.github/scripts/apt-mirrors.sh:10
- 2.5.29.15ipapps/mailcraft/src/key_holders/certificate.rs:34 +2 more
- 2.5.29.17ipapps/mailcraft/src/key_holders/certificate.rs:35 +2 more
- 2.5.29.37ipapps/mailcraft/src/key_holders/certificate.rs:36 +2 more
- 2.5.29.19ipapps/mailcraft/src/key_holders/certificate.rs:37 +1 more
- 2.5.29.14ipapps/mailcraft/src/key_holders/certificate.rs:38 +1 more
- 2.5.29.35ipapps/mailcraft/src/key_holders/certificate.rs:39 +1 more
- 2.5.29.32ipapps/mailcraft/src/key_holders/certificate.rs:40 +2 more
- 2.5.29.36ipapps/mailcraft/src/key_holders/certificate.rs:41 +1 more
- 2.5.29.54ipapps/mailcraft/src/key_holders/certificate.rs:42 +1 more
- 2.5.29.30ipapps/mailcraft/src/key_holders/certificate.rs:43 +2 more
- 172.32.0.1ipcrates/jmap/src/host/tests.rs:123
- 100.128.0.1ipcrates/jmap/src/host/tests.rs:123
- https://dl.flathub.org/repo/flathub.flatpakrepourlpackaging/linux/flatpak-bundle.sh:20
- https://nfpm.goreleaser.com/install/urlpackaging/linux/package.sh:91
- https://github.com/AppImage/appimagetool/releases/download/…/…urlpackaging/linux/package.sh:143
- https://github.com/AppImage/…/releases/download/…/…urlpackaging/linux/package.sh:149
- https://login.microsoftonline.com/common/oauth2/v2.0/authorizeurlapps/mailcraft/src/approval_flow.rs:119 +2 more
- https://graph.microsoft.com/…urlapps/mailcraft/src/approval_flow.rs:131 +50 more
- https://login.microsoftonline.comurlapps/mailcraft/src/approval_flow.rs:159 +7 more
- https://login.microsoftonline.com/lumen.example/v2.0/adminconsenturlapps/mailcraft/src/approval_flow.rs:173 +2 more
- https://outlook.office.com/IMAP.AccessAsUser.Allurlapps/mailcraft/src/approval_flow.rs:178 +5 more
- https://outlook.office.com/SMTP.Sendurlapps/mailcraft/src/approval_flow.rs:179 +5 more
- https://graph.microsoft.com/Mail.Sendurlapps/mailcraft/src/approval_flow.rs:180 +5 more
- https://graph.microsoft.com/Contacts.Readurlapps/mailcraft/src/approval_flow.rs:182 +6 more
- https://graph.microsoft.com/MailboxConfigItem.Readurlapps/mailcraft/src/approval_flow.rs:183 +5 more
- https://login.microsoftonline.com/organizations/v2.0/adminconsenturlapps/mailcraft/src/approval_flow.rs:195 +6 more
- https://autodiscover.outlook.com/autodiscover/autodiscover.xmlurlapps/mailcraft/src/ews_setup_flow.rs:289
- https://outlook.office365.com/EWS/Exchange.asmxurlapps/mailcraft/src/ews_setup_flow.rs:423 +10 more
- https://outlook.office.com/EWS/Exchange.asmxurlapps/mailcraft/src/ews_setup_flow.rs:424 +3 more
- https://mail.outlook.com/EWS/Exchange.asmxurlapps/mailcraft/src/ews_setup_flow.rs:426
- https://outlook.abc.com/EWS/Exchange.asmxurlapps/mailcraft/src/ews_setup_flow.rs:439 +4 more
- https://evil-office365.com/EWS/Exchange.asmxurlapps/mailcraft/src/ews_setup_flow.rs:440 +1 more
- https://gravatar.com/avatar/…urlapps/mailcraft/src/sender_images_tests.rs:15
- https://favicon.im/example.orgurlapps/mailcraft/src/sender_images_tests.rs:24
- https://gravatar.com/avatar/urlapps/mailcraft/src/sender_images.rs:47 +4 more
- https://favicon.imurlapps/mailcraft/src/sender_images.rs:51 +3 more
- https://www.google.com/s2/faviconsurlapps/mailcraft/src/sender_images.rs:52 +4 more
- http://apple.com/ns/ical/urlcrates/dav/src/answer_tests.rs:9 +2 more
- http://calendarserver.org/ns/urlcrates/dav/src/answer_tests.rs:9 +2 more
- https://outlook.office365.com/dav/urlcrates/dav/src/discovery_tests.rs:422 +4 more
- https://apidata.googleusercontent.com/caldav/v2/urlcrates/dav/src/discovery_tests.rs:444 +3 more
- https://caldav.icloud.comurlcrates/dav/src/discovery_tests.rs:462 +6 more
- https://contacts.icloud.comurlcrates/dav/src/discovery_tests.rs:462 +3 more
- https://caldav.fastmail.comurlcrates/dav/src/discovery_tests.rs:471 +3 more
- https://p07-caldav.icloud.comurlcrates/dav/src/discovery_tests.rs:521
- https://sites.google.com/xurlcrates/dav/src/discovery_tests.rs:810
- https://outlook.office365.com/h/urlcrates/dav/src/discovery_tests.rs:1295
- https://www.google.com/h/urlcrates/dav/src/discovery_tests.rs:1295
architecture░▒▓
entry (0) flagged (32) pkg (262)
662 nodes · 1274 edgesscroll to zoom · click node to jump to finding