rofi-notion

MEDIUM
maintainer mathix 1 votes scanned 2026-09-17 00:27:14.276658
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-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 2

Report a package

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

0 / 4000
Your suggestion