scangearmp-mg8100series
The package downloads a source tarball from an official Canon host for building the driver, which is a normal AUR practice; the non-whitelisted domain is Canon's European file server, plausibly official, and the source is checksummed and compiled locally.
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 source tarball from an official Canon host for building the driver, which is a normal AUR practice; the non-whitelisted domain is Canon's European file server, plausibly official, and the source is checksummed and compiled locally.
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:21
source=("http://files.canon-europe.com/files/soft40247/Software/scangearmp-source-${_pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: sourcesmith <sourcesmith 'at' homeport 'dot' org.uk>
# Original Contributors: Pavol Hluchy (Lopo) <lopo at losys dot eu>
# Sonic-Y3k <sonic.y3k@googlemail.com>
# Giancarlo Bianchi <giancarlobianchi76@gmail.com>
# Fortunato Ventre (voRia) <vorione@gmail.com>
# Custom Processing Unlimited (CPUnltd) <CPUnltd 'at' gmail 'dot' com>
_model=mg8100
pkgname=scangearmp-${_model}series
pkgver=1.60
pkgrel=1
_pkgver=1.60-1
pkgdesc="Canon IJ Scanner Driver (for ${_model} series)"
url="http://www.canon.co.uk/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_mg_series/pixma_mg8150.aspx?type=drivers'&'os=LINUX"
arch=('i686' 'x86_64')
license=('custom')
depends=('sane' 'gtk2' 'libpng')
makedepends=('autoconf>=2.13' 'automake>=1.6' 'findutils' 'gawk' 'gimp>=2.0')
optdepends=('xsane')
conflicts=('scangearmp-common')
install=scangearmp-mg8100series.install
source=("http://files.canon-europe.com/files/soft40247/Software/scangearmp-source-${_pkgver}.tar.gz"
'build-fixes.patch'
'scanfile.patch'
'rules.patch')
sha256sums=('fab6b764409f17a674ba31e45a515353cdf027562b2daee96c316bb86d6d6340'
'eeec0bbba93e054842bf1375502192c368cf92e86b6bcee2d114adeb14bbf8b3'
'd1b16bab6ac1f235fb42b14fff9e78a1bd395ddda56d21a8f13aabb0c4e8e83c'
'55a40593e79e85edc2365440097971f7b61748a3aa3d12a8365cea093da6af23')
if [ "$CARCH" == "x86_64" ]; then
_libdir=libs_bin64
else
_libdir=libs_bin32
fi
prepare() {
## Patches
msg "Applying patches"
patch -p0 < build-fixes.patch
patch -p0 < scanfile.patch
patch -p0 < rules.patch
}
build() {
CPPFLAGS="${CPPFLAGS} -O2"
## Compile ${_model} stuff
cd ${srcdir}/scangearmp-source-${_pkgver}/scangearmp
./autogen.sh --prefix=/usr LDFLAGS="-L`pwd`/../com/${_libdir}" LIBS=-lm
# Force the use of system's libtool
rm libtool
ln -s `which libtool` .
make
}
package() {
# get id of printer model
_cmd=$(grep ^PRINTER_DEPEND_PKG=scangearmp-${_model}- ${srcdir}/scangearmp-source-${_pkgver}/debian/scangearmp-${_model}series.postrm \
| gawk -F- '{print $3}')
_id=${_cmd}
echo ${pkgdir}
cd ${srcdir}/scangearmp-source-${_pkgver}/scangearmp
make install DESTDIR="${pkgdir}"
# Install SANE configuration file
install -d -m 0755 ${pkgdir}/etc/sane.d/
install -m 0644 ${srcdir}/scangearmp-source-${_pkgver}/scangearmp/backend/canon_mfp.conf ${pkgdir}/etc/sane.d/canon_mfp.conf
# Install ${_model} series specific libraries
cp -P ${srcdir}/scangearmp-source-${_pkgver}/${_id}/${_libdir}/*so* ${pkgdir}/usr/lib/
# Install common libraries
cp -P ${srcdir}/scangearmp-source-${_pkgver}/com/${_libdir}/*so* ${pkgdir}/usr/lib/
# Make scangearmp usable from gimp
install -d -m 0755 ${pkgdir}/usr/lib/gimp/2.0/plug-ins/
ln -s /usr/bin/scangearmp ${pkgdir}/usr/lib/gimp/2.0/plug-ins/
# Install .tbl and .dat files for ${_model} series
install -d -m 0755 ${pkgdir}/usr/lib/bjlib
install -D -m 0644 ${srcdir}/scangearmp-source-${_pkgver}/${_id}/cnc*.tbl ${pkgdir}/usr/lib/bjlib/
install -D -m 0644 ${srcdir}/scangearmp-source-${_pkgver}/${_id}/CNC*.DAT ${pkgdir}/usr/lib/bjlib/
# Install udev rules
install -D -m 0644 ${srcdir}/scangearmp-source-${_pkgver}/scangearmp/etc/80-canon_mfp.rules ${pkgdir}/etc/udev/rules.d/80-canon_mfp.rules
# Install .ini file
install -D -m 0644 ${srcdir}/scangearmp-source-${_pkgver}/com/ini/canon_mfp_net.ini ${pkgdir}/usr/lib/bjlib/
# Install license file
cd ${srcdir}/scangearmp-source-${_pkgver}
install -d -m 0755 ${pkgdir}/usr/share/licenses/${pkgname}/
install -m 0644 LICENSE-* ${pkgdir}/usr/share/licenses/${pkgname}/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |