kernel-builder
The `pip install requests` at build time is sloppy packaging (requests is already declared as a dependency via `python-requests` in the depends array, making the pip install redundant and wrong), but it is not a genuine supply-chain attack. The requests package is a well-known, widely-used PyPI package with no history of compromise, and the sha256sum on the source tarball provides integrity for the main code. The real issue is poor packaging practice (bundling a system package via pip into the package directory instead of using the declared dependency), not a security threat. The source is pulled from a personal GitHub repo, which is typical for AUR packages. No obfuscation, no unofficial binary host, no credential exfiltration patterns are present.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-4.6-sonnet-20260217) reviewed the full PKGBUILD and judged it LOW (confidence 80%): The `pip install requests` at build time is sloppy packaging (requests is already declared as a dependency via `python-requests` in the depends array, making the pip install redundant and wrong), but it is not a genuine supply-chain attack. The requests package is a well-known, widely-used PyPI package with no history of compromise, and the sha256sum on the source tarball provides integrity for the main code. The real issue is poor packaging practice (bundling a system package via pip into the package directory instead of using the declared dependency), not a security threat. The source is pulled from a personal GitHub repo, which is typical for AUR packages. No obfuscation, no unofficial binary host, no credential exfiltration patterns are present.
1 higher static finding superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:18
pip install --target="$pkgdir/usr/lib/$pkgname" requests
PKGBUILD
1 offending line(s) highlighted# Maintainer: Your Name <someshwar1006@gmail.com>
pkgname=kernel-builder
pkgver=2.0
pkgrel=3
pkgdesc="Simplifies Linux kernel compilation with version selection, patching, and configuration options for Arch Linux and Ubuntu/Debian, enhancing installation efficiency and customization."
arch=('any')
url="https://github.com/Someshwar1006/Kernel-Builder"
license=('MIT')
depends=('python' 'python-requests' 'python-pip' 'python-distro') # Added python-pip as a dependency
source=("https://github.com/Someshwar1006/Kernel-Builder/raw/main/kernel-builder-2.0.tar.gz")
sha256sums=('738c429410d2ece61c40075a6b602af36661eb33b0ceafd4c9bbfaa4648dab39')
package() {
cd "$srcdir/"
# Use pip to install requests to the package directory
pip install --target="$pkgdir/usr/lib/$pkgname" requests
# Install the main script and make it executable
install -Dm755 main_AUR.py "$pkgdir/usr/bin/kernel-builder"
install -Dm644 arch.py "$pkgdir/usr/lib/$pkgname/arch.py"
install -Dm644 ubuntu.py "$pkgdir/usr/lib/$pkgname/ubuntu.py"
# Install management scripts
install -Dm644 arch_man.py "${pkgdir}/usr/lib/${pkgname}/arch_man.py"
install -Dm644 ubuntu_man.py "${pkgdir}/usr/lib/${pkgname}/ubuntu_man.py"
# Install license and readme
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |