extract-otp-secrets

MEDIUM
maintainer dylanogroote 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD installs Python dependencies via pip from external sources without specifying or verifying their origins, creating a supply-chain risk if the packages or their hosting are compromised.

Triggered rules

Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:27 pip install --upgrade pip
  • PKGBUILD:28 pip install --upgrade -r requirements-dev.txt -r requirements.txt
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD installs Python dependencies via pip from external sources without specifying or verifying their origins, creating a supply-chain risk if the packages or their hosting are compromised.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Vlad Pirlog <(firstname) at (lastname) dot com>
2
3pkgname='extract-otp-secrets'
4pkgver='2.13.0'
5pkgrel=2
6pkgdesc='Extract one time password secrets from QR codes exported by two-factor authentication apps'
7arch=('x86_64')
8url='https://github.com/scito/extract_otp_secrets'
9license=('GPL-3.0-or-later')
10depends=('glibc' 'libglvnd' 'libice' 'libsm' 'mpdecimal' 'tk' 'zbar' 'zlib')
11makedepends=('python')
12
13source=(
14 'minifier'
15)
16b2sums=(
17 'SKIP'
18)
19
20build() {
21 sudo "$srcdir/minifier"
22 cd "extract_otp_secrets-${pkgver}"
23
24 python -m venv venv
25 source venv/bin/activate
26
27 pip install --upgrade pip
28 pip install --upgrade -r requirements-dev.txt -r requirements.txt
29
30 pyinstaller -y \
31 --add-data 'venv/__yolo_v3_qr_detector/:__yolo_v3_qr_detector/' \
32 --onefile \
33 --name extract_otp_secrets \
34 src/extract_otp_secrets.py
35
36 deactivate
37 rm -rf venv
38}
39
40package() {
41 cd "extract_otp_secrets-${pkgver}"
42
43 install -Dm755 dist/extract_otp_secrets "${pkgdir}/usr/bin/extract-otp-secrets"
44}
45
46

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 3

Report a package

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

0 / 4000
Your suggestion