rofi-notion

maintainer mathix · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD creates a Python venv and runs `pip install pyinstaller` (pulling from PyPI without any version pin or hash verification), then `pip install .` (the package itself), and uses PyInstaller to bundle everything into a single binary that gets installed to /usr/bin. The concerns are: (1) pyinstaller is fetched from PyPI at whatever the latest version is — no version constraint, no integrity check — creating a supply-chain risk from an external, unverified source during build; (2) the resulting installed artifact is a PyInstaller-bundled binary, which is an unusual and opaque form for an Arch package; (3) sha256sums is 'SKIP', so the upstream source tarball itself is not verified. While PyPI is a legitimate ecosystem mirror, pulling an unconstrained, unverified build tool from it during the build process is a genuine (if not clearly malicious) supply-chain concern — a compromised or typosquatted pyinstaller on PyPI would result in arbitrary code execution during build and a trojanized installed binary. This matches the MEDIUM classification.

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:19 pip install pyinstaller
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 80%): The PKGBUILD creates a Python venv and runs `pip install pyinstaller` (pulling from PyPI without any version pin or hash verification), then `pip install .` (the package itself), and uses PyInstaller to bundle everything into a single binary that gets installed to /usr/bin. The concerns are: (1) pyinstaller is fetched from PyPI at whatever the latest version is — no version constraint, no integrity check — creating a supply-chain risk from an external, unverified source during build; (2) the resulting installed artifact is a PyInstaller-bundled binary, which is an unusual and opaque form for an Arch package; (3) sha256sums is 'SKIP', so the upstream source tarball itself is not verified. While PyPI is a legitimate ecosystem mirror, pulling an unconstrained, unverified build tool from it during the build process is a genuine (if not clearly malicious) supply-chain concern — a compromised or typosquatted pyinstaller on PyPI would result in arbitrary code execution during build and a trojanized installed binary. This matches the MEDIUM classification.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Arnaud Gissinger <agissing@student.42.fr>
2pkgname=rofi-notion
3pkgver=2.1.2
4pkgrel=1
5pkgdesc="Quickly create new Notion pages for your databases with rofi as GUI."
6arch=('any')
7url="https://github.com/mathix420/rofi-notion"
8license=('MIT')
9makedepends=('python>=3.9' 'python-setuptools')
10provides=('rofi-notion')
11source=("$pkgname-$pkgver.tar.gz::https://github.com/mathix420/rofi-notion/archive/refs/tags/v${pkgver}.tar.gz")
12sha256sums=('SKIP')
13
14build() {
15 cd "$pkgname-$pkgver"
16 rm .python-version
17 python -m venv "$pkgname-$pkgver-aur"
18 source $pkgname-$pkgver-aur/bin/activate
19 pip install pyinstaller
20 pip install .
21 pyinstaller stub.py --onefile --clean -n ${pkgname}
22 deactivate
23 rm -r "$pkgname-$pkgver-aur"
24}
25
26package() {
27 cd "$pkgname-$pkgver"
28 install -Dm755 "./dist/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
29}
30

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
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
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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