github.com / storytold
storytold/ vectorcraft
Rust·1901 files·commit 6e78549·scanned 18d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 10,658+ stars — findings likely false positives
scored by engine v7: rules have changed since, rescan for the current result
verdict accurate?
10,658 stars
Created 25 days ago
Created 25 days ago
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/vectorcraft-cli/src/perf.rs
fn load_average() -> Option<f64> {
let out = std::process::Command::new("sysctl").args(["-n", "vm.loadavg"]).output().ok().filter(|o| o.status.success());
let text = match out {
Some(o...+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.apps/vectorcraft/src/cursor_theme.rs
// SAFETY: called at the top of `main`, before the app starts any thread.
unsafe { std::env::set_var(name, value) };
}
}+3criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/vectorcraft/src/cursor_theme.rs
let get = |key: &str| {
let out = std::process::Command::new("gsettings").args(["get", "org.gnome.desktop.interface", key]).output().ok()?;
out.status.success().then(|| String::fro...+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.apps/vectorcraft/src/gpu.rs
log::logger().flush();
let mut c = std::process::Command::new(std::env::current_exe()?);
c.args(std::env::args_os().skip(1)).env(SKIP_ENV, skip);
#[cfg(unix)]+8warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.apps/vectorcraft/src/mac_fonts.rs
// SAFETY: a CoreText call without arguments; it returns a new array.
let list = unsafe { CTFontManagerCopyAvailableFontURLs() };
// SAFETY: the array holds CF objects (CFURLs, as CoreText...+3warningRust unsafe blockunsafe blocks bypass Rust's memory safety guarantees. Malware uses them for raw pointer manipulation, shellcode injection, or calling dangerous foreign functions.apps/vectorcraft/src/mac_menu.rs
#[allow(unsafe_code)]
let notifications = unsafe { [(NSMenuDidBeginTrackingNotification, true), (NSMenuDidEndTrackingNotification, false)] };
for (name, tracking) in notificati...+3criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/cad/src/import/curve.rs
/// A (rational) Bézier of any degree at `t`, with its derivative.
fn eval(bez: &[H], t: f64) -> Option<(Point, Vec2)> {
let mut pts = bez.to_vec();
let n = pts.len().checked_sub(1)?;+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/doc/src/live.rs
/// The surface point at (u, v) ∈ [0,1]².
pub fn eval(&self, u: f64, v: f64) -> Point {
let (t, b, l, r) = (Self::sample(&self.top, u), Self::sample(&self.bottom, u), Self::sample(&sel...+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/engine/src/cmd/buildcmds.rs
.filter(|sp| sp.segment_count() > 0)
.and_then(|sp| edge_near(old, kurbo::ParamCurve::eval(&sp.segment(0), 0.5), ON_EDGE)),
_ => None,
};+8criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.crates/scriptcheck/src/tests.rs
("dynamicCode", "eval(code);", "safe.eval(code);"),
("dynamicCode", "var f = new Function('a', 'return a');", "var f = function (a) { return a; };"),
("e4x", "var x = <root><item id=\"1\"/...+5warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/effects/src/lib.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/buildcmds.rs+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/engine/src/cmd/create.rs+4
infoSuspicious file in repoVery large source file (589KB) — could contain obfuscated payloadcrates/ui-egui/src/canvas.rs+2
infoSuspicious file in repoExecutable file (package.ps1) in repositorypackaging/windows/package.ps1+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.
1404 files scanned @ 6e78549 | 10/25/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access0
obfuscation15
supply chain8
owasp / injection0
telemetry
files 1404/1901rules hit 17engine v7commit 6e78549
github
storytold/vectorcraft
VectorCraft: An open-source, vector art tool written by scratch in pure Rust
10658
5211
44d
1901 files
1404 scanned(74%)
6e78549
architecture░▒▓
entry (0) flagged (60) pkg (290)
690 nodes · 1306 edgesscroll to zoom · click node to jump to finding