haskell-mock

LOW
maintainer Eisfunke 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from the project's own Git host (git.eisfunke.com), which is plausibly the maintainer's official infrastructure; building from source is normal for AUR packages, and the host, while not standard, is directly associated with the maintainer and project.

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 own Git host (git.eisfunke.com), which is plausibly the maintainer's official infrastructure; building from source is normal for AUR packages, and the host, while not standard, is directly associated with the maintainer and project.

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=("${pkgname}-${pkgver}.tar.gz::https://git.eisfunke.com/software/mock/-/archive/${pkgver}/mock-${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nicolas Lenz <nicolas@eisfunke.com>
2
3pkgname=haskell-mock
4pkgver=3.7.1
5pkgrel=1
6pkgdesc="Great Haskell tool to transform text"
7url="https://git.eisfunke.com/software/mock"
8license=("custom:WTFPL")
9arch=("x86_64")
10depends=("haskell-array" "haskell-base" "haskell-binary" "haskell-bytestring" "haskell-deepseq" "haskell-ghc-prim" "haskell-hashable" "haskell-integer-gmp" "haskell-random" "haskell-text" "haskell-time")
11makedepends=("ghc" "haskell-hpack")
12source=("${pkgname}-${pkgver}.tar.gz::https://git.eisfunke.com/software/mock/-/archive/${pkgver}/mock-${pkgver}.tar.gz")
13sha256sums=('ca3342dc5ae0775630913509004f949b220fbe73993026806f80f83fc7c4dc21')
14
15
16build() {
17 cd "${srcdir}/mock-${pkgver}"
18
19 hpack
20 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
21 --prefix=/usr --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
22 runhaskell Setup build
23 runhaskell Setup register --gen-script
24 runhaskell Setup unregister --gen-script
25 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
26 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
27}
28
29package() {
30 cd "${srcdir}/mock-${pkgver}"
31
32 install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
33 install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
34
35 runhaskell Setup copy --destdir="${pkgdir}"
36 install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
37}
38

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion