extract-otp-secrets

MEDIUM
maintainer dylanogroote 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 Medium 2

Report a package

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

0 / 4000
Your suggestion