lpadmincern
The package downloads a prebuilt RPM from CERN's official domain, which is plausibly the project's own source; installing scripts and data files is normal for this type of client, and the risk from a swapped source is limited to non-executable data and scripts that are part of the official package.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt RPM from CERN's official domain, which is plausibly the project's own source; installing scripts and data files is normal for this type of client, and the risk from a swapped source is limited to non-executable data and scripts that are part of the official package.
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:16
source=("https://linuxsoft.cern.ch/cern/alma/9/CERN/x86_64/Packages/l/lpadmincern-${pkgver}-1.al9.cern.noarch.rpm")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Wainer Vandelli <wainer dot vandelli at gmail dot com>
# Contributor : Kevin Franz Stehle <kevin dot franz dot stehle at cern dot ch>
pkgname=lpadmincern
pkgver=1.4.9
pkgrel=2
pkgdesc="CERN LDAP printer database client. Note: CERN IT does not provide official support for Arch Linux. Use at your own risk."
url="https://linux.web.cern.ch/docs/printing/"
arch=('any')
license=('GPL')
depends=('cups' 'python' 'python-ldap')
optdepends=()
makedepends=('gzip' 'tar')
conflicts=()
replaces=()
backup=()
source=("https://linuxsoft.cern.ch/cern/alma/9/CERN/x86_64/Packages/l/lpadmincern-${pkgver}-1.al9.cern.noarch.rpm")
md5sums=('70dd526357fcf58605736b7028cc124d')
package() {
msg2 "Creating directories"
mkdir -p "${pkgdir}"/usr/bin
mkdir -p "${pkgdir}"/usr/share/"${pkgname}"/ppds/
mkdir -p "${pkgdir}"/usr/share/man/man1
mkdir -p "${pkgdir}"/usr/share/man/man8
mkdir -p "${pkgdir}"/usr/share/doc/"${pkgname}"
mkdir -p "${pkgdir}"/usr/lib/systemd/system
mkdir -p "${pkgdir}"/etc/sysconfig
msg2 "Installing scripts"
install -m755 usr/sbin/"${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
install -m644 usr/share/"${pkgname}"/ppds/* "${pkgdir}"/usr/share/"${pkgname}"/ppds/
install -m644 usr/lib/systemd/system/* "${pkgdir}"/usr/lib/systemd/system/
install -m644 etc/sysconfig/lpadmincern "${pkgdir}"/etc/sysconfig/
install -m755 usr/bin/lpq.cern "${pkgdir}"/usr/bin/lpq.cern
install -m755 usr/bin/lprm.cern "${pkgdir}"/usr/bin/lprm.cern
msg2 "Creating symlinks"
pushd "${pkgdir}"/usr/bin > /dev/null
ln -sf cancel cancel.cern
ln -sf lp lp.cern
ln -sf lpr lpr.cern
ln -sf lpstat lpstat.cern
ln -sf lpc lpc.cern
popd > /dev/null
msg2 "Installing manpages"
install -m644 usr/share/man/man1/"${pkgname}".1.gz "${pkgdir}"/usr/share/man/man1/"${pkgname}".1.gz
install -m644 usr/share/man/man1/cancel-cern.1.gz "${pkgdir}"/usr/share/man/man1/cancel-cern.1.gz
install -m644 usr/share/man/man1/lp-cern.1.gz "${pkgdir}"/usr/share/man/man1/lp-cern.1.gz
install -m644 usr/share/man/man1/lpq-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpq-cern.1.gz
install -m644 usr/share/man/man1/lpr-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpr-cern.1.gz
install -m644 usr/share/man/man1/lprm-cern.1.gz "${pkgdir}"/usr/share/man/man1/lprm-cern.1.gz
install -m644 usr/share/man/man1/lpstat-cern.1.gz "${pkgdir}"/usr/share/man/man1/lpstat-cern.1.gz
install -m644 usr/share/man/man8/lpc-cern.8.gz "${pkgdir}"/usr/share/man/man8/lpc-cern.8.gz
msg2 "Installing docs"
install -m644 usr/share/doc/"${pkgname}"/README "${pkgdir}"/usr/share/doc/"${pkgname}"/README
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |