s5cmd

LOW
maintainer k0ste 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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