docker-credential-atcr-git

maintainer yuna0x0 · 1 votes · scanned 2026-08-18 00:03:42.021799
LOW
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 Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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-08-18 00:03:42 LOW 3
2026-08-17 00:18:29 LOW 3
2026-08-16 00:03:42 LOW 3
2026-08-15 00:26:13 LOW 3
2026-08-14 00:03:41 LOW 3
2026-08-13 00:17:07 LOW 3
2026-08-12 11:28:28 LOW 3
2026-08-12 11:23:23 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion