berglas-bin
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
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")
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# Maintainer: Jonathan Pettersson <anders.jonathan.p@gmail.com>
pkgname=berglas-bin
pkgver=0.5.3
pkgrel=1
pkgdesc="Berglas is a command line tool and library for storing and retrieving secrets on Google Cloud."
arch=('x86_64')
url="https://github.com/GoogleCloudPlatform/berglas"
license=('APACHE')
source=("berglas_$pkgver::https://storage.googleapis.com/berglas/$pkgver/linux_amd64/berglas")
md5sums=('7b5444655f73455eb9e15130bd823efd')
package() {
install -Dm755 "berglas_$pkgver" "$pkgdir/usr/bin/berglas"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |