ocaml-expat
LOW
maintainer orphaned
0 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a tarball from a personal domain, but it is the project's own source code being built normally, with a provided checksum, posing minimal supply-chain 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 normally, with a provided checksum, posing minimal supply-chain 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:12
source=("https://mmzeeman.home.xs4all.nl/ocaml/ocaml-expat-0.9.1.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Andrea Berlingieri <andrea.berlingieri42 at gmail dot com>
2
pkgname=ocaml-expat
3
pkgver=0.9.1
4
pkgrel=1
5
pkgdesc="An ocaml wrapper for the Expat XML parsing library"
6
arch=('x86_64')
7
url="https://mmzeeman.home.xs4all.nl/ocaml/"
8
license=('custom')
9
depends=('expat')
10
makedepends=('ocaml' 'expat' 'ocaml-findlib')
11
changelog=ChangeLog
12
source=("https://mmzeeman.home.xs4all.nl/ocaml/ocaml-expat-0.9.1.tar.gz")
13
md5sums=('17aa00a46c5edeb815f1b0555bad7ed2')
14
15
build() {
16
cd "${srcdir}/$pkgname-$pkgver"
17
make EXPAT_LIBDIR=/usr/lib EXPAT_INCDIR=/usr/include depend
18
make EXPAT_LIBDIR=/usr/lib EXPAT_INCDIR=/usr/include allopt
19
make doc
20
}
21
22
package() {
23
OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
24
mkdir -p "$OCAMLFIND_DESTDIR"
25
cd "${srcdir}/$pkgname-$pkgver"
26
env DESTDIR="${pkgdir}" \
27
OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \
28
OCAMLFIND_LDCONF="ignore" \
29
make install
30
install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
31
mkdir -p $pkgdir/usr/share/doc/$pkgname
32
install -Dm 644 doc/*.html $pkgdir/usr/share/doc/$pkgname
33
}
34
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |