pk2cmd-plus

maintainer jillkamper · 11 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion