couchbase-server-community
maintainer impulse
· 6 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
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
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:11
"${pkgname}-v${pkgver}.deb::http://packages.couchbase.com/releases/${pkgver}/${pkgname}_${pkgver}-linux_amd64.deb"
MEDIUM
AI review
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
1
# Co-Maintainer: James Clarke <james@jamesdavidclarke.com>
2
# Maintainer: Christophe Robin <crobin at nekoo a-dot com>
3
4
pkgname=couchbase-server-community
5
pkgver=8.0.2
6
pkgrel=2
7
pkgdesc="A document database featuring a powerful query language and unrivaled performance at scale."
8
arch=('x86_64')
9
url="http://www.couchbase.com/"
10
source=(
11
"${pkgname}-v${pkgver}.deb::http://packages.couchbase.com/releases/${pkgver}/${pkgname}_${pkgver}-linux_amd64.deb"
12
)
13
install=couchbase-server.install
14
depends=(glibc gcc-libs sqlite openssl zlib python2)
15
conflicts=(couchbase3-server-community couchbase4-server-community couchbase5-server-community)
16
17
package() {
18
msg2 "Extracting the data.tar.gz file"
19
tar -xf data.tar.xz -C "${pkgdir}/"
20
21
# fix python binaries
22
msg2 "Fixing couchbase binaries to use python2"
23
grep -lrnz '^#!/usr/bin/env python' "${pkgdir}/opt/couchbase/"{bin,lib/python} | xargs sed -i 's/env python$/env python2/'
24
25
# remove init.d and replace by systemd definition
26
msg2 "Installing systemd service file"
27
rm -Rf "${pkgdir}/etc"
28
mv "${pkgdir}/lib" "${pkgdir}/usr/lib"
29
}
30
31
sha256sums=('7e5eb3473c0d9d5e9e29a267357a03f67ced017b047c87bc6115dbe84aa71b85')
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |