dict-foldoc
maintainer respiranto
· 13 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads the dictionary data from the official project domain foldoc.org, which is the legitimate source; although the host is not whitelisted and checksum is skipped, the content is non-executable data, and the build process is transparent and safe.
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 package downloads the dictionary data from the official project domain foldoc.org, which is the legitimate source; although the host is not whitelisted and checksum is skipped, the content is non-executable data, and the build process is transparent and safe.
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:19
_datestr="$(curl -sI https://foldoc.org/Dictionary \
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Einhard Leichtfuß <alguien@respiranto.de>
2
# Contributor: Jan Keith Darunday <jkcdarunday@gmail.com>
3
# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
4
pkgname=dict-foldoc
5
pkgver=20250828_233216
6
pkgrel=1
7
pkgdesc="The Free On-line Dictionary of Computing for dictd et al."
8
arch=('any')
9
url="https://foldoc.org/"
10
license=('GFDL-1.1-no-invariants-or-later')
11
optdepends=('dictd: dict client and server')
12
makedepends=('dictd')
13
provides=('dictd-foldoc')
14
conflicts=('dictd-foldoc')
15
install=${pkgname}.install
16
17
# Calculate the version now in order to make sources belonging to different
18
# versions distinguishable.
19
_datestr="$(curl -sI https://foldoc.org/Dictionary \
20
| sed -nE 's/^[Ll]ast-[Mm]odified: (.*)$/\1/p')"
21
_var_pkgver=$(date --utc --date="$_datestr" +%Y%m%d_%H%M%S)
22
_srcfile=Dictionary-${_var_pkgver}
23
24
source=("${_srcfile}::https://foldoc.org/Dictionary"
25
'fix_misspellings.sed')
26
sha512sums=('SKIP'
27
'b68d7356cfa5664de8ca87aa941c208edcec8e79761d616728ff5f9dfbc4878c07cae91fff79872044e889d25d4b63b1b5c36917867d47a8d157815f2840a711')
28
29
prepare()
30
{
31
# Correct some misspellings.
32
./fix_misspellings.sed -i $_srcfile
33
}
34
35
pkgver()
36
{
37
echo $_var_pkgver
38
}
39
40
build()
41
{
42
_datestr=$(date --utc --date=${pkgver%_*} +%Y-%m-%d)
43
44
dictfmt < $_srcfile -f \
45
--allchars -u https://foldoc.org/Dictionary \
46
-s "The Free On-line Dictionary of Computing (${_datestr})" \
47
--utf8 foldoc
48
49
dictzip -v foldoc.dict
50
}
51
52
package()
53
{
54
install -m 755 -d "${pkgdir}/usr/share/dictd"
55
install -m 644 -t "${pkgdir}/usr/share/dictd/" foldoc.{dict.dz,index}
56
}
57
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 |