kernel-builder

LOW
maintainer Someshwar 2 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion