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>
2pkgname=defoldsdk-headers
3pkgver=1.9.4.redfdbe3
4pkgrel=1
5epoch=
6pkgdesc='Headers for Defold SDK'
7arch=('x86_64')
8url='https://defold.com/'
9license=('custom')
10groups=()
11depends=()
12makedepends=('curl' 'jq')
13checkdepends=()
14optdepends=()
15provides=()
16conflicts=()
17replaces=()
18backup=()
19options=()
20install=defoldsdk-headers.install
21changelog=
22validpgpkeys=()
23source=('LICENSE')
24sha256sums=('be6e9921ba01445d200ba3dc09b5cab149a58d57a76ca98376b52af87d817a7a')
25
26prepare() {
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
36pkgver() {
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
44package() {
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion