socketwrench
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-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 |