dr
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
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
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# Maintainer: Electrux <ElectruxRedsworth AT gmail DOT com>
pkgname=dr
pkgver=2.0
pkgrel=1
pkgdesc="An ed-like client for devRant written in python"
arch=('any')
url="https://github.com/Ewpratten/dr"
license=('MIT')
makedepends=('python-pip' 'python')
depends=('python-pip' 'python')
source=("https://github.com/Ewpratten/${pkgname}/releases/download/${pkgver}-nix/dr")
sha512sums=('b372238a0ee3ce0a44ca733c0f9676f9f21498304825ee97409351c78f9fbd08ae44c2f354ecfbb030b5c59eebee85227f643ff6d2063622759f82bd60e6f377')
package() {
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" requests devRantSimple
install -Dm755 ./dr "${pkgdir}/usr/bin/dr"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |