kernel-builder
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-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |