pk2cmd-plus

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

The package downloads source code and a device file from Microchip's official domains (microchip.com) over HTTP; while the host is not on a standard whitelist, it is plausibly the project's official infrastructure, and the files are either source code or static data, not prebuilt executables.

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 source code and a device file from Microchip's official domains (microchip.com) over HTTP; while the host is not on a standard whitelist, it is plausibly the project's official infrastructure, and the files are either source code or static data, not prebuilt executables.

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:14 source=('http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit2_PK2CMD_WIN32_SourceV1-21_RC1.zip'
  • PKGBUILD:15 'PK2DeviceFile_v1.63.148.zip::http://www.microchip.com/forums/download.axd?file=0;749972'

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: BxS <bxsbxs at gmail dot com>
2
3pkgname='pk2cmd-plus'
4pkgver=1.21rc1_1.63.148
5pkgrel=2
6pkgdesc="PICkit 2 CLI software with updated DeviceFile and udev rules"
7arch=('i686' 'x86_64')
8url='http://www.microchip.com/pickit2'
9license=('custom')
10depends=('libusb-compat')
11provides=('pk2cmd')
12conflicts=('pk2cmd')
13install=$pkgname.install
14source=('http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit2_PK2CMD_WIN32_SourceV1-21_RC1.zip'
15 'PK2DeviceFile_v1.63.148.zip::http://www.microchip.com/forums/download.axd?file=0;749972'
16 'pk2_devicefile_osfile_paths.patch'
17 '60-pickit2.rules'
18 'LICENSE')
19md5sums=('6f93ede97be484ab7859626a9156a5d6'
20 '3983ce4f45992318c4f0037c8d1acf9f'
21 'c3972d96ac997eb35ae76a861eb4ae0c'
22 'a5cf4ffff54af41c4d1cf8c97d007dcf'
23 '6d53baa09ac4ac3907d503992349b17a')
24[[ ${DLAGENTS[1]} == 'http::/usr/bin/curl'* ]] && DLAGENTS[1]="${DLAGENTS[1]::-3} -A firefox %u"
25
26build() {
27 cd $srcdir/pk2cmd/pk2cmd
28 patch -Np1 -i $srcdir/pk2_devicefile_osfile_paths.patch
29 make linux
30}
31
32package() {
33 install -Dm 755 $srcdir/pk2cmd/pk2cmd/pk2cmd $pkgdir/usr/bin/pk2cmd
34 install -Dm 644 $srcdir/PK2DeviceFile.dat $pkgdir/usr/share/pk2/PK2DeviceFile.dat
35 install -Dm 644 $srcdir/pk2cmd/release/PK2V023200.hex $pkgdir/usr/share/pk2/PK2V023200.hex
36 install -Dm 644 $srcdir/60-pickit2.rules $pkgdir/etc/udev/rules.d/60-pickit2.rules
37 install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
38}
39

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