asmcli

maintainer p4ck3t0 · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt shell script (or binary) named 'asmcli_1.16' from a Google Cloud Storage bucket (storage.googleapis.com/csm-artifacts/asm/). While GCS is Google infrastructure, this is not the project's GitHub releases page — it is a GCS bucket that could in principle be misconfigured or have its contents replaced without a corresponding GitHub release. The artifact is installed directly as an executable at /usr/bin/asmcli with mode 755. A sha256sum is provided, which mitigates the risk of in-transit substitution, but does not protect against the upstream bucket serving a malicious artifact in the first place. Checking the official Google ASM documentation confirms that storage.googleapis.com/csm-artifacts/asm/ is indeed the canonical distribution point for asmcli (Google explicitly documents 'curl https://storage.googleapis.com/csm-artifacts/asm/asmcli_1.x > asmcli' as the install method), making this a legitimate official host rather than a personal or unofficial mirror. However, it remains a prebuilt executable from a non-GitHub-releases host with no source build, which is a genuine supply-chain concern even if it matches Google's documented install method. The medium rating is appropriate: it is not clearly malicious, but it is an executed binary from a cloud bucket rather than a source build or a verifiable GitHub release artifact.

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:15 source=("asmcli-${downloadver}"::"https://storage.googleapis.com/csm-artifacts/asm/asmcli_${downloadver}")
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 shell script (or binary) named 'asmcli_1.16' from a Google Cloud Storage bucket (storage.googleapis.com/csm-artifacts/asm/). While GCS is Google infrastructure, this is not the project's GitHub releases page — it is a GCS bucket that could in principle be misconfigured or have its contents replaced without a corresponding GitHub release. The artifact is installed directly as an executable at /usr/bin/asmcli with mode 755. A sha256sum is provided, which mitigates the risk of in-transit substitution, but does not protect against the upstream bucket serving a malicious artifact in the first place. Checking the official Google ASM documentation confirms that storage.googleapis.com/csm-artifacts/asm/ is indeed the canonical distribution point for asmcli (Google explicitly documents 'curl https://storage.googleapis.com/csm-artifacts/asm/asmcli_1.x > asmcli' as the install method), making this a legitimate official host rather than a personal or unofficial mirror. However, it remains a prebuilt executable from a non-GitHub-releases host with no source build, which is a genuine supply-chain concern even if it matches Google's documented install method. The medium rating is appropriate: it is not clearly malicious, but it is an executed binary from a cloud bucket rather than a source build or a verifiable GitHub release artifact.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: p4ck3t0 <aur@p4ck3t0.de>
2
3pkgname=asmcli
4pkgver=1.16.2
5downloadver=1.16
6pkgrel=1
7pkgdesc="Anthos Service Mesh command line interface, to install and manage an Anthos Service Mesh."
8arch=('x86_64' 'aarch64' 'arm' 'armv6h' 'armv7h')
9url='https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages'
10license=('Apache 2.0')
11provides=('asmcli')
12depends=('kpt')
13sha256sums=('c90e2dc207b7c0646aba3c06a9dbab0122c0358c14b85d7c5e337eed811884d8')
14
15source=("asmcli-${downloadver}"::"https://storage.googleapis.com/csm-artifacts/asm/asmcli_${downloadver}")
16
17package() {
18 install -Dm 755 "${srcdir}/asmcli-${downloadver}" "${pkgdir}/usr/bin/asmcli"
19}
20

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