canon-pixma-mg6300-complete

LOW
maintainer Fenisu 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads official Canon driver tarballs from Canon's own gdlp01.c-wss.com domain, which is a standard host for Canon drivers; despite the static analyzer flag, the source is legitimate and the build process only extracts and repackages the official binaries without executing remote code.

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 tarballs from Canon's own gdlp01.c-wss.com domain, which is a standard host for Canon drivers; despite the static analyzer flag, the source is legitimate and the build process only extracts and repackages the official binaries without executing remote code.

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:18 source=('http://gdlp01.c-wss.com/gds/2/0100004692/01/cnijfilter-mg6300series-3.80-1-deb.tar.gz'

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ryan Owens <RyanOwens at linux dot com>
2
3# Based on PKGBUILD from https://aur.archlinux.org/packages/canon-pixma-mg5200-complete
4# Scanner icon source: http://openiconlibrary.sourceforge.net/gallery2/open_icon_library-full/icons/png/64x64/devices/scanner-3.png
5
6pkgname=canon-pixma-mg6300-complete
7pkgver=3.80
8pkgrel=1
9pkgdesc="Complete stand alone driver set (printing and scanning) for Canon Pixma MG6300 series"
10url='http://www.canon-europe.com/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MG_series/PIXMA_MG6350.aspx'
11arch=('i686' 'x86_64')
12license=('custom')
13install="${pkgname}.install"
14depends_x86_64=('lib32-popt' 'lib32-libpng12' 'lib32-libusb-compat' 'lib32-libtiff4' 'lib32-libxml2' 'lib32-gtk2')
15depends_i686=('popt' 'libpng12' 'libusb-compat' 'libtiff4' 'libxml2' 'gtk2')
16
17makedepends=('deb2targz' 'sed')
18source=('http://gdlp01.c-wss.com/gds/2/0100004692/01/cnijfilter-mg6300series-3.80-1-deb.tar.gz'
19 'http://gdlp01.c-wss.com/gds/7/0100004707/01/scangearmp-mg6300series-2.00-1-deb.tar.gz'
20 "${pkgname}.license"
21 "${pkgname}-scangear.desktop"
22 "${pkgname}-scangear-icon.png")
23md5sums=('99d378100e5bf37ed0425ab09b496481'
24 'c5a6b61b0ba84ec8fd7e4863c84ef84b'
25 'd8faf0e75ee3d1989eed39d55cb3e8fb'
26 '1573618a7649a165ba8a31c92e3f1655'
27 '3feefd413092d7152f47b7451ba79efe')
28
29_printDrvSrc='cnijfilter-mg6300series-3.80-1-deb'
30_scanDrvSrc='scangearmp-mg6300series-2.00-1-deb'
31
32_printDrvDebCommon='cnijfilter-common_3.80-1_i386'
33_printDrvDebMain='cnijfilter-mg6300series_3.80-1_i386'
34
35_scanDrvDebCommon='scangearmp-common_2.00-1_i386'
36_scanDrvDebMain='scangearmp-mg6300series_2.00-1_i386'
37
38_ppdFile="canonmg6300.ppd"
39
40build(){
41 cd ${srcdir}
42
43 # Unpack driver source files
44
45 tar xvzf ${_printDrvSrc}.tar.gz
46 tar xvzf ${_scanDrvSrc}.tar.gz
47
48 rm -v *.tar.gz
49}
50
51package(){
52 cd ${pkgdir}
53
54 # Unpack debian installer files
55
56 cp "${srcdir}/${_printDrvSrc}/packages/${_printDrvDebCommon}.deb" .
57 cp "${srcdir}/${_printDrvSrc}/packages/${_printDrvDebMain}.deb" .
58 cp "${srcdir}/${_scanDrvSrc}/packages/${_scanDrvDebCommon}.deb" .
59 cp "${srcdir}/${_scanDrvSrc}/packages/${_scanDrvDebMain}.deb" .
60
61 deb2targz "${_printDrvDebCommon}.deb"
62 deb2targz "${_printDrvDebMain}.deb"
63 deb2targz "${_scanDrvDebCommon}.deb"
64 deb2targz "${_scanDrvDebMain}.deb"
65
66 rm -v *.deb
67
68 tar xzvf "${_printDrvDebCommon}.tar.gz"
69 tar xzvf "${_printDrvDebMain}.tar.gz"
70 tar xzvf "${_scanDrvDebCommon}.tar.gz"
71 tar xzvf "${_scanDrvDebMain}.tar.gz"
72
73 rm -v *.tar.gz
74
75 # Move ppd file to where cups expects
76
77 install -vDm 644 "${pkgdir}/usr/share/ppd/${_ppdFile}" "${pkgdir}/usr/share/cups/model/${_ppdFile}"
78
79 rm -vrf ${pkgdir}/usr/share/ppd
80
81 # Fix udev rules
82
83 sed -i -e "s/SYSFS/ATTR/g" "${pkgdir}/etc/udev/rules.d/80-canon_mfp.rules"
84
85 # Install custom license file
86
87 install -vDm 644 "${srcdir}/${pkgname}.license" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
88
89 # Install entry in application menu, including icon
90
91 install -vDm 644 "${srcdir}/${pkgname}-scangear.desktop" "${pkgdir}/usr/share/applications/${pkgname}-scangear.desktop"
92 install -vDm 644 "${srcdir}/${pkgname}-scangear-icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-scangear-icon.png"
93}
94
95

Scan history

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

Report a package

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

0 / 4000
Your suggestion