hws
The package downloads a prebuilt binary .deb from an IPFS content-addressed gateway (w3s.link). The key point is that IPFS CIDs are content-addressed: the CID 'bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu' cryptographically identifies the exact content, so the content itself cannot be silently swapped (unlike a mutable URL). However, w3s.link is a third-party IPFS gateway (web3.storage), not the official vendor distribution channel (sentrysoftware.com). The .deb is a prebuilt binary that gets installed and executed, and it is sourced from an unofficial/personal host rather than the vendor's own infrastructure. The md5sums check provides only weak integrity verification. The combination of: (1) executed binary/library content, (2) sourced from a non-official third-party host, and (3) only MD5 integrity checking (though partially mitigated by IPFS CID immutability) constitutes a genuine medium-severity supply-chain concern — the original pinned content could itself be malicious or tampered before pinning. The PKGBUILD also has a minor functional issue (data.tar.xz extraction happens without first extracting the .deb), but this is a packaging bug rather than a security issue.
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:10
source=("https://w3s.link/ipfs/bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu/hws-debian-3.1.00-amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The package downloads a prebuilt binary .deb from an IPFS content-addressed gateway (w3s.link). The key point is that IPFS CIDs are content-addressed: the CID 'bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu' cryptographically identifies the exact content, so the content itself cannot be silently swapped (unlike a mutable URL). However, w3s.link is a third-party IPFS gateway (web3.storage), not the official vendor distribution channel (sentrysoftware.com). The .deb is a prebuilt binary that gets installed and executed, and it is sourced from an unofficial/personal host rather than the vendor's own infrastructure. The md5sums check provides only weak integrity verification. The combination of: (1) executed binary/library content, (2) sourced from a non-official third-party host, and (3) only MD5 integrity checking (though partially mitigated by IPFS CID immutability) constitutes a genuine medium-severity supply-chain concern — the original pinned content could itself be malicious or tampered before pinning. The PKGBUILD also has a minor functional issue (data.tar.xz extraction happens without first extracting the .deb), but this is a packaging bug rather than a security issue.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Gerard de Leeuw <gdeleeuw at leeuwit dot nl>
pkgname=hws
pkgver=3.1.00
pkgrel=4
pkgdesc="Hardware Sentry"
arch=("x86_64")
url="https://www.sentrysoftware.com/docs/hws-doc/${pkgver}/index.html"
license=("custom")
source=("https://w3s.link/ipfs/bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu/hws-debian-3.1.00-amd64.deb")
md5sums=("921951cf1aa02107499642a78b5adeb4")
package() {
tar -xf data.tar.xz -C "${pkgdir}"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/bin"
install -Dm644 "$pkgdir/opt/hws/lib/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mv "$pkgdir/lib" "$pkgdir/usr/lib"
ln -s /opt/hws/bin/hws ${pkgdir}/usr/bin/hws
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |