rofi-notion

MEDIUM
maintainer mathix 1 votes scanned 2026-11-01 00:21:48.120785
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-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