github.com / erkamyaman
erkamyaman/ rust-anything
Rust·3282 files·commit ab77412·scanned 16h ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 25 — 9,145 stars — findings likely legitimate code patterns
verdict accurate?
Obfuscated code detected
Created 8 days ago
Created 8 days ago
28% file coverage
Partial architecture graph
CLI tool detected
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.demo/real-world/eslint-rs/app/src/cli.rs
pub fn command() -> Command {
Command::new(ROOT)
.disable_help_flag(true)
.disable_version_flag(true)+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.demo/real-world/eslint-rs/app/src/original.rs
};
let mut command = Command::new(resolve(program));
command.args(rest.iter().map(|w| resolve(w))).args(args);
#[cfg(windows)]+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.demo/real-world/eslint-rs/linter-rs/src/static_value.rs
fn eval(code: &str) -> Result<Option<String>, Unknown> {
let sc = SourceCode::parse(
code,+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.demo/real-world/prettier-rs/app/src/cli.rs
pub fn command() -> Command {
Command::new(ROOT)
.disable_help_flag(true)
.disable_version_flag(true)+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.demo/real-world/prettier-rs/equiv/fuzz/driver/src/main.rs
fn eval(&mut self, args: &[String], text: &str, want_prettier: bool) -> Outcome {
let req = json!({"id": 0, "args": args, "text": text});
let rust_sent = self.rust.send(&req);+8criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.demo/real-world/prettier-rs/scripts/gen-id-chars.mjs
const body = src.slice(src.indexOf("let nonASCIIidentifierStartChars"), src.indexOf("const reservedWords = {"));
const babel = new Function(`${body}; return { isIdentifierStart, isIdentifierChar };`)(...+5criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.src/lang/php.rs
}
eval('1;');
"#;
+8warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.demo/fixtures/go-strkit-rs/go/strkit.go
"runtime" "unsafe" )+3
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.demo/real-world/go-path-rs/go/path.go
"math" "unsafe" )+3
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.demo/real-world/json-server-rs/json-server-js/oracle.mjs+4
criticalString-array obfuscation detectedCode resolves its string literals through a rotating string-array decoder — many `name(0xNNN)` index calls that reconstruct hidden strings at runtime. This is the structural signature of javascript-obfuscator regardless of the variable-naming scheme, so it fires even when mangled identifiers (e.g. `j5`, `jM`) are used to evade _0x-based detection. Commonly used to hide malware from code review.demo/real-world/prettier-rs/equiv/doc-printer/width.mjs
const range = (a, b) => Array.from({ length: b - a + 1 }, (_, i) => a + i);
const ZWJ = cp(0x200d), VS16 = cp(0xfe0f), VS15 = cp(0xfe0e), KEYCAP = cp(0x20e3);
const tones = range(0x1f3fb, 0x1f3ff).map...+18infoSuspicious file in repoVery large source file (800KB) — could contain obfuscated payloaddemo/real-world/json-server-rs/json-server-js/tests/node-oracle.json+2
warningUnvalidated file uploadFile upload without type/size validation. Can be exploited for remote code execution or storage abuse.src/crates.rs
("helmet", "tower-http", Fit::Good),
("multer", "multer", Fit::Partial),
("inquirer", "dialoguer", Fit::Good),
("@prisma/client", "sqlx, diesel, sea-orm...+3Scores reflect the files and rules covered by this scan. How to read this report
918 files scanned @ ab77412 | 11/24/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access0
obfuscation15
supply chain4
owasp / injection3
telemetry
files 918/3282rules hit 15engine v11commit ab77412
github
erkamyaman/rust-anything
Rewrite your whole app in Rust, one piece at a time, checked against the original's recorded behavior at every step. CLIs, HTTP servers and libraries in TypeScript, Python, C, Go, Ruby and Java.
9145
744
9d
3282 files
918 scanned(28%)
ab77412
network indicators░▒▓
Hosts this code names or would connect to. 36 found, decoded and call-site destinations first. Informational, not scored.
- https://aka.ms/install-powershellurlnext to execsrc/doctor.rs:403
- https://github.com/$urlnext to network callscripts/sponsors.mjs:38 +1 more
- https://github.com/erkamyamanurldirectory/.claude-plugin/plugin.json:7 +3 more
- https://dotnet.microsoft.com/downloadurlsrc/doctor.rs:390
- https://sh.rustup.rsurlsrc/doctor.rs:456
- https://rustup.rsurlsrc/doctor.rs:670
- https://discord.gg/FXhUEA8eBRurlwebsite/components/landing/Hero.tsx:213 +2 more
- https://coderabbit.link/er-kamurlwebsite/components/landing/Home.tsx:95
- https://trendshift.io/repositories/363468urlwebsite/components/landing/Home.tsx:124
- https://trendshift.io/api/badge/trendshift/repositories/363468/$urlwebsite/components/landing/Home.tsx:125
- https://github.com/sponsors/erkamyamanurlwebsite/components/landing/Home.tsx:346 +3 more
- https://x.com/erkamyaman_ngurlwebsite/components/site/Footer.tsx:13
- https://www.linkedin.com/in/erkamyamanurlwebsite/components/site/Footer.tsx:18
- https://bsky.app/profile/erkamyaman.devurlwebsite/components/site/Footer.tsx:23
- https://erkamyaman.devurlwebsite/components/site/Footer.tsx:40
- https://github.com/erkamyaman.pngurlwebsite/components/site/Footer.tsx:41
- coderabbit.aidomainscripts/sponsors.mjs:8
- datetime.todaydomainsrc/lang/python.rs:308
- date.todaydomainsrc/lang/python.rs:309
- datetime.date.todaydomainsrc/lang/python.rs:312
- https://github.com/eslint/eslint.giturltest onlydemo/real-world/eslint-rs/scripts/setup.sh:14
- https://github.com/vercel/ms.giturltest onlydemo/real-world/eslint-rs/scripts/setup.sh:22
- https://github.com/krisk/Fuse.giturltest onlydemo/real-world/eslint-rs/scripts/setup.sh:23
- https://github.com/typicode/json-server.giturltest onlydemo/real-world/eslint-rs/scripts/setup.sh:24
- https://github.com/FFmpeg/FFmpeg.giturltest onlydemo/real-world/ffmpeg-rs/scripts/prepare.sh:15
- https://json.schemastore.org/prettierrcurltest onlydemo/real-world/prettier-rs/scripts/gen-config-inputs.mjs:23
- http://x.comurltest onlydemo/real-world/prettier-rs/scripts/gen-markdown-inputs.mjs:26
- http://auto.linkurltest onlydemo/real-world/prettier-rs/scripts/gen-markdown-inputs.mjs:26
- http://r.comurltest onlydemo/real-world/prettier-rs/scripts/gen-markdown-inputs.mjs:26
- contents.lrdomaintest onlydemo/real-world/prettier-rs/prettier-js-rs/src/options.rs:242 +1 more
- gorm.iodomaintest onlysrc/crates.rs:249
- https://github.com/protocolbuffers/protobuf/blob/v29.0/LICENSEurlcomment onlydemo/real-world/csharp-protobuf-rs/src/port.rs:4
- https://github.com/eslint/eslinturlcomment onlydemo/real-world/eslint-rs/linter-rs/src/lib.rs:1
- https://github.com/krisk/Fuseurlcomment onlydemo/real-world/fuse-rs/src/port.rs:2
- app.ktdomaincomment onlysrc/lang/kotlin.rs:727
- subprocess.rundomaincomment onlysrc/profile.rs:75 +3 more
architecture░▒▓
entry (3) flagged (36) pkg (82)
482 nodes · 346 edgesscroll to zoom · click node to jump to finding