ocp-setup

MEDIUM
maintainer bilabila 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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