weaver-git
The PKGBUILD is sloppy but not malicious. The `sudo pip install configparser` in prepare() is bad practice (sudo inside fakeroot is a no-op/pointless, and configparser is Python stdlib), but it installs a well-known package from PyPI rather than an attacker-controlled source. The source is fetched from a legitimate GitHub repository (TwilightInc/weaver) with no host substitution. There is no obfuscated payload, no exfiltration, and no RCE. The main issues are poor packaging practices: using sudo inside fakeroot, installing a redundant stdlib package via pip, missing checksums (SKIP), and potential build failure if the Makefile doesn't exist. These are quality/sloppy issues, not security threats.
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 85%): The PKGBUILD is sloppy but not malicious. The `sudo pip install configparser` in prepare() is bad practice (sudo inside fakeroot is a no-op/pointless, and configparser is Python stdlib), but it installs a well-known package from PyPI rather than an attacker-controlled source. The source is fetched from a legitimate GitHub repository (TwilightInc/weaver) with no host substitution. There is no obfuscated payload, no exfiltration, and no RCE. The main issues are poor packaging practices: using sudo inside fakeroot, installing a redundant stdlib package via pip, missing checksums (SKIP), and potential build failure if the Makefile doesn't exist. These are quality/sloppy issues, not security threats.
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:22
sudo pip install configparser --break-system-packages
PKGBUILD
1 offending line(s) highlighted# Maintainer: RedVelvetCake11 <membermadde.insiddev25120@hotmail.com>
pkgname=weaver-git
pkgver=1.0
pkgrel=1
pkgdesc="A simple web browser written in Python, GTK4, libadwaita, and WebKitGTK"
arch=('any')
url="https://rvc11.is-a.dev"
license=('GPL')
depends=('python' 'python-gobject' 'python-pillow' 'python-requests' 'sqlite'
'gtk4' 'webkitgtk-6.0' 'libadwaita' 'python-gobject' 'git')
makedepends=('python-setuptools' 'python-pip') # If you need to build from source
source=('git+https://github.com/TwilightInc/weaver.git') # Add your source file or path
sha256sums=('SKIP') # Replace with actual checksum for source file if necessary
pkgver() {
grep "VERSION" $srcdir/weaver/main.py | head -1 | sed 's/"/ /g' | awk '{ print $2 }'
}
prepare() {
# resort to PIP installation
sudo pip install configparser --break-system-packages
}
package() {
# Create necessary directories for installation
mkdir -p $pkgdir/usr/lib
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
mkdir -p $pkgdir/usr/share/applications
# Perform the installation
make -C "$srcdir/weaver" prefix="/usr" install DESTDIR="$pkgdir"
# Create a symbolic link (for executables) inside the bin directory
# We avoid using 'ln -sf' directly on the original location since fakeroot might simulate different paths
ln -sf /usr/lib/weaver/main.py $pkgdir/usr/bin/weaver
# Show a message when the installation is complete
echo "Installation completed successfully."
}
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 |