socketwrench

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

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:13 source=("https://asleepysamurai.com/articles/socketwrench/binary/SocketWrench-${pkgver}-setup.deb")
MEDIUM AI review 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
1# Maintainer: Artemiy Dudko <thepioh(at)zoho(dot)com>
2
3pkgname=socketwrench
4pkgver=0.0.1
5pkgrel=1
6pkgdesc="Socket Wrench is to Websockets what Postman/Insomnia is to HTTP connections (kinda)."
7arch=('x86_64')
8url="https://asleepysamurai.com/articles/socketwrench"
9license=('custom')
10# depends=('alsa-lib' 'gtk3' 'libsecret' 'libxss' 'libxtst' 'nss' 'xdg-utils')
11# optdepends=('libappindicator-gtk3: Systray indicator support'
12# 'org.freedesktop.secrets: Keyring password store support')
13source=("https://asleepysamurai.com/articles/socketwrench/binary/SocketWrench-${pkgver}-setup.deb")
14noextract=("SocketWrench-${pkgver}-setup.deb")
15sha256sums=('bcd2dd48a953ff649999ff28bc4fb4b62e4f2f248e74c627332607d554c1d19b')
16
17package() {
18 bsdtar -O -xf "SocketWrench-${pkgver}-setup.deb" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
19
20 # Permission fix
21 find "${pkgdir}" -type d -exec chmod 755 {} +
22
23 mkdir -p "${pkgdir}/usr/bin"
24 ln -s "../../opt/Socket Wrench/socketwrench" "${pkgdir}/usr/bin/socketwrench"
25 # # Move license
26 # install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
27 # mv "${pkgdir}/usr/lib/slack/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
28 # ln -s "/usr/share/licenses/${pkgname}/LICENSE" "${pkgdir}/usr/lib/slack/LICENSE"
29}
30

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