gdevelop-git
Triggered rules
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 npm install and npx commands are used to build the project from its own source, which is cloned from the official GitHub repository; the dependencies are declared in the project's package.json, not arbitrary external packages, and no untrusted remote code is executed.
2 higher static findings superseded - not the current verdict (shown for transparency)
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:53
npm install --no-audit --no-fund --prefer-offline --include dev -
PKGBUILD:58
npm install --no-audit --no-fund --prefer-offline --include dev -
PKGBUILD:67
npm install --no-audit --no-fund --prefer-offline --include dev
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:59
NODE_ENV='development' npx -y update-browserslist-db@latest
PKGBUILD
4 offending line(s) highlighted# Maintainer: Arthur Pacaud <arthur.pacaud@hotmail.fr>
# Contributor: JKA Network <contacto@jkanetwork.com>
# Contributor: Todor Imreorov for github <blurymind@gmail.com>
pkgname=gdevelop-git
pkgver=v5.6.273.r11.g04119d2
pkgrel=1
pkgdesc="A full-featured, open source game engine, allowing to create HTML5 with powerful visual scripting."
arch=(x86_64 armv7l arm64)
url=https://gdevelop.io
license=('MIT')
provides=("gdevelop=${pkgver}")
conflicts=('gdevelop-bin' 'gdevelop')
makedepends=('npm' 'git' 'clang')
_electron='electron41'
_emsdk='3.1.21'
depends=("$_electron")
source=("gdevelop::git+https://github.com/4ian/GDevelop.git"
'emsdk::git+https://github.com/emscripten-core/emsdk.git'
'gdevelop.desktop')
sha256sums=('SKIP'
'SKIP'
'64fb52411e4fbc00237c589424d520d26e42199ed9a7b7e64d9dd375c6904e5c')
pkgver() {
cd gdevelop
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
"$srcdir/emsdk/emsdk" install $_emsdk
"$srcdir/emsdk/emsdk" activate $_emsdk
}
build() {
EMSDK_QUIET=1 source "$srcdir/emsdk/emsdk_env.sh"
# Set basic build variables
export NODE_ENV='production' # Enables optimisations in JS build tools
export NODE_OPTIONS="--max-old-space-size=8192" # Allows NodeJS VM to allocate enough RAM to build the IDE
export CC=$(which clang)
export CXX=$(which clang++)
# Arch's clang package contains a patch that changes clang's default flags: https://wiki.archlinux.org/title/Clang#Stack_protector
# We disable this change, since this breaks emscripten.
export CXXFLAGS="-fno-stack-protector -w"
export CFLAGS="-fno-stack-protector -w"
# Arch sets default linker flags which are incompatible with wasm-ld.
export LDFLAGS=""
# Try to build despite the CMake file being written for a deprecated CMake version.
export CMAKE_POLICY_VERSION_MINIMUM="3.5"
cd "$srcdir/gdevelop/GDevelop.js"
npm install --no-audit --no-fund --prefer-offline --include dev
npm run build
cd "$srcdir/gdevelop/newIDE/app"
npm install --no-audit --no-fund --prefer-offline --include dev
NODE_ENV='development' npx -y update-browserslist-db@latest
cd "$srcdir/gdevelop/newIDE/electron-app"
local electronVer
electronVer="$(</usr/lib/$_electron/version)"
npm pkg set dependencies.electron=$electronVer
npm pkg set devDependencies.electron=$electronVer
npm install --no-audit --no-fund --prefer-offline --include dev
npm run build -- --linux dir --"${!CARCH}" -c.electronDist="/usr/lib/$_electron" -c.electronVersion="$electronVer"
}
package() {
mkdir -p "${pkgdir}/usr/share/gdevelop/"
cp -a --no-preserve=ownership "$srcdir/gdevelop/newIDE/electron-app/dist/linux-unpacked/resources/." "${pkgdir}/usr/share/gdevelop/"
chmod -R 755 "${pkgdir}/usr/share/gdevelop/"
mkdir -p "${pkgdir}/usr/bin/"
cat >>"${pkgdir}/usr/bin/gdevelop" <<EOD
#! /usr/bin/sh
ELECTRON_IS_DEV=0 exec $_electron /usr/share/gdevelop/app.asar "\$@"
EOD
chmod 755 "${pkgdir}/usr/bin/gdevelop"
install -Dm644 "$srcdir/gdevelop.desktop" "${pkgdir}/usr/share/applications/gdevelop.desktop"
install -Dm644 "$srcdir/gdevelop/newIDE/app/public/android-chrome-192x192.png" "$pkgdir/usr/share/pixmaps/gdevelop.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 | 4 |
| 2026-07-22 00:29:32 | LOW | 4 |
| 2026-07-21 00:24:15 | LOW | 4 |
| 2026-07-20 00:19:49 | LOW | 4 |
| 2026-07-19 00:17:08 | LOW | 4 |
| 2026-07-18 00:14:48 | LOW | 4 |
| 2026-07-17 00:06:16 | LOW | 4 |
| 2026-07-16 00:05:41 | LOW | 4 |
| 2026-07-15 00:09:25 | LOW | 4 |