elgin-nfce-printer

MEDIUM
maintainer rafaelrc 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

This PKGBUILD downloads a prebuilt RAR archive from a CloudFront CDN URL (d2u2qhufg0q9tn.cloudfront.net) that is not the official vendor domain (elgin.com.br). The archive contains a prebuilt binary 'rastertohprt' that is installed as a CUPS filter (executed with elevated trust in the print subsystem). While a sha256sum is provided, the source host is a CDN distribution endpoint rather than the official vendor site, making it impossible to verify the chain of custody from the vendor. This is a classic medium-severity supply-chain concern: a prebuilt binary from an unverifiable third-party host installed into a privileged system location. It is not clearly malicious, but the combination of unofficial host + executed binary + CUPS filter context warrants medium severity.

Triggered rules

Medium source=() URL on a non-standard host 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:13 source=("$pkgname-$pkgver.rar::https://d2u2qhufg0q9tn.cloudfront.net/assets/arquivos/imgCard_4ce638a5-22e5-4a0d-a820-0108152ced91_imgCard_3969ab8d-70ab-4b53-ac90-d84cc55ddd70_Elgin_i9_Linux_Driver_v1.2.3Linux.rar")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt RAR archive from a CloudFront CDN URL (d2u2qhufg0q9tn.cloudfront.net) that is not the official vendor domain (elgin.com.br). The archive contains a prebuilt binary 'rastertohprt' that is installed as a CUPS filter (executed with elevated trust in the print subsystem). While a sha256sum is provided, the source host is a CDN distribution endpoint rather than the official vendor site, making it impossible to verify the chain of custody from the vendor. This is a classic medium-severity supply-chain concern: a prebuilt binary from an unverifiable third-party host installed into a privileged system location. It is not clearly malicious, but the combination of unofficial host + executed binary + CUPS filter context warrants medium severity.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Rafael <rafaelrc7@gmail.com>
2
3pkgname=elgin-nfce-printer
4pkgver=1.2.3
5pkgrel=2
6pkgdesc="Drivers for Elgin NFC-e RM22, i7, i8 and i9 printers."
7arch=("x86_64" "i686")
8url="https://www.elgin.com.br/Produtos/Automacao/impressorasn%C3%A3ofiscais/impressora-termica-de-cupom-i9-full"
9license=("unknown")
10depends=("libxcrypt-compat")
11makedepends=("unrar")
12install=
13source=("$pkgname-$pkgver.rar::https://d2u2qhufg0q9tn.cloudfront.net/assets/arquivos/imgCard_4ce638a5-22e5-4a0d-a820-0108152ced91_imgCard_3969ab8d-70ab-4b53-ac90-d84cc55ddd70_Elgin_i9_Linux_Driver_v1.2.3Linux.rar")
14noextract=("$pkgname-$pkgver.rar")
15sha256sums=("37ed5a41f92ce5f70f0d534a1bd0d31450ad2c8dc33331535d4434428b587625")
16
17prepare() {
18 unrar x -ad -y "./$pkgname-$pkgver.rar"
19}
20
21package() {
22 cd "$pkgname-$pkgver/Elgin_i9_linux_driver_v1.2.3/setup"
23
24 _FILTERDIR="${pkgdir}/usr/lib/cups/filter/"
25 _PPDDIR="${pkgdir}/usr/share/ppd/elgin-nfce-printer/"
26
27 case $CARCH in
28 i686) _RASTERTOHPRT="./x86/rastertohprt" ;;
29 x86_64) _RASTERTOHPRT="./x64/rastertohprt" ;;
30 esac
31
32 install -Dm755 "${_RASTERTOHPRT}" "${_FILTERDIR}/rastertohprt"
33 install -d "${_PPDDIR}"
34 install -Dm644 ../ppd/*.ppd "${_PPDDIR}"
35}
36
37

Scan history

Scanned at (UTC)SeverityRules
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 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
2026-10-13 00:23:45 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion