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-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 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 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |