ocaml-expat
LOW
maintainer orphaned
0 votes
scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |