dr

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