hd2u

LOW
maintainer milicawinkler 42 votes scanned 2026-09-17 00:27:14.276658
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
5pkgname=hd2u
6pkgver=1.0.4
7pkgrel=1
8pkgdesc="Dos2Unix text file converter"
9arch=('i686' 'x86_64')
10license=('GPL')
11url="http://hany.sk/~hany/software/hd2u/"
12depends=('popt')
13conflicts=('dos2unix')
14source=("http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz" 'always-false.patch')
15sha512sums=('ea3d952257b29c5e3540622535ed62b8b17481a50ea3e6ed4a42c40d419b10b6c78c233697e4f1838fc90d5fdab2607bbffa1a2c90f260904c32e321cd42a871'
16 'fa27ae64ce75fd73ef18207bc46ca8cbdeea66d0d6f3b342d52dbe14a63c23e2c9839bf026382e0c42084a00835235c49039097843b79c2764fe8889a6090ce9')
17
18prepare() {
19 cd "$pkgname-$pkgver"
20
21 patch -p1 < ../always-false.patch
22}
23
24build() {
25 cd "$pkgname-$pkgver"
26
27 ./configure --prefix=/usr
28 make
29}
30
31package() {
32 cd "$pkgname-$pkgver"
33
34 make BUILD_ROOT="$pkgdir" install
35}
36

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion