epson-laser-printer-filter

maintainer vitaliikuzhdin · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source RPM from an Epson subdomain for building a CUPS printer filter; despite the non-whitelisted host, it builds from official source code and installs only compiled binaries and license/docs, posing minimal risk.

Triggered rules

LOW AI review downgraded a static finding 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 source RPM from an Epson subdomain for building a CUPS printer filter; despite the non-whitelisted host, it builds from official source code and installs only compiled binaries and license/docs, posing minimal risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:23 source=("https://download3.ebz.epson.net/dsc/f/03/00/15/66/64/07f66171f4e7803095987a360c19d6607c780bb0/${_bundlesrc}-1.src.rpm")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3pkgname="epson-laser-printer-filter"
4# there is no reported version for the filter itself, so we will assume:
5# 1.0.0 is 'LSB-dependent'
6# 1.0.1 is 'LSB-independent' with a different wrapper for every model (pstolpf-${_model}.sh)
7# 1.0.2 is 'LSB-independent' with the same wrapper for every model (escpage-wrapper.sh)
8pkgver=1.0.2
9pkgrel=1
10pkgdesc="Epson laser printer filter used with CUPS"
11arch=('i686' 'x86_64')
12url="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
13license=('LGPL-2.1-or-later' 'custom:Epson End User Software License Agreement')
14depends=('cups' 'ghostscript' 'glibc' 'imagemagick' 'libcups' 'psutils' 'sh')
15# there are no standalone filter or driver sources, both are shipped together
16# so we download some driver bundle and only install the filter and its wrapper
17# source bundle chosen arbitrarily; all of them ship identical filter sources
18# _pkgsrc="${pkgname}-${pkgver}"
19_bundlesrc="epson-laser-printer-lp-s8180-1.0.2"
20# download.ebz.epson.net blocks some user-agents and returns 403
21# download3.ebz.epson.net works fine (for now)
22# DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
23source=("https://download3.ebz.epson.net/dsc/f/03/00/15/66/64/07f66171f4e7803095987a360c19d6607c780bb0/${_bundlesrc}-1.src.rpm")
24sha256sums=('1623be97a5125f31fae2b6e793999290318371e1bc377a3498ea678d09427e6c')
25
26prepare() {
27 cd "${srcdir}"
28 bsdtar -xzf "${_bundlesrc}.tar.gz"
29
30 cd "${_bundlesrc}"
31 # typo?
32 # find "src" -type f \( -name '*.h' -o -name '*.c' \) -exec \
33 # sed -i 's/debug_msga/debug_msg/g' "{}" +
34}
35
36build() {
37 export CFLAGS+=" -Wno-error=implicit-function-declaration -Wno-error=return-mismatch"
38 export LDFLAGS+=" -no-pie"
39
40 cd "${srcdir}/${_bundlesrc}"
41 libtoolize
42 autoreconf -vfi
43 ./configure \
44 --prefix='/usr'
45 # --prefix="/opt/epson-laser-printer-${_model}"
46 make
47}
48
49package() {
50 cd "${srcdir}/${_bundlesrc}"
51 make DESTDIR="${pkgdir}" install
52
53 install -vDm644 "AUTHORS" "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
54 # install -vDm644 "ChangeLog" "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG"
55 # install -vDm644 "NEWS" "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
56 # install -vDm644 "README" "${pkgdir}/usr/share/doc/${pkgname}/README"
57 # install -vDm644 "README.ja" "${pkgdir}/usr/share/doc/${pkgname}/README.ja"
58 install -vDm644 "COPYING.EPSON" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.EPSON"
59 install -vDm644 "COPYING.LIB" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.LIB"
60
61 cd "${pkgdir}/usr"
62 rm -rf "share/ppd"
63
64 cd "lib/cups/filter"
65 chmod -R 755 ./*
66 sed -i 's|^EPS_FILTER=.*|EPS_FILTER=/usr/lib/cups/filter/epson-escpage|g' 'escpage-wrapper.sh'
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion