kernel-builder

maintainer Someshwar · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
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 install --target="$pkgdir/usr/lib/$pkgname" requests

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Your Name <someshwar1006@gmail.com>
2pkgname=kernel-builder
3pkgver=2.0
4pkgrel=3
5pkgdesc="Simplifies Linux kernel compilation with version selection, patching, and configuration options for Arch Linux and Ubuntu/Debian, enhancing installation efficiency and customization."
6arch=('any')
7url="https://github.com/Someshwar1006/Kernel-Builder"
8license=('MIT')
9depends=('python' 'python-requests' 'python-pip' 'python-distro') # Added python-pip as a dependency
10source=("https://github.com/Someshwar1006/Kernel-Builder/raw/main/kernel-builder-2.0.tar.gz")
11sha256sums=('738c429410d2ece61c40075a6b602af36661eb33b0ceafd4c9bbfaa4648dab39')
12
13package() {
14 cd "$srcdir/"
15
16
17 # Use pip to install requests to the package directory
18 pip install --target="$pkgdir/usr/lib/$pkgname" requests
19
20 # Install the main script and make it executable
21 install -Dm755 main_AUR.py "$pkgdir/usr/bin/kernel-builder"
22 install -Dm644 arch.py "$pkgdir/usr/lib/$pkgname/arch.py"
23 install -Dm644 ubuntu.py "$pkgdir/usr/lib/$pkgname/ubuntu.py"
24
25 # Install management scripts
26 install -Dm644 arch_man.py "${pkgdir}/usr/lib/${pkgname}/arch_man.py"
27 install -Dm644 ubuntu_man.py "${pkgdir}/usr/lib/${pkgname}/ubuntu_man.py"
28
29 # Install license and readme
30 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
32}
33

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion