micro-cap
Triggered rules
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:20
source=("${pkgname}-${pkgver}.zip::http://www.spectrum-soft.com/download/mc${pkgver}cd.zip" launcher.sh setup.iss.tar LICENSE)
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt Windows executable archive (mc12cd.zip) from spectrum-soft.com, which is the official vendor website for Micro-Cap (Spectrum Software). This is not a random personal host — Spectrum Software was the legitimate developer of Micro-Cap, which was released as freeware in 2019. The archive is installed into /usr/share/micro-cap and executed via a Wine launcher script. There is a sha256 checksum, providing integrity verification. However, the concern is real: a prebuilt binary installer from a vendor website (not a source forge or official mirror with transparency) is executed via Wine, and if the host were compromised or the binary swapped, the checksum would be the only protection. The build() function is commented out, meaning the zip is shipped as-is and unpacked at runtime by the launcher. This is a legitimate but non-ideal packaging pattern — distributing a prebuilt proprietary Windows binary run under Wine. The medium rating is appropriate: it is not clearly malicious, but it is an executed binary from a non-standard (though official vendor) host with no source build.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=micro-cap
pkgver=12
pkgrel=1
epoch=0
pkgdesc='an integrated schematic editor and mixed analog/digital circuit simulator'
arch=(x86_64)
url='http://www.spectrum-soft.com/index.shtm'
license=('custom')
depends=(
wine
wine-gecko
wine-mono
winetricks
xorg-server-xvfb
)
# archived at https://web.archive.org/web/20201107223859/http://www.spectrum-soft.com/download/mc12cd.zip
source=("${pkgname}-${pkgver}.zip::http://www.spectrum-soft.com/download/mc${pkgver}cd.zip" launcher.sh setup.iss.tar LICENSE)
sha256sums=('f4fda36ae96ab618c0487b2ff199b37bb8b12a26ecabc2ef11c6d36a5bac02a7'
'826f2d2d409889d8ed20e8770de3f07d9d20c7a5f9a39950066295cee613828a'
'92823edceadc722b5c9c8951de18e6ee7166fcb5d8ae625212f456aa8f1d1fb8'
'350a5c1fe63617959e971db8f3f97a694b251fefee296c88fcbd939d3ec90f63')
noextract=(${pkgname}-${pkgver}.zip)
#build(){
# install -m755 -d tmp tmp/env tmp/local
# export WINEPREFIX="${srcdir}/"tmp/env
# export XDG_DATA_HOME="${srcdir}"/tmp/local
# wineboot -u
#
# cp setup.iss tmp/env/drive_c
# WINEDEBUG=-all wine "$srcdir"/setup.exe /SMS /s /f1"C:\setup.iss"
#}
package() {
cp launcher.sh micro-cap
install -m755 -Dt "${pkgdir}"/usr/bin micro-cap
install -m755 -Dt "${pkgdir}"/usr/share/micro-cap ${pkgname}-${pkgver}.zip
install -m644 -Dt "${pkgdir}"/usr/share/micro-cap setup.iss
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |