socketwrench
The PKGBUILD downloads a prebuilt binary .deb package from asleepysamurai.com, which is a personal/project website rather than an established official release infrastructure (like GitHub releases, a distro mirror, or a well-known vendor CDN). The binary is an Electron-based application ('Socket Wrench') that gets extracted and installed directly to /opt and /usr/bin. While there is a sha256sum check providing some integrity protection against in-transit tampering, the trust anchor is entirely the personal host asleepysamurai.com — if that host is compromised or the binary is swapped (with a matching hash update), users would execute arbitrary code. This is a classic AUR supply-chain concern: a prebuilt, closed-source executable from a non-auditable personal host. The sha256sum mitigates opportunistic MITM but not a deliberate host-side substitution. Rated medium rather than high because there is no evidence of active malice, obfuscation, or exfiltration — it is a genuine but non-malicious supply-chain risk pattern.
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
source=("https://asleepysamurai.com/articles/socketwrench/binary/SocketWrench-${pkgver}-setup.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt binary .deb package from asleepysamurai.com, which is a personal/project website rather than an established official release infrastructure (like GitHub releases, a distro mirror, or a well-known vendor CDN). The binary is an Electron-based application ('Socket Wrench') that gets extracted and installed directly to /opt and /usr/bin. While there is a sha256sum check providing some integrity protection against in-transit tampering, the trust anchor is entirely the personal host asleepysamurai.com — if that host is compromised or the binary is swapped (with a matching hash update), users would execute arbitrary code. This is a classic AUR supply-chain concern: a prebuilt, closed-source executable from a non-auditable personal host. The sha256sum mitigates opportunistic MITM but not a deliberate host-side substitution. Rated medium rather than high because there is no evidence of active malice, obfuscation, or exfiltration — it is a genuine but non-malicious supply-chain risk pattern.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Artemiy Dudko <thepioh(at)zoho(dot)com>
pkgname=socketwrench
pkgver=0.0.1
pkgrel=1
pkgdesc="Socket Wrench is to Websockets what Postman/Insomnia is to HTTP connections (kinda)."
arch=('x86_64')
url="https://asleepysamurai.com/articles/socketwrench"
license=('custom')
# depends=('alsa-lib' 'gtk3' 'libsecret' 'libxss' 'libxtst' 'nss' 'xdg-utils')
# optdepends=('libappindicator-gtk3: Systray indicator support'
# 'org.freedesktop.secrets: Keyring password store support')
source=("https://asleepysamurai.com/articles/socketwrench/binary/SocketWrench-${pkgver}-setup.deb")
noextract=("SocketWrench-${pkgver}-setup.deb")
sha256sums=('bcd2dd48a953ff649999ff28bc4fb4b62e4f2f248e74c627332607d554c1d19b')
package() {
bsdtar -O -xf "SocketWrench-${pkgver}-setup.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
# Permission fix
find "${pkgdir}" -type d -exec chmod 755 {} +
mkdir -p "${pkgdir}/usr/bin"
ln -s "../../opt/Socket Wrench/socketwrench" "${pkgdir}/usr/bin/socketwrench"
# # Move license
# install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
# mv "${pkgdir}/usr/lib/slack/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
# ln -s "/usr/share/licenses/${pkgname}/LICENSE" "${pkgdir}/usr/lib/slack/LICENSE"
}
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 |