zendrite
The source is a git repository from a personal domain, but it is the project's own upstream source, and the build process compiles from this source rather than executing prebuilt binaries, making it a normal AUR packaging practice despite the non-whitelisted host.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a git repository from a personal domain, but it is the project's own upstream source, and the build process compiles from this source rather than executing prebuilt binaries, making it a normal AUR packaging practice despite the non-whitelisted host.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:13
source=("git+https://codefloe.com/pat-s/zendrite.git#tag=v$pkgver"
PKGBUILD
1 offending line(s) highlightedpkgname=zendrite
pkgver=3.6.0
pkgrel=1
pkgdesc="An opinionated fork of element-hq/dendrite"
arch=(x86_64)
url=https://zendrite.pat-s.me/
license=("GPL-3.0-or-later OR LicenseRef-Element-Commercial-License")
depends=(glibc)
makedepends=(git go)
optdepends=("postgresql>=12: Recommended database"
"nats-server: Use external nats server")
install="$pkgname.install"
source=("git+https://codefloe.com/pat-s/zendrite.git#tag=v$pkgver"
"$pkgname.service")
sha256sums=('61bf8d3ae0c594418a43cb6eb3c82c0a661bfae610ada5e289e935a6bf12694e'
'8eb2c645705cd432b6d16cda65f31f06fa97f513b9d3d90e4c6e5a87bfb39513')
prepare() {
cd "$pkgname"
export GOPATH="$srcdir"
go mod download -modcacherw
}
build() {
cd "$pkgname"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw"
export GOPATH="$srcdir"
go build -ldflags "-compressdwarf=false -linkmode external -bindnow -X codefloe.com/pat-s/zendrite/internal.version=$pkgver" \
-tags goolm -o bin/ ./cmd/...
}
check() {
cd "$pkgname"
# Skip tests require pgsql
export ZENDRITE_TEST_SKIP_NODB=1
go test -tags goolm -v ./...
}
package() {
cd "$pkgname"
find bin -mindepth 1 -maxdepth 1 -type f -executable \
-exec install -Dvm755 -t "$pkgdir/usr/bin/" {} +
for f in "$pkgdir/usr/bin/"*
do
basename="$(basename "$f")"
if [[ "$basename" != "$pkgname"* ]]
then
mv -v "$f" "$pkgdir/usr/bin/$pkgname-$basename"
fi
done
install -Dvm644 LICENSE-COMMERCIAL "$pkgdir/usr/share/licenses/$pkgname/LICENSE-COMMERCIAL"
install -Dvm644 "../$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
install -Dvm644 -t "$pkgdir/usr/share/doc/$pkgname/" "$pkgname-sample.yaml"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-25 00:20+++ PKGBUILD @ 2026-11-01 00:21@@ -1,5 +1,5 @@ pkgname=zendrite-pkgver=3.5.0+pkgver=3.6.0 pkgrel=1 pkgdesc="An opinionated fork of element-hq/dendrite" arch=(x86_64)@@ -12,7 +12,7 @@ install="$pkgname.install" source=("git+https://codefloe.com/pat-s/zendrite.git#tag=v$pkgver" "$pkgname.service")-sha256sums=('dfaa58e787878ae871cf2bdc5703f329dc6d366a389610630f63fb0b280d6d61'+sha256sums=('61bf8d3ae0c594418a43cb6eb3c82c0a661bfae610ada5e289e935a6bf12694e' '8eb2c645705cd432b6d16cda65f31f06fa97f513b9d3d90e4c6e5a87bfb39513') prepare() {@@ -31,6 +31,12 @@ go build -ldflags "-compressdwarf=false -linkmode external -bindnow -X codefloe.com/pat-s/zendrite/internal.version=$pkgver" \ -tags goolm -o bin/ ./cmd/... }+check() {+ cd "$pkgname"+ # Skip tests require pgsql+ export ZENDRITE_TEST_SKIP_NODB=1+ go test -tags goolm -v ./...+} package() { cd "$pkgname" find bin -mindepth 1 -maxdepth 1 -type f -executable \Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 07:42:02 | Medium | 1 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 03:10:23 | Medium | 1 |
| 2026-10-15 00:28:05 | Low | 2 |