android-sdk-cmake

LOW
maintainer yurikoles 3 votes scanned 2026-09-17 00:27:14.276658
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
4pkgname=android-sdk-cmake
5_major=3
6_minor=22
7_micro=1
8pkgver=$_major.$_minor.$_micro
9_magic=ba34c321f92f6e6fd696c8354c262c122f56abf8
10pkgrel=1
11pkgdesc='CMake from Google Android SDK'
12arch=('x86_64')
13url="https://developer.android.com/studio/index.html"
14license=('custom:android-sdk-license')
15depends=('bash')
16makedepends=('libxml2') # xmllint
17source=("https://dl-ssl.google.com/android/repository/cmake-${pkgver}-linux.zip"
18 package.xml)
19install=android-sdk-cmake.install
20# sha1sum is from https://dl.google.com/android/repository/repository2-1.xml
21sha1sums=('fd0a48b4a758310df8c7aa51f59840ed48fe7ed8'
22 'bb86ed5351e2713b960692ccf90e72b62489ce00')
23options=('!strip')
24
25package() {
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)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