live · scanning repos
Scanrepo
github.com / storytold

storytold/photocraft

Rust·2953 files·commit a858d42·scanned 6d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 80,256+ stars — findings likely false positives

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

verdict accurate?
80,256 stars
Partial architecture graph
threat-state: lowlive

FINDINGS ░▒▓

criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/photocraft/src/external_svg.rs
                Some(bundle) => {
                    let mut command = std::process::Command::new("/usr/bin/open");
                    // Both paths are absolute, so neither can be read as an `open`...
+8
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/photocraft/src/linux_libs.rs
        // "5522 Bibliotheken im Cache", which `ldconfig_output_is_valid` took for no cache at all.
        if let Ok(out) = std::process::Command::new(cmd).arg("-p").env("LC_ALL", "C").output()
     ...
+8
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/photocraft/src/monitor_profile.rs
fn detect() -> Detection {
    let mut cmd = std::process::Command::new("/usr/bin/osascript");
    cmd.args(["-e", SCRIPT]);
    parse_reply(&run_helper(&mut cmd, HELPER_TIMEOUT)?)
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/algo/src/inpaint/proximity_integral/tests.rs
    let consider = |dx: i32, dy: i32, best: &mut Option<((i32, i32), f32)>| {
        if let Some(e) = eval(dx, dy)
            && best.is_none_or(|(_, be)| e < be)
        {
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/algo/src/inpaint/synthesis.rs
    let consider = |dx: i32, dy: i32, best: &mut Option<((i32, i32), f32)>| {
        if let Some(e) = eval(dx, dy, best.map_or(f32::INFINITY, |(_, error)| error))
            && best.is_none_or(|(_, ...
+8
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/algo/src/render2.rs
    #[inline]
    fn eval(&self, x: f32, y: f32) -> (f32, f32) {
        let soft = self.soft.max(1.0);
        match self.shape {
+8
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
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.crates/io/src/svg.rs
/// or relative href is never read, so opening an SVG cannot pull local files (`/etc/...`,
/// `~/.ssh/...`) into the document. Embedded SVG images get no `<image>` resolution at all
/// (`usvg` alrea...
+5
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/color_cmds.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/file_cmds.rs+4
infoSuspicious file in repoVery large source file (689KB) — could contain obfuscated payloadcrates/algo/src/lens_flare_data.rs+2
infoSuspicious file in repoVery large source file (1036KB) — could contain obfuscated payloaddocs/integration-testing/approved-selection.json+2
infoSuspicious file in repoVery large source file (1242KB) — could contain obfuscated payloaddocs/integration-testing/regression-results.json+2

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

2543 files scanned @ a858d42 | 11/18/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration0
file system access5
obfuscation15
supply chain15
owasp / injection0
telemetry
files 2543/2953rules hit 14engine v10commit a858d42

github

storytold/photocraft

PhotoCraft: An open-source photo editor written from scratch in pure Rust

Rust
80256
14167
56d
2953 files
2543 scanned(86%)
a858d42

network indicators░▒▓

Hosts this code names or would connect to. Top 50 of 91, decoded and call-site destinations first. Informational, not scored.

architecture░▒▓

entry (0) flagged (47) pkg (309)
709 nodes · 1059 edgesscroll to zoom · click node to jump to finding