socat2
maintainer lilydjwg
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a development version tarball from the project's official domain, which is not on the whitelist but is plausibly legitimate; building from official project source is normal AUR packaging behavior.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a development version tarball from the project's official domain, which is not on the whitelist but is plausibly legitimate; building from official project source is normal AUR packaging behavior.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:22
http://www.dest-unreach.org/socat/download/socat-2.0.0-b9.tar.bz2
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
2
#
3
# This is based on AUR packages socat2. The original maintainer is:
4
# Maintainer: Stefan Haller <haliner@googlemail.com>
5
#
6
# The original PKGBUILD for socat in the official repository was written by:
7
# Contributor: Gaetan Bisson <bisson@archlinux.org>
8
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
9
# Contributor: John Proctor <jproctor@prium.net>
10
11
pkgname=socat2
12
_pkgname=socat
13
pkgver=2.0.0_b9
14
pkgrel=4
15
pkgdesc='Multipurpose relay, version 2 (development version)'
16
url='http://www.dest-unreach.org/socat/socat-version2.html'
17
license=('GPL2')
18
arch=('i686' 'x86_64')
19
depends=('readline' 'openssl-1.0')
20
makedepends=('yodl' 'git')
21
source=(
22
http://www.dest-unreach.org/socat/download/socat-2.0.0-b9.tar.bz2
23
sslv3.patch
24
)
25
sha256sums=('49efb0a5c66b94b279014addc2851faf8ebbd1ec4b7e31c1de7e912d7b4983d2'
26
'3744575806f489ad0d3673e6a397badd4b61ecbd6e474ece67b347e13c5076b5')
27
28
prepare() {
29
cd $_pkgname-${pkgver/_/-}
30
31
patch -Np1 -i ../sslv3.patch
32
}
33
34
build() {
35
cd $_pkgname-${pkgver/_/-}
36
37
CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" \
38
LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0" \
39
./configure --prefix=/usr
40
41
make
42
}
43
44
package() {
45
cd $_pkgname-${pkgver/_/-}
46
47
make DESTDIR="$pkgdir" install
48
49
# Make it co-installable with socat
50
find "${pkgdir}/usr/bin/" -type f -executable -exec mv {} {}2 \;
51
mv "$pkgdir"/usr/share/man/man1/socat{,2}.1
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |