gdevelop

maintainer arthuro555 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The flagged npm install and npx commands are used to build the project from its own source code, which is checked out from the official GitHub repository; this is standard and safe AUR packaging practice.

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 90%): The flagged npm install and npx commands are used to build the project from its own source code, which is checked out from the official GitHub repository; this is standard and safe AUR packaging practice.

2 higher static findings superseded - not the current verdict (shown for transparency)
MEDIUM npm/yarn/pnpm install of an undeclared external package npm_install_external

Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.

  • PKGBUILD:50 npm install --no-audit --no-fund --prefer-offline --include dev
  • PKGBUILD:55 npm install --no-audit --no-fund --prefer-offline --include dev
  • PKGBUILD:64 npm install --no-audit --no-fund --prefer-offline --include dev
MEDIUM npx/bunx/deno executes a remote package remote_code_tool

`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.

  • PKGBUILD:56 NODE_ENV='development' npx -y update-browserslist-db@latest

PKGBUILD

4 offending line(s) highlighted
1# Maintainer: Arthur "arthuro555" Pacaud <arthur.pacaud@hotmail.fr>
2# Contributor: Popolon <popolon@popolon.org>
3# Contributor: Paulequilibrio
4# Contributor: JKA Network <contacto@jkanetwork.com>
5# Contributor: Todor Imreorov for github <blurymind@gmail.com>
6
7pkgname=gdevelop
8pkgver=5.6.273
9pkgrel=1
10pkgdesc="A full-featured, open source game engine, allowing to create HTML5 with powerful visual scripting."
11arch=(x86_64 armv7l arm64)
12url=https://gdevelop.io
13license=('MIT')
14provides=("gdevelop=${pkgver}")
15conflicts=('gdevelop-bin' 'gdevelop-git')
16makedepends=('npm' 'git' 'clang')
17_electron='electron41'
18_emsdk='3.1.21'
19depends=("$_electron")
20source=("gdevelop::git+https://github.com/4ian/GDevelop.git#tag=v${pkgver}"
21 'emsdk::git+https://github.com/emscripten-core/emsdk.git'
22 'gdevelop.desktop')
23sha256sums=('SKIP'
24 'SKIP'
25 '64fb52411e4fbc00237c589424d520d26e42199ed9a7b7e64d9dd375c6904e5c')
26
27prepare() {
28 "$srcdir/emsdk/emsdk" install $_emsdk
29 "$srcdir/emsdk/emsdk" activate $_emsdk
30}
31
32build() {
33 EMSDK_QUIET=1 source "$srcdir/emsdk/emsdk_env.sh"
34
35 # Set basic build variables
36 export NODE_ENV='production' # Enables optimisations in JS build tools
37 export NODE_OPTIONS="--max-old-space-size=8192" # Allows NodeJS VM to allocate enough RAM to build the IDE
38 export CC=$(which clang)
39 export CXX=$(which clang++)
40 # Arch's clang package contains a patch that changes clang's default flags: https://wiki.archlinux.org/title/Clang#Stack_protector
41 # We disable this change, since this breaks emscripten.
42 export CXXFLAGS="-fno-stack-protector -w"
43 export CFLAGS="-fno-stack-protector -w"
44 # Arch sets default linker flags which are incompatible with wasm-ld.
45 export LDFLAGS=""
46 # Try to build despite the CMake file being written for a deprecated CMake version.
47 export CMAKE_POLICY_VERSION_MINIMUM="3.5"
48
49 cd "$srcdir/gdevelop/GDevelop.js"
50 npm install --no-audit --no-fund --prefer-offline --include dev
51 npm run build
52
53 cd "$srcdir/gdevelop/newIDE/app"
54
55 npm install --no-audit --no-fund --prefer-offline --include dev
56 NODE_ENV='development' npx -y update-browserslist-db@latest
57
58 cd "$srcdir/gdevelop/newIDE/electron-app"
59
60 local electronVer
61 electronVer="$(</usr/lib/$_electron/version)"
62 npm pkg set dependencies.electron=$electronVer
63 npm pkg set devDependencies.electron=$electronVer
64 npm install --no-audit --no-fund --prefer-offline --include dev
65 npm run build -- --linux dir --"${!CARCH}" -c.electronDist="/usr/lib/$_electron" -c.electronVersion="$electronVer"
66}
67
68package() {
69 mkdir -p "${pkgdir}/usr/share/gdevelop/"
70 cp -a --no-preserve=ownership "$srcdir/gdevelop/newIDE/electron-app/dist/linux-unpacked/resources/." "${pkgdir}/usr/share/gdevelop/"
71 chmod -R 755 "${pkgdir}/usr/share/gdevelop/"
72
73 mkdir -p "${pkgdir}/usr/bin/"
74 cat >>"${pkgdir}/usr/bin/gdevelop" <<EOD
75#! /usr/bin/sh
76ELECTRON_IS_DEV=0 exec $_electron /usr/share/gdevelop/app.asar "\$@"
77EOD
78 chmod 755 "${pkgdir}/usr/bin/gdevelop"
79
80 install -Dm644 "$srcdir/gdevelop.desktop" "${pkgdir}/usr/share/applications/gdevelop.desktop"
81 install -Dm644 "$srcdir/gdevelop/newIDE/app/public/android-chrome-192x192.png" "$pkgdir/usr/share/pixmaps/gdevelop.png"
82}
83

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion