couchbase-server-community
The package downloads a prebuilt .deb from an official vendor domain (couchbase.com), which is the project's own release infrastructure, but the source is a binary package that is not built from source and has a verifiable checksum; while the host is not on a standard whitelist, it is the legitimate project domain, reducing risk, but the use of a non-standard host pattern and unreviewed prebuilt executable still presents a moderate supply-chain risk if the download were silently swapped.
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:11
"${pkgname}-v${pkgver}.deb::http://packages.couchbase.com/releases/${pkgver}/${pkgname}_${pkgver}-linux_amd64.deb"
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from an official vendor domain (couchbase.com), which is the project's own release infrastructure, but the source is a binary package that is not built from source and has a verifiable checksum; while the host is not on a standard whitelist, it is the legitimate project domain, reducing risk, but the use of a non-standard host pattern and unreviewed prebuilt executable still presents a moderate supply-chain risk if the download were silently swapped.
PKGBUILD
1 offending line(s) highlighted# Co-Maintainer: James Clarke <james@jamesdavidclarke.com>
# Maintainer: Christophe Robin <crobin at nekoo a-dot com>
pkgname=couchbase-server-community
pkgver=8.0.2
pkgrel=2
pkgdesc="A document database featuring a powerful query language and unrivaled performance at scale."
arch=('x86_64')
url="http://www.couchbase.com/"
source=(
"${pkgname}-v${pkgver}.deb::http://packages.couchbase.com/releases/${pkgver}/${pkgname}_${pkgver}-linux_amd64.deb"
)
install=couchbase-server.install
depends=(glibc gcc-libs sqlite openssl zlib python2)
conflicts=(couchbase3-server-community couchbase4-server-community couchbase5-server-community)
package() {
msg2 "Extracting the data.tar.gz file"
tar -xf data.tar.xz -C "${pkgdir}/"
# fix python binaries
msg2 "Fixing couchbase binaries to use python2"
grep -lrnz '^#!/usr/bin/env python' "${pkgdir}/opt/couchbase/"{bin,lib/python} | xargs sed -i 's/env python$/env python2/'
# remove init.d and replace by systemd definition
msg2 "Installing systemd service file"
rm -Rf "${pkgdir}/etc"
mv "${pkgdir}/lib" "${pkgdir}/usr/lib"
}
sha256sums=('7e5eb3473c0d9d5e9e29a267357a03f67ced017b047c87bc6115dbe84aa71b85')
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |