dr

maintainer Electrux · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD runs 'pip install --isolated --root=${pkgdir} requests devRantSimple' during the package() phase with no version pinning and no checksums for the pip-installed packages. This means arbitrary versions of 'requests' and 'devRantSimple' from PyPI are fetched and installed at build time with no integrity verification. 'devRantSimple' in particular is a small third-party package with limited scrutiny. Additionally, the main binary 'dr' is downloaded from a GitHub releases page as a pre-built binary (not source), which is itself a supply-chain concern — a compiled/executed binary from a personal project release. The combination of an unverified pre-built binary plus unpinned pip dependencies with no checksums constitutes a genuine medium-severity supply-chain risk.

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:18 PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" requests devRantSimple
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD runs 'pip install --isolated --root=${pkgdir} requests devRantSimple' during the package() phase with no version pinning and no checksums for the pip-installed packages. This means arbitrary versions of 'requests' and 'devRantSimple' from PyPI are fetched and installed at build time with no integrity verification. 'devRantSimple' in particular is a small third-party package with limited scrutiny. Additionally, the main binary 'dr' is downloaded from a GitHub releases page as a pre-built binary (not source), which is itself a supply-chain concern — a compiled/executed binary from a personal project release. The combination of an unverified pre-built binary plus unpinned pip dependencies with no checksums constitutes a genuine medium-severity supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Electrux <ElectruxRedsworth AT gmail DOT com>
2
3pkgname=dr
4pkgver=2.0
5pkgrel=1
6pkgdesc="An ed-like client for devRant written in python"
7arch=('any')
8url="https://github.com/Ewpratten/dr"
9license=('MIT')
10
11makedepends=('python-pip' 'python')
12depends=('python-pip' 'python')
13
14source=("https://github.com/Ewpratten/${pkgname}/releases/download/${pkgver}-nix/dr")
15sha512sums=('b372238a0ee3ce0a44ca733c0f9676f9f21498304825ee97409351c78f9fbd08ae44c2f354ecfbb030b5c59eebee85227f643ff6d2063622759f82bd60e6f377')
16
17package() {
18 PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" requests devRantSimple
19 install -Dm755 ./dr "${pkgdir}/usr/bin/dr"
20}
21
22

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