defoldsdk-headers

LOW
maintainer mizuk1 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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