android-sdk-cmake
maintainer yurikoles
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a CMake binary from Google's official Android SDK repository, which is a legitimate and expected source for this package; the non-whitelisted host is Google's own dl-ssl domain, commonly used for Android downloads, and the checksum is verified, so the risk is low despite the static analyzer flag.
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 source is a CMake binary from Google's official Android SDK repository, which is a legitimate and expected source for this package; the non-whitelisted host is Google's own dl-ssl domain, commonly used for Android downloads, and the checksum is verified, so the risk is low despite the static analyzer flag.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:17
source=("https://dl-ssl.google.com/android/repository/cmake-${pkgver}-linux.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
2
# Contributor: Chih-Hsuan Yen <yan12125@gmail.com>
3
4
pkgname=android-sdk-cmake
5
_major=3
6
_minor=22
7
_micro=1
8
pkgver=$_major.$_minor.$_micro
9
_magic=ba34c321f92f6e6fd696c8354c262c122f56abf8
10
pkgrel=1
11
pkgdesc='CMake from Google Android SDK'
12
arch=('x86_64')
13
url="https://developer.android.com/studio/index.html"
14
license=('custom:android-sdk-license')
15
depends=('bash')
16
makedepends=('libxml2') # xmllint
17
source=("https://dl-ssl.google.com/android/repository/cmake-${pkgver}-linux.zip"
18
package.xml)
19
install=android-sdk-cmake.install
20
# sha1sum is from https://dl.google.com/android/repository/repository2-1.xml
21
sha1sums=('fd0a48b4a758310df8c7aa51f59840ed48fe7ed8'
22
'bb86ed5351e2713b960692ccf90e72b62489ce00')
23
options=('!strip')
24
25
package() {
26
install -Ddm755 "${pkgdir}/opt/android-sdk/cmake/${pkgver}"
27
cp -dr --no-preserve=ownership {bin,doc,share,source.properties} \
28
"${pkgdir}/opt/android-sdk/cmake/${pkgver}"
29
30
# This is required for sdkmanager to recognize this package
31
install -Dm644 package.xml "${pkgdir}/opt/android-sdk/cmake/${pkgver}/package.xml"
32
install -Ddm755 "${pkgdir}/usr/share/licenses/${pkgname}"
33
xmllint --xpath '//*[local-name()="repository"]/license/text()' package.xml \
34
> "${pkgdir}/usr/share/licenses/${pkgname}/android-sdk-license"
35
}
36
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 |