pgadmin4-server
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 package builds from the official PostgreSQL project source tarball hosted on ftp.postgresql.org, a legitimate and project-owned host, and installs only the project's own code and declared dependencies; the pip installs are part of the normal build process for the application's own requirements, not external or malicious packages.
3 higher static findings superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:35
venv/bin/python3 -m pip install --no-cache-dir -r requirements.txt -
PKGBUILD:36
venv/bin/python3 -m pip install --no-cache-dir sphinx sphinxcontrib-youtube
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
source=("pgadmin4-${pkgver}.tar.gz::https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${pkgver}/source/pgadmin4-${pkgver}.tar.gz"
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
3 offending line(s) highlightedpkgname=pgadmin4-server
pkgver=9.14
pkgrel=1
pkgdesc='The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.'
arch=('x86_64')
license=('PostgreSQL')
url='https://www.pgadmin.org/'
depends=('postgresql-libs' 'krb5' 'python-dbus')
makedepends=("python" "python-pip" "postgresql-libs" "gcc" "nodejs" "corepack" "pkgconf" "cmake" "dbus" "npm" "wget" "unzip" "syft" "patch")
provides=('pgadmin4-server')
source=("pgadmin4-${pkgver}.tar.gz::https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${pkgver}/source/pgadmin4-${pkgver}.tar.gz"
"server.patch")
sha256sums=('b8ebfa7afe41da6c2e46c12ae53e5cbbe3b3864cd91e8d5b0d79fdc51ff5c9d3'
'd276423ab3eaa7abaf14e720c51f49cc18a528d2e1b6324d4d05257d5d58f556')
prepare() {
cd "$srcdir/pgadmin4-${pkgver}"
patch -p1 <"../server.patch"
}
build() {
cd "$srcdir/pgadmin4-${pkgver}"
export COREPACK_HOME="$srcdir/corepack_home"
mkdir -p "$COREPACK_HOME/bin"
corepack enable --install-directory "$COREPACK_HOME/bin"
export PATH="$COREPACK_HOME/bin:$PATH"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
corepack prepare yarn@stable --activate
pushd . && cd web
yarn install && yarn run bundle
popd
python -m venv venv
venv/bin/python3 -m pip install --no-cache-dir -r requirements.txt
venv/bin/python3 -m pip install --no-cache-dir sphinx sphinxcontrib-youtube
source venv/bin/activate
export PYTHONDONTWRITEBYTECODE=1
source pkg/linux/build-functions.sh
_setup_env "${PWD}/pkg/linux/DUMMY" "arch"
_cleanup "pkg.tar.zst"
_setup_dirs
_create_python_virtualenv "arch"
_build_docs "arch"
_copy_code "arch"
_generate_sbom
}
package() {
cp -r "${srcdir}/pgadmin4-${pkgver}/arch-build/server/usr" "${pkgdir}/"
# Install license
install -Dm644 "$srcdir/pgadmin4-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 4 |
| 2026-08-02 00:16:08 | LOW | 4 |
| 2026-08-01 00:11:18 | LOW | 4 |
| 2026-07-31 00:14:10 | LOW | 4 |
| 2026-07-30 00:17:23 | LOW | 4 |
| 2026-07-29 11:11:22 | MEDIUM | 3 |
| 2026-06-19 19:07:35 | CLEAN | 3 |
| 2026-06-18 16:11:54 | MEDIUM | 2 |