loadlibrary-git
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:13
"mpam-fe.exe::http://go.microsoft.com/fwlink/?LinkID=121721&arch=x86")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads mpam-fe.exe from Microsoft's go.microsoft.com fwlink redirect (a legitimate Microsoft URL used for Windows Defender definition updates), extracts it with cabextract, and installs mpengine.dll and .vdm files into the package. The source is genuinely Microsoft's Windows Defender engine/definitions package, so the host is not unofficial or personal. However, the checksum is explicitly skipped with the comment 'ever changing checksum', meaning there is no integrity verification of the downloaded binary. The extracted mpengine.dll is a Windows PE DLL that gets loaded and executed on Linux via the loadlibrary PE loader — this is the entire point of the project (taviso/loadlibrary is a well-known research project by Tavis Ormandy). The real concern is: (1) no checksum on a binary that gets executed, meaning a MITM or Microsoft-side substitution would go undetected, and (2) a Windows DLL is being loaded and run in a Linux process context. The fwlink URL is a legitimate Microsoft redirect, not a personal/unofficial host, so this is less concerning than a truly unknown host. The risk is real but inherent to the project's design rather than malicious packaging intent. Rating medium is appropriate due to the unchecksumed executable binary that gets loaded/executed.
PKGBUILD
1 offending line(s) highlighted# Maintainer: fordprefect <fordprefect@dukun.de>
pkgname=loadlibrary-git
pkgver=r49.643a6a0
pkgrel=2
pkgdesc="Porting Windows Dynamic Link Libraries to Linux "
url="https://github.com/taviso/loadlibrary"
arch=('x86_64')
license=('GPL2')
depends=("lib32-glibc")
makedepends=("cabextract" "lib32-gcc-libs")
noextract=("mpam-fe.exe")
source=("loadlibrary::git+https://github.com/taviso/loadlibrary.git"
"mpam-fe.exe::http://go.microsoft.com/fwlink/?LinkID=121721&arch=x86")
md5sums=('SKIP'
'SKIP' # ever changing checksum
)
pkgver(){
cd loadlibrary
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare(){
cd "$srcdir"
cabextract mpam-fe.exe
}
build(){
cd loadlibrary
make
}
package() {
mkdir -p "$pkgdir/usr/lib/loadlibrary/engine" "$pkgdir/usr/include"
install -m755 "$srcdir/loadlibrary/mpclient" "$pkgdir/usr/lib/loadlibrary/mpclient"
install -m644 "$srcdir/mpengine.dll" "$pkgdir/usr/lib/loadlibrary/engine/mpengine.dll"
install -m644 "$srcdir"/*.vdm "$pkgdir/usr/lib/loadlibrary/engine/"
install -m644 "$srcdir/loadlibrary/peloader"/*.h "$pkgdir/usr/include/"
install -m644 "$srcdir/loadlibrary/peloader/libpeloader.a" "$pkgdir/usr/lib/"
mkdir -p "$pkgdir/usr/bin"
cat >> "$pkgdir/usr/bin/mpclient" << \EOF
#!/usr/bin/sh
cd /usr/lib/loadlibrary
./mpclient "$@"
EOF
chmod a+x "$pkgdir/usr/bin/mpclient"
}
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 |