bittwist

LOW
maintainer taotieren 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a Git repository from a project-owned SourceForge host, building the project's own code; the non-whitelisted host is plausibly official, and the build process is standard for AUR.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a Git repository from a project-owned SourceForge host, building the project's own code; the non-whitelisted host is plausibly official, and the build process is standard for AUR.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:19 source=("${pkgname}::git+https://git.code.sf.net/p/bittwist/git")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Daniel Wilhelm <shieldwed [at] outlook [dot] com>
2# Maintainer: taotieren <admin@taotieren.com>
3
4pkgname=bittwist
5pkgver=r5.06f5334
6pkgrel=4
7pkgdesc='Libpcap-based Ethernet packet generator'
8url='http://bittwist.sourceforge.net'
9license=('GPL-2.0-or-later')
10arch=($CARCH)
11depends=(
12 'glibc'
13 'libpcap>=1.2.1')
14makedepends=(
15 git
16 pkgconf)
17# Downloading tar.gz fails, use git instead, then tar.gz when it stabilizes.
18# source=("https://sourceforge.net/projects/${pkgname}/files/Linux/Bit-Twist%20${pkgver}/${pkgname}-linux-${pkgver}.tar.gz")
19source=("${pkgname}::git+https://git.code.sf.net/p/bittwist/git")
20# https://prdownloads.sourceforge.net/bittwist/bittwist-linux-4.7.tar.gz
21
22sha256sums=('SKIP')
23
24pkgver() {
25 cd "${srcdir}/${pkgname}"
26 (
27 set -o pipefail
28 git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
29 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
30 )
31}
32
33prepare() {
34 git -C "${srcdir}/${pkgname}" clean -dfx
35}
36
37build() {
38 cd "${srcdir}/${pkgname}"
39 sed -i -e 's|/usr/local/|/usr/|g' \
40 -e 's|-Wl,-Bstatic -lpcap -Wl,-Bdynamic|-lpcap|g' Makefile
41 make
42}
43
44package() {
45 cd "${srcdir}/${pkgname}"
46 make prefix="${pkgdir}/usr" install
47}
48# vim:set ts=2 sw=2 et:
49

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