pixelflasher

LOW
maintainer yochananmarqos 6 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The non-standard host is git.android.com, which is the official Android project source; the downloaded code is used to regenerate protobuf definitions locally and is not executed as a prebuilt binary, representing normal build behavior for the project.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The non-standard host is git.android.com, which is the official Android project source; the downloaded code is used to regenerate protobuf definitions locally and is not executed as a prebuilt binary, representing normal build behavior for the project.

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:38 'git+https://android.googlesource.com/platform/system/update_engine.git'

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
2pkgname=pixelflasher
3pkgver=9.2.1.0
4pkgrel=1
5pkgdesc="Pixel phone flashing GUI utility with features."
6arch=('any')
7url="https://github.com/badabing2005/PixelFlasher"
8license=('GPL-3.0-or-later')
9depends=(
10 'hicolor-icon-theme'
11 'python-beautifulsoup4'
12 'python-bsdiff4'
13 'python-chardet'
14 'python-cryptography'
15 'python-darkdetect'
16 'python-json5'
17 'python-lz4'
18 'python-markdown'
19 'python-packaging'
20 'python-platformdirs'
21 'python-polib'
22 'python-protobuf'
23 'python-psutil'
24 'python-pyperclip'
25 'python-requests'
26 'python-rsa'
27 'python-wxpython'
28 'xdg-utils'
29)
30makedepends=('git')
31optdepends=(
32 'android-tools: Use system platform tools'
33 'libnotify: Display system toast notifications'
34 'scrcpy: Launch Screen Copy'
35)
36options=('!strip')
37source=("PixelFlasher-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
38 'git+https://android.googlesource.com/platform/system/update_engine.git'
39 'PixelFlasher.desktop')
40sha256sums=('66471ec6ae39bd08d7b7e98805e1bae004a815ce4c824b1f327636b8d7a8816f'
41 'SKIP'
42 'dbb31a1b359bdda2d6501ccf5d80fb888508619da948c3f98d4b0cb74f907615')
43
44prepare() {
45
46 # Regenerate protos
47 protoc --proto_path=update_engine --python_out=. update_metadata.proto
48 cp -vf update_metadata_pb2.py "PixelFlasher-$pkgver/update_metadata_pb2.py"
49}
50
51build() {
52 cd "PixelFlasher-$pkgver"
53 python compile_po.py
54}
55
56package() {
57 cd "PixelFlasher-$pkgver"
58 install -Dm755 bin/* -t "$pkgdir/opt/$pkgname/bin/"
59 rm "$pkgdir/opt/$pkgname/bin"/7z{.dll,.exe}
60
61 for f in *.py *.json *.pem *.crt; do
62 install -m644 "${f}" -t "$pkgdir/opt/$pkgname/"
63 done
64
65 install -Dm644 images/*.png -t "$pkgdir/opt/$pkgname/images/"
66 install -Dm644 images/pif/*.png -t "$pkgdir/opt/$pkgname/images/pif/"
67
68 chmod +x "$pkgdir/opt/$pkgname/PixelFlasher.py"
69 install -d "$pkgdir/usr/bin"
70 ln -s "/opt/$pkgname/PixelFlasher.py" "$pkgdir/usr/bin/PixelFlasher"
71
72 for i in 64 128 256; do
73 install -Dm644 "images/icon-dark-${i}.png" \
74 "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
75 done
76
77 pushd locale
78 for lang in $(ls -d */); do
79 install -Dm644 "${lang%%/}/LC_MESSAGES/$pkgname.mo" -t \
80 "$pkgdir/opt/$pkgname/locale/${lang%%/}/LC_MESSAGES/"
81 done
82 popd
83
84 install -Dm644 "$srcdir/PixelFlasher.desktop" -t "$pkgdir/usr/share/applications/"
85
86 # Compile Python bytecode
87 python -m compileall -d / "$pkgdir/opt/$pkgname"
88 python -O -m compileall -d / "$pkgdir/opt/$pkgname"
89}
90

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