microchip-mplabxc-dsc-bin
The source is a prebuilt installer from Microchip's official domain (microchip.com), which is the legitimate vendor; despite the non-whitelisted host, this is a standard and expected source for the toolchain, and the checksum is verified.
Triggered rules
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 prebuilt installer from Microchip's official domain (microchip.com), which is the legitimate vendor; despite the non-whitelisted host, this is a standard and expected source for the toolchain, and the checksum is verified.
2 higher static findings superseded - not the current verdict (shown for transparency)
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")
privileged_install
The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.
-
PKGBUILD:33
chmod u+s "${pkgdir}${instdir}/bin/xclm"
PKGBUILD
2 offending line(s) highlighted# Maintainer: Rafael Campos Las Heras <methril at gmail dot com>
pkgver=3.31.01
pkgname=microchip-mplabxc-dsc-bin
pkgrel=1
pkgdesc="Microchip's MPLAB XC-DSC C compiler toolchain for their dsPIC33A DSC microcontroller families"
arch=(x86_64)
url=http://www.microchip.com/xc-dsc
license=(custom)
#depends_i688=(gcc-libs)
#depends_x86_64=(lib32-gcc-libs)
makedepends=(bitrock-unpacker)
options=(!strip docs libtool emptydirs !zipman staticlibs)
source=("https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc-dsc-v$pkgver-full-install-linux64-installer.run")
sha256sums=('8bcd65a935ae43c4fc406bc8c82b7220b63a63368c824b35b2c488aa97dee556')
install=$pkgname.install
instdir="/opt/microchip/xc-dsc/v${pkgver}"
PKGEXT='.pkg.tar'
build() {
msg2 "Unpacking files from installer"
bitrock-unpacker ./xc-dsc-v$pkgver-full-install-linux64-installer.run ./unpacked.vfs
}
package() {
mkdir -p "${pkgdir}${instdir}"
mv unpacked.vfs/compiler/programfiles*/* "${pkgdir}${instdir}"
mv unpacked.vfs/licensecomponent/LinuxLM/xclmcheck.sh "${pkgdir}${instdir}/bin"
mv unpacked.vfs/licensecomponent/xclmBinlinux32/bin/{roam.lic,xclm} "${pkgdir}${instdir}/bin"
chmod u+s "${pkgdir}${instdir}/bin/xclm"
sed -i "s/<xclm>/<xclm>\n\t<xclm:LicenseDirectory xclm:path=\"\/opt\/microchip\/xclm\/license\/\" \/>/" unpacked.vfs/licensecomponent/xclmBinlinux32/etc/xclm.conf
mv unpacked.vfs/licensecomponent/xclmBinlinux32/etc/xclm.conf "${pkgdir}${instdir}/etc"
mv unpacked.vfs/licensecomponent/xclmallDocs/doc/* "${pkgdir}${instdir}/docs"
mv "${pkgdir}${instdir}"/*License.txt "${pkgdir}${instdir}/docs" 2>/dev/null || true
mkdir -p "$pkgdir/etc/profile.d"
echo "export PATH=\"\$PATH\":'${instdir}/bin'" > "${pkgdir}/etc/profile.d/${pkgname}.sh"
echo "export XC${_number_of_bits}_TOOLCHAIN_ROOT='${instdir}'" >> "$pkgdir/etc/profile.d/${pkgname}.sh"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
ln -s "${instdir}/docs/$(basename "${pkgdir}${instdir}/docs"/*[Ll]icense.txt)" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 00:17:06 | Low | 3 |
| 2026-09-05 00:16:27 | Low | 3 |
| 2026-09-04 00:03:13 | Low | 3 |
| 2026-09-03 00:15:47 | Low | 3 |
| 2026-09-02 00:02:31 | Low | 3 |
| 2026-09-01 00:11:19 | Low | 3 |
| 2026-08-31 00:19:57 | Low | 3 |
| 2026-08-30 00:04:14 | Low | 3 |
| 2026-08-29 00:29:17 | Low | 3 |