lexmark_pro700

MEDIUM
maintainer jansvendsen 5 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads a self-extracting shell script (.rpm.sh.tar.gz) from downloads.lexmark.com and executes it during prepare() with 'sh lexmark-inkjet-legacy-1.0-1.${_arch}.rpm.sh --noexec --target'. While downloads.lexmark.com is the official Lexmark download server (a legitimate vendor host), the payload is a prebuilt binary shell-script installer that gets executed directly. The MD5 checksums provide some integrity verification, though MD5 is weak. The domain is the official Lexmark downloads subdomain, not a personal or unofficial host, which reduces the supply-chain concern somewhat. However, executing a prebuilt binary shell script installer (even with --noexec to extract rather than install) from any external host, combined with only MD5 verification, represents a genuine medium-level concern: if the upstream file were replaced or the host compromised, arbitrary code would execute during the build. This is a real but not clearly malicious supply-chain pattern — consistent with a MEDIUM rating.

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:20 source=("http://downloads.lexmark.com/downloads/cpd/lexmark-inkjet-legacy-1.0-1.${_arch}.rpm.sh.tar.gz")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 60%): The PKGBUILD downloads a self-extracting shell script (.rpm.sh.tar.gz) from downloads.lexmark.com and executes it during prepare() with 'sh lexmark-inkjet-legacy-1.0-1.${_arch}.rpm.sh --noexec --target'. While downloads.lexmark.com is the official Lexmark download server (a legitimate vendor host), the payload is a prebuilt binary shell-script installer that gets executed directly. The MD5 checksums provide some integrity verification, though MD5 is weak. The domain is the official Lexmark downloads subdomain, not a personal or unofficial host, which reduces the supply-chain concern somewhat. However, executing a prebuilt binary shell script installer (even with --noexec to extract rather than install) from any external host, combined with only MD5 verification, represents a genuine medium-level concern: if the upstream file were replaced or the host compromised, arbitrary code would execute during the build. This is a real but not clearly malicious supply-chain pattern — consistent with a MEDIUM rating.

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Zeph <zeph33@gmail.com>
2# For Lexmark Pro700 Series
3pkgname=lexmark_pro700
4pkgver=1.0
5pkgrel=2
6pkgdesc="Lexmark Pro700 Series Printer Driver"
7makedepends=('rpmextract' 'gzip' 'bash')
8depends=('java-runtime' 'cups' 'libstdc++5' 'lua')
9arch=('x86_64' 'i686')
10license=('Freeware')
11if [[ $CARCH == i686 ]]; then
12 _arch='i386'
13 md5sums=('421a5461e8cc04f1b838d23e868448fc')
14else
15 _arch='x86_64'
16 md5sums=('fc421f21e50a40a4ba482c0b04f17b84')
17fi
18install=lexmark_pro700.install
19url="http://www.lexmark.com/"
20source=("http://downloads.lexmark.com/downloads/cpd/lexmark-inkjet-legacy-1.0-1.${_arch}.rpm.sh.tar.gz")
21
22prepare() {
23# cd $startdir/src
24# tar xf lexmark-inkjet-legacy-1.0-1.x86_64.rpm.sh.tar.gz
25 cd ${srcdir}
26 sh lexmark-inkjet-legacy-1.0-1.${_arch}.rpm.sh --noexec --target Installer-Files
27 cd Installer-Files
28 mkdir Driver
29 tar xvvf instarchive_all --lzma -C Driver/
30 cd Driver
31 rpmextract.sh lexmark-inkjet-legacy-1.0-1.${_arch}.rpm
32 rpmextract.sh lexmark-legacy-wsu-1.0-1.${_arch}.rpm
33}
34
35package(){
36 mv -f ${srcdir}/Installer-Files/Driver/usr ${pkgdir}/
37}
38

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion