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-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 |