defoldsdk-headers
maintainer AsakuraMizu
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
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 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)
MEDIUM
External download from an untrusted host, not in source=()
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
1
# Maintainer: Asakura Mizu <asakuramizu111@gmail.com>
2
pkgname=defoldsdk-headers
3
pkgver=1.9.4.redfdbe3
4
pkgrel=1
5
epoch=
6
pkgdesc='Headers for Defold SDK'
7
arch=('x86_64')
8
url='https://defold.com/'
9
license=('custom')
10
groups=()
11
depends=()
12
makedepends=('curl' 'jq')
13
checkdepends=()
14
optdepends=()
15
provides=()
16
conflicts=()
17
replaces=()
18
backup=()
19
options=()
20
install=defoldsdk-headers.install
21
changelog=
22
validpgpkeys=()
23
source=('LICENSE')
24
sha256sums=('be6e9921ba01445d200ba3dc09b5cab149a58d57a76ca98376b52af87d817a7a')
25
26
prepare() {
27
cd "$srcdir"
28
29
curl -O https://d.defold.com/stable/info.json
30
_sha1=$(cat info.json | jq -r '.sha1')
31
curl -O "https://d.defold.com/archive/stable/${_sha1}/engine/defoldsdk_headers.zip"
32
33
bsdtar -xf defoldsdk_headers.zip
34
}
35
36
pkgver() {
37
cd "$srcdir"
38
39
_version=$(cat info.json | jq -r '.version')
40
_sha1=$(cat info.json | jq -r '.sha1')
41
echo "${_version}.r${_sha1:0:7}"
42
}
43
44
package() {
45
cd "$srcdir"
46
47
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48
mkdir -p "$pkgdir/usr/include"
49
50
cp -r defoldsdk/include "$pkgdir/usr/include/defoldsdk"
51
cp -r defoldsdk/sdk/include/dmsdk "$pkgdir/usr/include/defoldsdk"
52
}
53
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 |