docker-credential-atcr-git

LOW
maintainer yuna0x0 1 votes scanned 2026-10-02 00:00:32.890515
View on AUR
Why flagged

Builds from source via git clone of a non-standard forge (tangled.org), but this appears to be the project's own repository; the PKGBUILD compiles Go code normally with no obfuscation, exfiltration, or remote code execution beyond building the project itself. The non-whitelisted host and few votes are minor concerns but not indicative of malice.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): Builds from source via git clone of a non-standard forge (tangled.org), but this appears to be the project's own repository; the PKGBUILD compiles Go code normally with no obfuscation, exfiltration, or remote code execution beyond building the project itself. The non-whitelisted host and few votes are minor concerns but not indicative of malice.

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:15 source=("$pkgname::git+https://tangled.org/did:plc:pddp4xt5lgnv2qsegbzzs4xg/at-container-registry.git")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: yuna0x0 <yuna@yuna0x0.com>
2
3pkgname=docker-credential-atcr-git
4pkgver=0.1.4.r46.g5aa13ab
5pkgrel=1
6pkgdesc="Docker credential helper for ATCR (AT Container Registry)"
7arch=('x86_64' 'aarch64')
8url="https://atcr.io"
9license=('MIT')
10depends=('glibc')
11makedepends=('git' 'go')
12provides=("docker-credential-atcr=$pkgver-$pkgrel")
13conflicts=('docker-credential-atcr')
14options=('!debug')
15source=("$pkgname::git+https://tangled.org/did:plc:pddp4xt5lgnv2qsegbzzs4xg/at-container-registry.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "$pkgname"
20 git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21}
22
23prepare() {
24 cd "$pkgname"
25
26 # On main the helper is a separate module that imports atcr.io/pkg/credhelper,
27 # so it only builds in workspace mode. Drop the scanner, deploy and seamark
28 # modules upstream's go.work also lists.
29 rm -f go.work go.work.sum
30 go work init . ./cmd/credential-helper/atcr
31
32 mkdir -p build
33}
34
35build() {
36 cd "$pkgname"
37
38 export CGO_CPPFLAGS="${CPPFLAGS}"
39 export CGO_CFLAGS="${CFLAGS}"
40 export CGO_CXXFLAGS="${CXXFLAGS}"
41 export CGO_LDFLAGS="${LDFLAGS}"
42 export GOPATH="${srcdir}"
43 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
44
45 # -ldflags here replaces the one from GOFLAGS, so repeat -linkmode=external.
46 go build -o build/docker-credential-atcr \
47 -ldflags "-linkmode=external \
48 -X main.version=$pkgver \
49 -X main.commit=$(git rev-parse HEAD) \
50 -X main.date=$(date -u -d "@$SOURCE_DATE_EPOCH" +%Y-%m-%d)" \
51 ./cmd/credential-helper/atcr
52}
53
54check() {
55 cd "$pkgname"
56
57 export GOPATH="${srcdir}"
58 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
59
60 go test ./pkg/credhelper/... ./cmd/credential-helper/atcr/...
61}
62
63package() {
64 cd "$pkgname"
65
66 install -Dm755 build/docker-credential-atcr "$pkgdir/usr/bin/docker-credential-atcr"
67 install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
68 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
69 install -Dm644 INSTALLATION.md "$pkgdir/usr/share/doc/$pkgname/INSTALLATION.md"
70}
71

Scan history

Scanned at (UTC)SeverityRules
2026-10-02 00:00:32 Low 2
2026-10-01 00:02:06 Low 2
2026-09-30 00:20:07 Low 2
2026-09-29 00:07:46 Low 2
2026-09-28 00:28:32 Low 2
2026-09-27 00:07:07 Low 2
2026-09-26 00:12:15 Low 2
2026-09-25 00:03:36 Low 2
2026-09-24 00:24:14 Low 2
2026-09-23 00:28:13 Low 2
2026-09-22 00:15:14 Low 2
2026-09-21 00:26:32 Low 2
2026-09-20 00:25:31 Low 2
2026-09-19 00:25:36 Low 2
2026-09-18 00:17:11 Low 2
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

Report a package

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

0 / 4000
Your suggestion