hd2u
maintainer milicawinkler
· 42 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal domain, but it is the project's own source code being built, not a prebuilt executable, and the patch is local; the worst case of a swapped source is limited to code injection during build, which is a standard AUR risk.
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 tarball from a personal domain, but it is the project's own source code being built, not a prebuilt executable, and the patch is local; the worst case of a swapped source is limited to code injection during build, which is a standard AUR risk.
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:14
source=("http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz" 'always-false.patch')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: spider-mario <spidermario@free.fr>
2
# Contributor: shirokuro <tod dot jackson at gmail dot com>
3
# Contributor: giovanni
4
5
pkgname=hd2u
6
pkgver=1.0.4
7
pkgrel=1
8
pkgdesc="Dos2Unix text file converter"
9
arch=('i686' 'x86_64')
10
license=('GPL')
11
url="http://hany.sk/~hany/software/hd2u/"
12
depends=('popt')
13
conflicts=('dos2unix')
14
source=("http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz" 'always-false.patch')
15
sha512sums=('ea3d952257b29c5e3540622535ed62b8b17481a50ea3e6ed4a42c40d419b10b6c78c233697e4f1838fc90d5fdab2607bbffa1a2c90f260904c32e321cd42a871'
16
'fa27ae64ce75fd73ef18207bc46ca8cbdeea66d0d6f3b342d52dbe14a63c23e2c9839bf026382e0c42084a00835235c49039097843b79c2764fe8889a6090ce9')
17
18
prepare() {
19
cd "$pkgname-$pkgver"
20
21
patch -p1 < ../always-false.patch
22
}
23
24
build() {
25
cd "$pkgname-$pkgver"
26
27
./configure --prefix=/usr
28
make
29
}
30
31
package() {
32
cd "$pkgname-$pkgver"
33
34
make BUILD_ROOT="$pkgdir" install
35
}
36
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 |