canon-pixma-mg6300-complete
maintainer Fenisu
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
6
pkgname=canon-pixma-mg6300-complete
7
pkgver=3.80
8
pkgrel=1
9
pkgdesc="Complete stand alone driver set (printing and scanning) for Canon Pixma MG6300 series"
10
url='http://www.canon-europe.com/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MG_series/PIXMA_MG6350.aspx'
11
arch=('i686' 'x86_64')
12
license=('custom')
13
install="${pkgname}.install"
14
depends_x86_64=('lib32-popt' 'lib32-libpng12' 'lib32-libusb-compat' 'lib32-libtiff4' 'lib32-libxml2' 'lib32-gtk2')
15
depends_i686=('popt' 'libpng12' 'libusb-compat' 'libtiff4' 'libxml2' 'gtk2')
16
17
makedepends=('deb2targz' 'sed')
18
source=('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")
23
md5sums=('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
40
build(){
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
51
package(){
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) | Severity | Rules |
|---|---|---|
| 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 |