berglas-bin

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary directly from a Google Cloud Storage bucket (storage.googleapis.com/berglas/...) and installs it as an executable. While this is the official upstream distribution channel used by the GoogleCloudPlatform/berglas project (the same bucket is referenced in their official README for installation), it is still a binary blob with only an MD5 checksum (cryptographically weak, collision-prone) rather than a stronger SHA256. The source is not a tagged GitHub release artifact with a verifiable provenance chain. If the GCS bucket were compromised or the object replaced, the MD5 check would not reliably catch a substitution attack. This is a genuine medium-severity supply-chain concern: an executed binary from a non-standard (non-GitHub-releases) host with a weak integrity check, even if the host is operated by Google.

Triggered rules

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:9 source=("berglas_$pkgver::https://storage.googleapis.com/berglas/$pkgver/linux_amd64/berglas")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt binary directly from a Google Cloud Storage bucket (storage.googleapis.com/berglas/...) and installs it as an executable. While this is the official upstream distribution channel used by the GoogleCloudPlatform/berglas project (the same bucket is referenced in their official README for installation), it is still a binary blob with only an MD5 checksum (cryptographically weak, collision-prone) rather than a stronger SHA256. The source is not a tagged GitHub release artifact with a verifiable provenance chain. If the GCS bucket were compromised or the object replaced, the MD5 check would not reliably catch a substitution attack. This is a genuine medium-severity supply-chain concern: an executed binary from a non-standard (non-GitHub-releases) host with a weak integrity check, even if the host is operated by Google.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonathan Pettersson <anders.jonathan.p@gmail.com>
2pkgname=berglas-bin
3pkgver=0.5.3
4pkgrel=1
5pkgdesc="Berglas is a command line tool and library for storing and retrieving secrets on Google Cloud."
6arch=('x86_64')
7url="https://github.com/GoogleCloudPlatform/berglas"
8license=('APACHE')
9source=("berglas_$pkgver::https://storage.googleapis.com/berglas/$pkgver/linux_amd64/berglas")
10md5sums=('7b5444655f73455eb9e15130bd823efd')
11
12package() {
13 install -Dm755 "berglas_$pkgver" "$pkgdir/usr/bin/berglas"
14}

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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