scangearmp2-mg7700
maintainer xiota
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
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-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 |