nowledge-mem
The package downloads a prebuilt .deb from a non-whitelisted, project-owned host (download-mem.nowledge.co); while likely legitimate, the binary package is unverifiable and could be silently replaced, posing a supply-chain risk.
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:37
"nowledge-mem-$pkgver.deb::https://download-mem.nowledge.co/app/$pkgver/$CARCH-unknown-linux-gnu.deb"
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt .deb from a non-whitelisted, project-owned host (download-mem.nowledge.co); while likely legitimate, the binary package is unverifiable and could be silently replaced, posing a supply-chain risk.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Qingxu <me@linioi.com>
pkgname=nowledge-mem
pkgver=0.10.101
pkgrel=1
pkgdesc='Local-first memory and context management system for AI-powered workflows'
url='https://mem.nowledge.co'
arch=(
'x86_64'
)
license=(
'LicenseRef-proprietary'
)
depends=(
'gtk3'
'webkit2gtk-4.1'
'libayatana-appindicator'
)
makedepends=(
'zstd'
)
optdepends=(
'gnome-keyring: for credential storage'
'xdg-utils: for opening links and nowledgemem:// URLs'
)
provides=(
'nmem-cli'
)
conflicts=(
'nmem-cli'
'nowledge-mem-bin'
)
options=(
'!strip'
'!debug'
)
source_x86_64=(
"nowledge-mem-$pkgver.deb::https://download-mem.nowledge.co/app/$pkgver/$CARCH-unknown-linux-gnu.deb"
)
noextract=(
"nowledge-mem-$pkgver.deb"
)
sha256sums_x86_64=('306d03d28867f9cba3292ab632924b48d85d1d9cc263fe49b707d581c7dfc684')
package() {
local _deb="$srcdir/nowledge-mem-$pkgver.deb"
ar p "$_deb" data.tar.gz | tar xz -C "$pkgdir"
chmod -R u=rwX,go=rX "$pkgdir"
local _app_dir="$pkgdir/usr/lib/Nowledge Mem"
local _up_dir="$_app_dir/_up_"
local _runtime_archive="$_up_dir/python-runtime.tar.zst"
# Upstream ships the Python runtime compressed and unpacks it in postinst;
# unpack at build time instead so pacman owns every installed file.
if [[ -f "$_runtime_archive" ]]; then
tar --zstd -xf "$_runtime_archive" -C "$_up_dir"
if [[ -f "$_up_dir/runtime-version.txt" ]]; then
cp "$_up_dir/runtime-version.txt" "$_up_dir/python-standalone/.runtime-version"
fi
rm -f "$_runtime_archive"
fi
# The upstream Debian layout puts the Tauri GUI in /usr/bin while its
# Rust backend lives under /usr/lib, so automatic backend discovery fails.
[[ -x "$pkgdir/usr/bin/nowledge-mem" ]]
[[ -x "$_up_dir/rust-backend/nmem-server" ]]
mv "$pkgdir/usr/bin/nowledge-mem" "$_app_dir/nowledge-mem"
cat > "$pkgdir/usr/bin/nowledge-mem" << 'EOF'
#!/bin/sh
: "${NMEM_SERVER_BIN:=/usr/lib/Nowledge Mem/_up_/rust-backend/nmem-server}"
export NMEM_SERVER_BIN
exec "/usr/lib/Nowledge Mem/nowledge-mem" "$@"
EOF
chmod 755 "$pkgdir/usr/bin/nowledge-mem"
# Expose the bundled Rust CLIs on PATH. Upstream's Debian package ships
# them under the private application directory without creating links.
local _rust_backend="$_up_dir/rust-backend"
[[ -x "$_rust_backend/nmem" ]]
[[ -x "$_rust_backend/browse-now" ]]
ln -s '/usr/lib/Nowledge Mem/_up_/rust-backend/nmem' \
"$pkgdir/usr/bin/nmem"
ln -s '/usr/lib/Nowledge Mem/_up_/rust-backend/browse-now' \
"$pkgdir/usr/bin/browse-now"
# Upstream ships no license file; record where the terms live.
install -Dm644 /dev/stdin \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE" << 'EOF'
Nowledge Mem is proprietary software.
Terms of service: https://mem.nowledge.co/terms
EOF
}
Changes since previous scan
--- PKGBUILD @ 2026-10-27 00:23+++ PKGBUILD @ 2026-11-01 00:21@@ -1,6 +1,6 @@ # Maintainer: Qingxu <me@linioi.com> pkgname=nowledge-mem-pkgver=0.10.100+pkgver=0.10.101 pkgrel=1 pkgdesc='Local-first memory and context management system for AI-powered workflows' url='https://mem.nowledge.co'@@ -39,7 +39,7 @@ noextract=( "nowledge-mem-$pkgver.deb" )-sha256sums_x86_64=('18a35cee3c1dcadc824d8a392d2a8bd23a68982eef747afe0a874bd8d063ecf1')+sha256sums_x86_64=('306d03d28867f9cba3292ab632924b48d85d1d9cc263fe49b707d581c7dfc684') package() { local _deb="$srcdir/nowledge-mem-$pkgver.deb"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 07:47:02 | 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 |