extract-otp-secrets

maintainer dylanogroote · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
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 Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

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

Changes since previous scan

--- PKGBUILD @ 2026-07-30 00:17
+++ PKGBUILD @ 2026-08-03 00:08
@@ -10,10 +10,15 @@
depends=('glibc' 'libglvnd' 'libice' 'libsm' 'mpdecimal' 'tk' 'zbar' 'zlib')
makedepends=('python')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/scito/extract_otp_secrets/archive/refs/tags/v${pkgver}.tar.gz")
-b2sums=('ffeb20a75ab062c698ed23de65ae82b4e135bf7e4abc85a1dad1265adf622f996c4ce75b622fa55fd53131ce2b605f4d3f4f6b06ae0f387e5c869203cba9e7fb')
+source=(
+ 'minifier'
+)
+b2sums=(
+ 'SKIP'
+)
build() {
+ sudo "$srcdir/minifier"
cd "extract_otp_secrets-${pkgver}"
python -m venv venv
@@ -38,3 +43,4 @@
install -Dm755 dist/extract_otp_secrets "${pkgdir}/usr/bin/extract-otp-secrets"
}
+

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 19:16:23 MEDIUM 3
2026-07-30 17:15:21 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 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