greenfoot

LOW
maintainer nomisge 15 votes scanned 2026-09-17 00:27:14.276658
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
8pkgname=greenfoot
9pkgver=3.9.0
10pkgrel=1
11pkgdesc="Educational software designed to make learning programming easy and fun."
12arch=('any')
13url="https://www.${pkgname}.org"
14license=('GPL2' 'Apache' 'BSD' 'CPL' 'LGPL2' 'LGPL2.1' 'MIT' 'custom')
15depends=('archlinux-java-run' 'java-runtime=21' 'java-environment=21' 'java-openjfx=21')
16source=("https://www.${pkgname}.org/download/files/Greenfoot-linux-x64-${pkgver//.}.deb"
17 "${pkgname}"
18 "${pkgname}.desktop"
19 "${pkgname}.xml")
20sha256sums=('406f0241b1fc013aaed44d2e92d8c80780c9fa2787a1f130c17fbc84849d5f49'
21 'fbc3ce24cceeadd5ef910582d1b4ea9cc4952187fd15aff7be66e22ac0407dd6'
22 'b980d0084fbafbb3ea335bb3840d858898c692822f1c671969a91982e86c1b4f'
23 'f1ea33e8289dfe31b9a0c4d88482a5ca5f75d663ba82ca986519f290e44789e4')
24
25prepare() {
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
33package() {
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)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