s5cmd

LOW
maintainer k0ste 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads the source from GitHub's official codeload domain, which is a standard and trusted host for GitHub releases, despite not being on the analyzer's whitelist; the source is built from the project's own repository, and there is no execution of untrusted prebuilt binaries or malicious payloads.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads the source from GitHub's official codeload domain, which is a standard and trusted host for GitHub releases, despite not being on the analyzer's whitelist; the source is built from the project's own repository, and there is no execution of untrusted prebuilt binaries or malicious payloads.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:14 source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
2# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
3
4_beta=''
5pkgname='s5cmd'
6pkgver='2.3.0'
7pkgrel='2'
8pkgdesc='Parallel S3 and local filesystem execution tool'
9arch=('x86_64' 'aarch64')
10_uri="github.com/peak"
11url="https://${_uri}/${pkgname}"
12license=('MIT')
13makedepends=('go' 'git')
14source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/${pkgname}/tar.gz/refs/tags/v${pkgver}")
15sha256sums=('6910763a7320010aa75fe9ef26f622e440c2bd6de41afdbfd64e78c158ca19d4')
16
17prepare() {
18 export GOPATH="${srcdir}/gopath"
19 export GOBIN="${GOPATH}/bin"
20 export GOCACHE="${srcdir}/cache/go-cache"
21 export GOMODCACHE="${srcdir}/cache/go"
22 export GOTMPDIR="${srcdir}"
23 eval "$(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")"
24 mkdir -p "${GOPATH}/src/${_uri}"
25 ln -snf "${srcdir}/${pkgname}-${pkgver}${_beta}" "${GOPATH}/src/${_uri}/${pkgname}"
26}
27
28build() {
29 cd "${GOPATH}/src/${_uri}/${pkgname}"
30 eval "$(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH")"
31 GOOS="${GOHOSTOS}" GOARCH="${GOHOSTARCH}" \
32 go build -x \
33 -buildmode="pie" \
34 -trimpath \
35 -mod="readonly" \
36 -modcacherw \
37 -ldflags "-linkmode external -extldflags '${LDFLAGS}' \
38 -X ${_uri}/${pkgname}/v2/version.Version=${pkgver} \
39 -X ${_uri}/${pkgname}/v2/version.GitCommit=$(git rev-parse HEAD)"
40}
41
42check() {
43 cd "${GOPATH}/src/${_uri}/${pkgname}"
44 go test -modcacherw -race ./...
45}
46
47package() {
48 cd "${pkgname}-${pkgver}${_beta}"
49 install -Dm0755 "${pkgname}" -t "${pkgdir}/usr/bin"
50 install -Dm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
51}
52

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion