hws

maintainer lion7 · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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

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:10 source=("https://w3s.link/ipfs/bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu/hws-debian-3.1.00-amd64.deb")
MEDIUM AI review 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
1# Maintainer: Gerard de Leeuw <gdeleeuw at leeuwit dot nl>
2
3pkgname=hws
4pkgver=3.1.00
5pkgrel=4
6pkgdesc="Hardware Sentry"
7arch=("x86_64")
8url="https://www.sentrysoftware.com/docs/hws-doc/${pkgver}/index.html"
9license=("custom")
10source=("https://w3s.link/ipfs/bafybeiai6vgnd5z2lgyrjbq2luvhbxcihlmbr67dtsdrt6wpsylm5z7ftu/hws-debian-3.1.00-amd64.deb")
11md5sums=("921951cf1aa02107499642a78b5adeb4")
12
13package() {
14 tar -xf data.tar.xz -C "${pkgdir}"
15 mkdir -p "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/bin"
16 install -Dm644 "$pkgdir/opt/hws/lib/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
17 mv "$pkgdir/lib" "$pkgdir/usr/lib"
18 ln -s /opt/hws/bin/hws ${pkgdir}/usr/bin/hws
19}
20

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion