dr
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-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 |