weaver-git

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

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 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)
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:22 sudo pip install configparser --break-system-packages

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: RedVelvetCake11 <membermadde.insiddev25120@hotmail.com>
2
3pkgname=weaver-git
4pkgver=1.0
5pkgrel=1
6pkgdesc="A simple web browser written in Python, GTK4, libadwaita, and WebKitGTK"
7arch=('any')
8url="https://rvc11.is-a.dev"
9license=('GPL')
10depends=('python' 'python-gobject' 'python-pillow' 'python-requests' 'sqlite'
11 'gtk4' 'webkitgtk-6.0' 'libadwaita' 'python-gobject' 'git')
12makedepends=('python-setuptools' 'python-pip') # If you need to build from source
13source=('git+https://github.com/TwilightInc/weaver.git') # Add your source file or path
14sha256sums=('SKIP') # Replace with actual checksum for source file if necessary
15
16pkgver() {
17 grep "VERSION" $srcdir/weaver/main.py | head -1 | sed 's/"/ /g' | awk '{ print $2 }'
18}
19
20prepare() {
21 # resort to PIP installation
22 sudo pip install configparser --break-system-packages
23}
24
25package() {
26 # Create necessary directories for installation
27 mkdir -p $pkgdir/usr/lib
28 mkdir -p $pkgdir/usr/bin
29 mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
30 mkdir -p $pkgdir/usr/share/applications
31
32 # Perform the installation
33 make -C "$srcdir/weaver" prefix="/usr" install DESTDIR="$pkgdir"
34
35 # Create a symbolic link (for executables) inside the bin directory
36 # We avoid using 'ln -sf' directly on the original location since fakeroot might simulate different paths
37 ln -sf /usr/lib/weaver/main.py $pkgdir/usr/bin/weaver
38
39 # Show a message when the installation is complete
40 echo "Installation completed successfully."
41}
42
43

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