ocp-setup

maintainer bilabila · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary zip archive ('ocp-release.zip') from gw.alipayobjects.com (Alibaba/Alipay CDN) with SKIP'd checksum verification. This is a real supply-chain concern: (1) the zip contains files installed into /usr/share and likely executed via the launcher script, meaning it is effectively executed code from an unofficial/CDN host with no integrity check; (2) SKIP on sha512sums means any silent replacement of the zip would go undetected; (3) alipayobjects.com is a CDN host, not a canonical upstream release page, so there is no way to verify authenticity. The bundled shell script ($pkgname) has a valid checksum, but the zip it launches does not. This matches the definition of a medium supply-chain risk: prebuilt/compiled content from a non-canonical host with no integrity verification.

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:12 source=('https://gw.alipayobjects.com/os/downloads/ossupload/ocp-release.zip'
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary zip archive ('ocp-release.zip') from gw.alipayobjects.com (Alibaba/Alipay CDN) with SKIP'd checksum verification. This is a real supply-chain concern: (1) the zip contains files installed into /usr/share and likely executed via the launcher script, meaning it is effectively executed code from an unofficial/CDN host with no integrity check; (2) SKIP on sha512sums means any silent replacement of the zip would go undetected; (3) alipayobjects.com is a CDN host, not a canonical upstream release page, so there is no way to verify authenticity. The bundled shell script ($pkgname) has a valid checksum, but the zip it launches does not. This matches the definition of a medium supply-chain risk: prebuilt/compiled content from a non-canonical host with no integrity verification.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: bilabila <bilabila@qq.com>
2pkgname=ocp-setup
3pkgver=1.4
4pkgrel=4
5pkgdesc='oceanbase cloud platform setup'
6arch=(x86_64)
7url=https://oceanbase.alipay.com/docs
8provides=($pkgname)
9conflicts=($pkgname)
10license=(custom)
11depends=(java-openjfx)
12source=('https://gw.alipayobjects.com/os/downloads/ossupload/ocp-release.zip'
13$pkgname)
14sha512sums=(SKIP
1547e69cb025eda1607a3bd721a4b236a972fd5a37c18883168d0b78d65ca134884efbf876206fc577938fba5b951a31bca9ae70393874cd6171fb2f38030fa175)
16install=$pkgname.install
17package() {
18 cd ocp-release
19 d="$pkgdir"/usr/share/$pkgname
20 for i in *;do
21 install -Dm644 "$i" "$d"/"$i"
22 done
23 install -Dm755 "$srcdir"/$pkgname \
24 "$pkgdir"/usr/bin/$pkgname
25}
26

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