jflap
maintainer robertfoster
· 27 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a JAR file from a university-hosted subdomain, which is plausibly the project's official source; the JAR is installed as-is without obfuscation or remote code execution, and the rest of the package consists of local install scripts and assets, making the realistic worst-case a compromised JAR from the project itself, not a supply-chain attack via a third-party host.
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 package downloads a JAR file from a university-hosted subdomain, which is plausibly the project's official source; the JAR is installed as-is without obfuscation or remote code execution, and the rest of the package consists of local install scripts and assets, making the realistic worst-case a compromised JAR from the project itself, not a supply-chain attack via a third-party host.
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
"http://www2.cs.duke.edu/csed/jflap/jflaptmp/july27-18/JFLAP${pkgver}.jar"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: robertfoster
2
3
pkgname=jflap
4
pkgver=7.1
5
pkgrel=3
6
pkgdesc="Software to learning the basic concepts of Formal Languages and Automata Theory"
7
arch=('any')
8
url="http://www.jflap.org/"
9
license=('CCPL')
10
noextract=("JFLAP${pkgver}.jar")
11
depends=('java-runtime')
12
source=(
13
"http://www2.cs.duke.edu/csed/jflap/jflaptmp/july27-18/JFLAP${pkgver}.jar"
14
"${pkgname}.sh"
15
"${pkgname}.desktop"
16
"${pkgname}.png"
17
)
18
19
package() {
20
cd ${srcdir}
21
22
install -Dm644 "JFLAP${pkgver}.jar" \
23
"${pkgdir}/opt/jflap/JFLAP.jar"
24
install -Dm755 "${pkgname}.sh" \
25
"${pkgdir}/usr/bin/jflap"
26
install -Dm644 "${srcdir}/${pkgname}.desktop" \
27
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
28
install -Dm644 "${srcdir}/${pkgname}.png" \
29
"${pkgdir}/usr/share/pixmaps/${pkgname}.png"
30
}
31
sha256sums=('a22c095ddc56b18163e8ebeeef165b3a04cb570f35eb46b96105166e06c99406'
32
'b307592bda3aeb08ec3c07f33d89884e37da59daa0d81a9756b47f2e2a15e43c'
33
'2fec4a0d6b3b99216c28c404f38cb1ec06198eb7c610f7a814902b6fff302a77'
34
'67b7714c0b93b614a9821f2f1bb383f72ca364d28a33b0f3a34072d8f8d6dbcc')
35
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 |