dr

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