canon-pixma-mg5700-complete

maintainer nop-90 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads official Canon driver .deb files from Canon's own gdlp01.c-wss.com domain, which is plausibly their official distribution host; building from vendor source with unverifiable checksums is a supply-chain concern but not inherently malicious.

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 official Canon driver .deb files from Canon's own gdlp01.c-wss.com domain, which is plausibly their official distribution host; building from vendor source with unverifiable checksums is a supply-chain concern but not inherently malicious.

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:19 source=('http://gdlp01.c-wss.com/gds/2/0100006902/01/cnijfilter2-5.20-1-deb.tar.gz'

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Evan M. <nop-90@keemail.me>
2# Contributor: Ryan Owens <RyanOwens at linux dot com>
3
4# Based on PKGBUILD from https://aur.archlinux.org/packages/canon-pixma-mg5500-complete
5# Scanner icon source: http://openiconlibrary.sourceforge.net/gallery2/open_icon_library-full/icons/png/64x64/devices/scanner-3.png
6
7pkgname=canon-pixma-mg5700-complete
8pkgver=5.20
9pkgrel=1
10pkgdesc="Complete stand alone driver set (printing and scanning) for Canon Pixma MG5700 series"
11url='https://www.canon-europe.com/printers/inkjet/pixma/pixma_mg5700_series'
12arch=('i686' 'x86_64')
13license=('custom')
14install="${pkgname}.install"
15depends_x86_64=('lib32-popt' 'lib32-libpng12' 'lib32-libtiff4' 'lib32-libxml2' 'lib32-gtk2')
16depends_i686=('popt' 'libpng12' 'libusb-compat' 'libtiff4' 'libxml2' 'gtk2')
17
18makedepends=('deb2targz' 'sed')
19source=('http://gdlp01.c-wss.com/gds/2/0100006902/01/cnijfilter2-5.20-1-deb.tar.gz'
20 'http://gdlp01.c-wss.com/gds/5/0100006905/01/scangearmp2-3.20-1-deb.tar.gz'
21 "${pkgname}.license"
22 "${pkgname}-scangear.desktop"
23 "${pkgname}-scangear-icon.png")
24
25sha1sums=('9fff089de350b02e4b1e29a39ff54f9ed7a22771'
26 '4cf0ab10c1e8b4df13db18c4c1e47b8c643c0fd3'
27 'SKIP'
28 'SKIP'
29 'SKIP')
30
31_printDrvSrc='cnijfilter2-5.20-1-deb'
32_scanDrvSrc='scangearmp2-3.20-1-deb'
33
34_printDrvDebMain="cnijfilter2_5.20-1_amd64"
35_scanDrvDebMain="scangearmp2_3.20-1_amd64"
36
37_ppdFile="canonmg5700.ppd"
38
39build(){
40 cd ${srcdir}
41
42 # Unpack driver source files
43
44 tar xvzf ${_printDrvSrc}.tar.gz
45 tar xvzf ${_scanDrvSrc}.tar.gz
46
47 rm -v *.tar.gz
48}
49
50package(){
51 cd ${pkgdir}
52
53 # Unpack debian installer files
54
55 cp "${srcdir}/${_printDrvSrc}/packages/${_printDrvDebMain}.deb" .
56 cp "${srcdir}/${_scanDrvSrc}/packages/${_scanDrvDebMain}.deb" .
57
58 deb2targz "${_printDrvDebMain}.deb"
59 deb2targz "${_scanDrvDebMain}.deb"
60
61 rm -v *.deb
62
63 tar xzvf "${_printDrvDebMain}.tar.gz"
64 tar xzvf "${_scanDrvDebMain}.tar.gz"
65
66 rm -v *.tar.gz
67
68 # Move ppd file to where cups expects
69
70 install -vDm 644 "${pkgdir}/usr/share/ppd/${_ppdFile}" "${pkgdir}/usr/share/cups/model/${_ppdFile}"
71
72 rm -vrf ${pkgdir}/usr/share/ppd
73
74 # Fix udev rules
75
76 sed -i -e "s/SYSFS/ATTR/g" "${pkgdir}/etc/udev/rules.d/80-canon_mfp2.rules"
77
78 # Install custom license file
79
80 install -vDm 644 "${srcdir}/${pkgname}.license" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
81
82 # Install entry in application menu, including icon
83
84 install -vDm 644 "${srcdir}/${pkgname}-scangear.desktop" "${pkgdir}/usr/share/applications/${pkgname}-scangear.desktop"
85 install -vDm 644 "${srcdir}/${pkgname}-scangear-icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-scangear-icon.png"
86}
87

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