s5cmd

maintainer k0ste · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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