cern-phone-app
The PKGBUILD downloads and installs a prebuilt AppImage binary from cernphone-sw.web.cern.ch, which is a CERN-operated web hosting subdomain (web.cern.ch is CERN's standard web publishing platform). The source is plausibly official for a CERN internal application. However, the package still installs an unverified prebuilt binary executable — the sha256sum only verifies integrity against a known-good hash but does not guarantee the binary was built from auditable source. The AppImage is extracted and executed during prepare(), then installed to /opt and symlinked to /usr/bin. This is a standard AppImage packaging pattern in the AUR. The host is institutional (CERN) rather than a personal or anonymous host, which reduces but does not eliminate supply-chain risk. The medium rating is appropriate: it is a prebuilt binary from a non-standard distribution channel (not an official distro repo or well-known release platform like GitHub), even if the host is a credible institution.
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:15
source=("${_appimage_dst}::https://cernphone-sw.web.cern.ch/cernphone-sw/releases/cern-phone-app-${pkgver}-x86_64-linux.AppImage.d/${_appimage}")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads and installs a prebuilt AppImage binary from cernphone-sw.web.cern.ch, which is a CERN-operated web hosting subdomain (web.cern.ch is CERN's standard web publishing platform). The source is plausibly official for a CERN internal application. However, the package still installs an unverified prebuilt binary executable — the sha256sum only verifies integrity against a known-good hash but does not guarantee the binary was built from auditable source. The AppImage is extracted and executed during prepare(), then installed to /opt and symlinked to /usr/bin. This is a standard AppImage packaging pattern in the AUR. The host is institutional (CERN) rather than a personal or anonymous host, which reduces but does not eliminate supply-chain risk. The medium rating is appropriate: it is a prebuilt binary from a non-standard distribution channel (not an official distro repo or well-known release platform like GitHub), even if the host is a credible institution.
PKGBUILD
1 offending line(s) highlighted# Based off: https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html
# Maintainer: Wainer Vandelli <wainer dot vandelli at gmail dot com>
pkgname=cern-phone-app
pkgver=1.3.3
pkgrel=1
pkgdesc="CERNPhone Desktop Application"
arch=('x86_64')
url="https://cernphone.docs.cern.ch/"
license=('custom')
depends=('zlib' 'hicolor-icon-theme')
options=(!strip)
_appimage="${pkgname}.AppImage"
_appimage_dst="${pkgname}-${pkgver}.AppImage"
source=("${_appimage_dst}::https://cernphone-sw.web.cern.ch/cernphone-sw/releases/cern-phone-app-${pkgver}-x86_64-linux.AppImage.d/${_appimage}")
noextract=("${_appimage_dst}")
sha256sums=('9165649a7a10b56b9c2f81402e806c12fe9774cca4ea0a25622131909cee1383')
prepare() {
chmod +x "${_appimage_dst}"
./"${_appimage_dst}" --appimage-extract
}
build() {
# Adjust .desktop so it will work outside of AppImage container
sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${pkgname}|"\
"squashfs-root/${pkgname}.desktop"
# Fix permissions; .AppImage permissions are 700 for all directories
chmod -R a-x+rX squashfs-root/usr
}
package() {
# AppImage
install -Dm755 "${srcdir}/${_appimage_dst}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
# Desktop file
install -Dm644 "${srcdir}/squashfs-root/${pkgname}.desktop"\
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Icon images
install -dm755 "${pkgdir}/usr/share/"
cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
# Symlink executable
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |