microchip-mplabxc-dsc-bin

LOW
maintainer methril 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a prebuilt installer from Microchip's official domain (microchip.com), which is the legitimate vendor; despite the non-whitelisted host, the download is from the project's official source and the checksum is provided, making it a standard AUR package for proprietary toolchains.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt installer from Microchip's official domain (microchip.com), which is the legitimate vendor; despite the non-whitelisted host, the download is from the project's official source and the checksum is provided, making it a standard AUR package for proprietary toolchains.

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=("https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc-dsc-v$pkgver-full-install-linux64-installer.run")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Rafael Campos Las Heras <methril at gmail dot com>
2
3pkgver=4.00
4pkgname=microchip-mplabxc-dsc-bin
5pkgrel=1
6pkgdesc="Microchip's MPLAB XC-DSC C compiler toolchain for their dsPIC33A DSC microcontroller families"
7arch=(x86_64)
8url=https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc-dsc
9license=(custom)
10#depends_i688=(gcc-libs)
11#depends_x86_64=(lib32-gcc-libs)
12makedepends=(bitrock-unpacker)
13
14options=(!strip docs libtool emptydirs !zipman staticlibs)
15source=("https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc-dsc-v$pkgver-full-install-linux64-installer.run")
16sha256sums=('b81f5bef121690c14ac588bae9ab0df94843cec2086a1f4ffa4effcf78612712')
17install=$pkgname.install
18
19instdir="/opt/microchip/xc-dsc/v${pkgver}"
20
21PKGEXT='.pkg.tar'
22
23build() {
24 msg2 "Unpacking files from installer"
25 bitrock-unpacker ./xc-dsc-v$pkgver-full-install-linux64-installer.run ./unpacked.vfs
26}
27
28package() {
29 mkdir -p "${pkgdir}${instdir}"
30 mv unpacked.vfs/compiler/programfiles*/* "${pkgdir}${instdir}"
31
32 mv "${pkgdir}${instdir}"/*License.txt "${pkgdir}${instdir}/docs" 2>/dev/null || true
33
34 mkdir -p "$pkgdir/etc/profile.d"
35 echo "export PATH=\"\$PATH\":'${instdir}/bin'" > "${pkgdir}/etc/profile.d/${pkgname}.sh"
36 echo "export XC${_number_of_bits}_TOOLCHAIN_ROOT='${instdir}'" >> "$pkgdir/etc/profile.d/${pkgname}.sh"
37
38 mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
39 ln -s "${instdir}/docs/$(basename "${pkgdir}${instdir}/docs"/*[Ll]icense.txt)" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
40}
41

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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