tdb-sudoku
maintainer vitaliikuzhdin
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (tdb.fi), which is plausibly the maintainer's own site; building from source is normal AUR practice, and the patch and build steps are transparent and benign.
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 the project's official domain (tdb.fi), which is plausibly the maintainer's own site; building from source is normal AUR practice, and the patch and build steps are transparent and benign.
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
"${pkgname}-${pkgver}.tar.gz::https://www.tdb.fi/files/${_pkgsrc}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
2
3
_name="sudoku"
4
pkgname="tdb-${_name}"
5
pkgver=20060913
6
pkgrel=2
7
pkgdesc="A program for solving Sudoku puzzles"
8
arch=(
9
'x86_64'
10
)
11
url="https://www.tdb.fi/sudoku.shtml"
12
license=(
13
'GPL-2.0-only'
14
)
15
depends=(
16
'glibc'
17
'libgcc'
18
'libstdc++'
19
)
20
_pkgsrc="${_name}-${pkgver}"
21
source=(
22
"${pkgname}-${pkgver}.tar.gz::https://www.tdb.fi/files/${_pkgsrc}.tar.gz"
23
"${pkgname}_include_unistd.patch"
24
)
25
sha256sums=('b6891a043ecf88cbe83fcaa16474d6fab40df3b1a79cade4ad99a336c4423c12'
26
'ab039e23f10775438a635265cd619c1b88b2af22b7285349625a65b06715e797')
27
28
prepare() {
29
cd "${srcdir}/${_name}"
30
patch -Np1 -i "${srcdir}/${pkgname}_include_unistd.patch"
31
}
32
33
build() {
34
cd "${srcdir}/${_name}"
35
# make
36
37
g++ ${CXXFLAGS} ${LDFLAGS} -o "${pkgname}" ./*.cpp
38
}
39
40
package() {
41
cd "${srcdir}/${_name}"
42
install -vDm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
43
install -vDm644 "Readme.txt" "${pkgdir}/usr/share/doc/${pkgname}/README"
44
45
find . -type f \( -name 'evil*' -o -name 'hard*' \) -exec \
46
install -vDm644 "{}" "${pkgdir}/usr/share/${pkgname}/{}" \;
47
}
48
49
# vim:set ts=2 sw=2 et:
50
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 |