greenfoot
maintainer nomisge
· 15 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the project's official domain, which is a normal source for AUR packages; the host is not on the whitelist but is plausibly legitimate, and the checksums are provided and verifiable, reducing risk to low.
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 prebuilt .deb from the project's official domain, which is a normal source for AUR packages; the host is not on the whitelist but is plausibly legitimate, and the checksums are provided and verifiable, reducing risk to low.
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:16
source=("https://www.${pkgname}.org/download/files/Greenfoot-linux-x64-${pkgver//.}.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: nomisge <nomisge @ live . de>
2
# Contributor: chet <chetgurevitch @ protonmail . com>
3
# Contributor: teacher4711 <inverness1 @ gmx . de>
4
# Contributor: fheday <fheday @ gmail . com>
5
# Contributor: seishinryohosha <seishinryohosha @ gmail . com>
6
# Contributor: even <kessiapinheiro @ gmail . com>
7
8
pkgname=greenfoot
9
pkgver=3.9.0
10
pkgrel=1
11
pkgdesc="Educational software designed to make learning programming easy and fun."
12
arch=('any')
13
url="https://www.${pkgname}.org"
14
license=('GPL2' 'Apache' 'BSD' 'CPL' 'LGPL2' 'LGPL2.1' 'MIT' 'custom')
15
depends=('archlinux-java-run' 'java-runtime=21' 'java-environment=21' 'java-openjfx=21')
16
source=("https://www.${pkgname}.org/download/files/Greenfoot-linux-x64-${pkgver//.}.deb"
17
"${pkgname}"
18
"${pkgname}.desktop"
19
"${pkgname}.xml")
20
sha256sums=('406f0241b1fc013aaed44d2e92d8c80780c9fa2787a1f130c17fbc84849d5f49'
21
'fbc3ce24cceeadd5ef910582d1b4ea9cc4952187fd15aff7be66e22ac0407dd6'
22
'b980d0084fbafbb3ea335bb3840d858898c692822f1c671969a91982e86c1b4f'
23
'f1ea33e8289dfe31b9a0c4d88482a5ca5f75d663ba82ca986519f290e44789e4')
24
25
prepare() {
26
cd "${srcdir}"
27
echo "Extracting archive ..."
28
tar -xf data.tar.xz --exclude=usr/share/${pkgname}/jdk
29
cd "usr/share/${pkgname}"
30
find -type f -name "javafx-*" -delete
31
}
32
33
package() {
34
cd "${srcdir}"
35
36
mkdir -p "${pkgdir}/opt/${pkgname}"
37
mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
38
39
cp -r "usr/share/${pkgname}" "${pkgdir}/opt"
40
# cp -r usr/share/doc/Greenfoot/API "${pkgdir}/usr/share/doc/${pkgname}"
41
42
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
43
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
44
install -Dm644 "${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
45
install -Dm644 "usr/share/icons/hicolor/48x48/apps/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png"
46
install -Dm644 "usr/share/icons/hicolor/256x256/apps/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
47
install -Dm644 usr/share/doc/Greenfoot/README.txt "${pkgdir}/usr/share/doc/${pkgname}/README"
48
install -Dm644 usr/share/doc/Greenfoot/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49
install -Dm644 usr/share/doc/Greenfoot/THIRDPARTYLICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/THIRDPARTYLICENSE"
50
}
51
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 |