defoldsdk-headers
The package downloads headers from Defold's official infrastructure (d.defold.com) for building; these are non-executable source files, and the host, while not whitelisted, is plausibly the project's own, making the risk low.
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 package downloads headers from Defold's official infrastructure (d.defold.com) for building; these are non-executable source files, and the host, while not whitelisted, is plausibly the project's own, making the risk low.
1 higher static finding superseded - not the current verdict (shown for transparency)
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:29
curl -O https://d.defold.com/stable/info.json -
PKGBUILD:31
curl -O "https://d.defold.com/archive/stable/${_sha1}/engine/defoldsdk_headers.zip"
PKGBUILD
2 offending line(s) highlighted# Maintainer: Asakura Mizu <asakuramizu111@gmail.com>
pkgname=defoldsdk-headers
pkgver=1.9.4.redfdbe3
pkgrel=1
epoch=
pkgdesc='Headers for Defold SDK'
arch=('x86_64')
url='https://defold.com/'
license=('custom')
groups=()
depends=()
makedepends=('curl' 'jq')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=defoldsdk-headers.install
changelog=
validpgpkeys=()
source=('LICENSE')
sha256sums=('be6e9921ba01445d200ba3dc09b5cab149a58d57a76ca98376b52af87d817a7a')
prepare() {
cd "$srcdir"
curl -O https://d.defold.com/stable/info.json
_sha1=$(cat info.json | jq -r '.sha1')
curl -O "https://d.defold.com/archive/stable/${_sha1}/engine/defoldsdk_headers.zip"
bsdtar -xf defoldsdk_headers.zip
}
pkgver() {
cd "$srcdir"
_version=$(cat info.json | jq -r '.version')
_sha1=$(cat info.json | jq -r '.sha1')
echo "${_version}.r${_sha1:0:7}"
}
package() {
cd "$srcdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mkdir -p "$pkgdir/usr/include"
cp -r defoldsdk/include "$pkgdir/usr/include/defoldsdk"
cp -r defoldsdk/sdk/include/dmsdk "$pkgdir/usr/include/defoldsdk"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |