haskell-mock
maintainer Eisfunke
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=haskell-mock
4
pkgver=3.7.1
5
pkgrel=1
6
pkgdesc="Great Haskell tool to transform text"
7
url="https://git.eisfunke.com/software/mock"
8
license=("custom:WTFPL")
9
arch=("x86_64")
10
depends=("haskell-array" "haskell-base" "haskell-binary" "haskell-bytestring" "haskell-deepseq" "haskell-ghc-prim" "haskell-hashable" "haskell-integer-gmp" "haskell-random" "haskell-text" "haskell-time")
11
makedepends=("ghc" "haskell-hpack")
12
source=("${pkgname}-${pkgver}.tar.gz::https://git.eisfunke.com/software/mock/-/archive/${pkgver}/mock-${pkgver}.tar.gz")
13
sha256sums=('ca3342dc5ae0775630913509004f949b220fbe73993026806f80f83fc7c4dc21')
14
15
16
build() {
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
29
package() {
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) | 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 |