ocp-setup

MEDIUM
maintainer bilabila 0 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion