amb
maintainer kleintux
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a plausible project-owned host (OSDN, hosting 'amb.osdn.io'), used to build the project's own code; the non-whitelisted host is not inherently risky for AUR packages, and the build process is standard.
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 plausible project-owned host (OSDN, hosting 'amb.osdn.io'), used to build the project's own code; the non-whitelisted host is not inherently risky for AUR packages, and the build process is standard.
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:13
source=("http://amb.osdn.io/archiwum/${pkgname}-${pkgver}.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch>
2
3
pkgname=amb
4
pkgver=20201223
5
pkgrel=1
6
pkgdesc='AMB stands for Ancient Machines Book. It is an extremely lightweight file format meant to store any kind of hypertext documentation '
7
url='http://ambook.sourceforge.net/'
8
license=('MIT')
9
arch=('x86_64' 'aarch64')
10
conflicts=(${pkgname}-svn)
11
depends=('ncurses')
12
makedepends=('ncurses')
13
source=("http://amb.osdn.io/archiwum/${pkgname}-${pkgver}.tar.xz"
14
"ptui-ncurses.c.patch")
15
sha512sums=('4d26bbca83836a890e593c0d95bd9dc92117e93be71b16ed5710dd89854753e772d930de590744b6b4960b2ceef47925a2361fe850ff48fd2bd741b07ea5e0a2'
16
'3dc017d1e933939d5093b65fb0622ecee88b7e9071834229a60c5f277b1caa0b30dd3bd8c2d1106cb5c1af4e562617e55bca17feb3187b32baa4b382a2312b31')
17
18
prepare() {
19
patch "${srcdir}/${pkgname}-${pkgver}/ptui/ptui-ncurses.c" < "${startdir}/ptui-ncurses.c.patch"
20
}
21
22
build() {
23
patch "${srcdir}/${pkgname}-${pkgver}/ptui/ptui-ncurses.c" < "${startdir}/ptui-ncurses.c.patch"
24
cd ${srcdir}"/"${pkgname}"-"${pkgver}
25
make
26
}
27
28
prepare() {
29
cd ${srcdir}"/"${pkgname}"-"${pkgver}
30
sed -n '/.*LICENSE.*/,$p' ${pkgname}.txt > LICENSE
31
}
32
33
package() {
34
mkdir -p "${pkgdir}/usr/bin/"
35
cd ${srcdir}"/"${pkgname}"-"${pkgver}
36
mv ${pkgname} ${pkgdir}/usr/bin/
37
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
38
}
39
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 |