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)...)
+8criticalGo 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()+8criticalGo 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 {+8warningGo 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 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
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.
- https://github.com/goreleaser/nfpm/releases/download/v$urlnext to network callpkgs/build.sh:132
- https://github.com/sftpgo/…urldocker/scripts/download-plugins.sh:23
- https://acme-v02.api.letsencrypt.org/directoryurlinternal/config/config.go:261 +1 more
- https://docs.sftpgo.com/latest/data-provider/urlinternal/dataprovider/dataprovider.go:4925
- https://outlook.office.com/SMTP.Sendurlinternal/smtp/oauth2.go:155
- https://mail.google.comurlinternal/smtp/oauth2.go:158
- blob.core.windows.netdomaininternal/cmd/portable.go:410 +1 more
- retention-reports.zipdomaininternal/common/eventmanager.go:773
- common.tzdomaininternal/config/config.go:2107
- acme.emaildomaininternal/config/config.go:2110
- smtp.hostdomaininternal/config/config.go:2261
- actions.types.emaildomaininternal/util/i18n.go:267
- 12.34.56.78iptest onlyinternal/common/defender_test.go:143 +2 more
- 12.34.56.79iptest onlyinternal/common/defender_test.go:201 +1 more
- 12.34.56.80iptest onlyinternal/common/defender_test.go:202
- 12.34.56.81iptest onlyinternal/common/defender_test.go:203
- 192.167.1.2iptest onlyinternal/common/defender_test.go:587
- 192.167.1.1iptest onlyinternal/common/defender_test.go:605
- 123.45.67.89iptest onlyinternal/common/defenderdb_test.go:107
- 123.45.67.90iptest onlyinternal/common/defenderdb_test.go:168
- 123.45.67.91iptest onlyinternal/common/defenderdb_test.go:169
- 123.45.67.92iptest onlyinternal/common/defenderdb_test.go:170
- 123.45.68.1iptest onlyinternal/common/defenderdb_test.go:346
- 172.172.172.172iptest onlyinternal/webdavd/internal_test.go:393
- https://api.authy.com/protected/json/verify/%v/%vurltest onlyexamples/OTP/authy/checkpwd/main.go:72 +2 more
- https://sftpgo.comurltest onlyinternal/httpd/internal_test.go:4268
- http://evil.comurltest onlyinternal/httpd/internal_test.go:4506
- http://foo.comurltest onlyinternal/httpd/internal_test.go:4553 +1 more
- test.zipdomaintest onlyinternal/common/eventmanager_test.go:1251 +1 more
- out.zipdomaintest onlyinternal/common/eventmanager_test.go:2545 +3 more
- link.zipdomaintest onlyinternal/common/eventmanager_test.go:2546
- file.zipdomaintest onlyinternal/ftpd/ftpd_test.go:2049 +3 more
- domain.comdomaintest onlyinternal/ftpd/internal_test.go:1152 +2 more
- ziptest.zipdomaintest onlyinternal/httpd/internal_test.go:3104
- www.sftpgo.comdomaintest onlyinternal/httpd/internal_test.go:3836 +1 more
- test.sftpgo.comdomaintest onlyinternal/httpd/internal_test.go:3843 +1 more
- params.emaildomaintest onlyinternal/httpd/oidc_test.go:2352
- missing.zipdomaintest onlyinternal/webdavd/webdavd_test.go:2071
- https://github.com/go-acme/lego/tree/master/cmdurlcomment onlyinternal/acme/acme.go:16
- https://github.com/wagslane/go-password-validatorurlcomment onlyinternal/dataprovider/dataprovider.go:326
- https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.gourlcomment onlyinternal/ftpd/ftpd.go:100 +3 more
- https://github.com/golang/go/blob/…/src/net/http/….gourlcomment onlyinternal/sftpd/server.go:454
- https://github.com/pkg/sftpurlcomment onlyinternal/sftpd/sftpd.go:17
- https://github.com/dustin/go-humanize/blob/master/bytes.gourlcomment onlyinternal/util/util.go:333
- https://github.com/kubernetes/kubernetes/blob/…/staging/src/….io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.gourlcomment onlyinternal/util/util.go:376 +1 more
- https://github.com/golang/go/blob/…/src/strings/….gourlcomment onlyinternal/util/util.go:383
- https://github.com/golang/go/blob/…/src/os/….gourlcomment onlyinternal/util/util.go:395
- https://github.com/golang/go/issues/45150urlcomment onlyinternal/util/util.go:788
- https://github.com/…/netipx/blob/…/….gourlcomment onlyinternal/util/util.go:971
- https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/go/example_code/s3/s3_copy_object.gourlcomment onlyinternal/vfs/s3fs.go:1438
architecture░▒▓
entry (1) flagged (11) pkg (210)
472 nodes · 1888 edgesscroll to zoom · click node to jump to finding