live · scanning repos
Scanrepo
github.com / drakkan

drakkan/sftpgo

Go·466 files·commit fedcda1·scanned 5d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 12,837+ stars — findings likely false positives

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

verdict accurate?
12,837 stars
threat-state: lowlive

FINDINGS ░▒▓

warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/util/util.go
	"unicode"
	"unsafe"

	"github.com/google/uuid"
+3
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.internal/common/actions.go

	cmd := exec.CommandContext(ctx, Config.Actions.Hook, args...)
	cmd.Env = append(env, notificationAsEnvVars(event)...)
+8
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.internal/common/common.go

	cmd := exec.CommandContext(ctx, c.StartupHook, args...)
	cmd.Env = env
	err := cmd.Run()
+8
criticalGo os/exec usageos/exec is used to run external commands. In malware it drops payloads, modifies the system, or opens shells.internal/common/eventmanager.go

	cmd := exec.CommandContext(ctx, c.Cmd, args...)
	cmd.Env = []string{}
	for _, keyVal := range c.EnvVars {
+8
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/httpd/oidc_test.go
	"time"
	"unsafe"

	"github.com/coreos/go-oidc/v3/oidc"
+3
warningGo unsafe package usageunsafe package bypasses Go's type safety. Malware uses it for memory tricks, pointer casts, and hiding behavior.internal/plugin/util_windows.go
	"sync"
	"unsafe"

	"golang.org/x/sys/windows"
+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
infoSuspicious file in repoVery large source file (1147KB) — could contain obfuscated payloadinternal/httpd/httpd_test.go+2
infoSuspicious file in repoVery large source file (513KB) — could contain obfuscated payloadinternal/sftpd/sftpd_test.go+2
infoSuspicious file in repoVery large source file (1645KB) — could contain obfuscated payloadopenapi/swagger-ui/swagger-ui-bundle.js+2

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

274 files scanned @ fedcda1 | 11/19/2026 | heuristic scan — always review manually

risk by category
code execution25
network & exfiltration0
file system access0
obfuscation0
supply chain8
owasp / injection0
telemetry
files 274/466rules hit 10engine v10commit fedcda1

github

drakkan/sftpgo

Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob

Go
12837
988
2685d
466 files
274 scanned(59%)
fedcda1

network indicators░▒▓

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

architecture░▒▓

entry (1) flagged (11) pkg (210)
472 nodes · 1888 edgesscroll to zoom · click node to jump to finding