scangearmp2-mg7700
LOW
maintainer xiota
4 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a Canon official download domain (c-wss.com) used for legitimate driver distribution;虽非白名单主机,但属厂商正规发布渠道,且仅安装静态数据和 binaries,无远程代码执行或恶意行为。
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 source is a Canon official download domain (c-wss.com) used for legitimate driver distribution;虽非白名单主机,但属厂商正规发布渠道,且仅安装静态数据和 binaries,无远程代码执行或恶意行为。
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:15
source=("http://gdlp01.c-wss.com/gds/5/0100006905/01/scangearmp2-${pkgver}-1-deb.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer:
2
# Contributor: m4dz <code(at)m4dz(dot)net>
3
4
_pkgname="scangearmp2-mg7700"
5
pkgname="$_pkgname"
6
pkgver=3.20
7
pkgrel=3
8
pkgdesc='Canon ScanGear MP (PIXMA MG3640, PIXMA MG3650, PIXMA MG5740, PIXMA MG5750, PIXMA MG6840, PIXMA MG6850, PIXMA MG7740, PIXMA MG7750)'
9
url='http://support-th.canon-asia.com/contents/TH/EN/0100690502.html'
10
arch=('i686' 'x86_64')
11
license=('custom')
12
13
provides=("scangearmp2=$pkgver")
14
install=scangearmp2-mg7700.install
15
source=("http://gdlp01.c-wss.com/gds/5/0100006905/01/scangearmp2-${pkgver}-1-deb.tar.gz")
16
sha256sums=('37cad11b1ed7b646b798e0de36585c192ff44849a818f88c0a3daebb4d879dad')
17
18
prepare() {
19
local _pkgarch=$(echo -n "${CARCH}" | sed 's/x86_/amd/' | sed 's/i6/i3/')
20
local _debdir="scangearmp2-${pkgver}-1-deb/packages"
21
22
ar -x "${_debdir}/scangearmp2_${pkgver}-1_${_pkgarch}.deb" "data.tar.gz"
23
bsdtar -xzf data.tar.gz
24
}
25
26
package() {
27
depends+=(
28
'gtk2'
29
'libusb'
30
)
31
32
cp --reflink=auto -r {usr,etc} "${pkgdir}"
33
34
chmod 664 "${pkgdir}/usr/lib/bjlib/canon_mfp2_net.ini"
35
36
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
37
mv "${pkgdir}/usr/share/doc/scangearmp2"/LICENSE* "${pkgdir}/usr/share/licenses/${pkgname}"
38
39
rm -r "${pkgdir}/usr/share/doc"
40
}
41
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 |