bittwist
maintainer taotieren
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgname=bittwist
5
pkgver=r5.06f5334
6
pkgrel=4
7
pkgdesc='Libpcap-based Ethernet packet generator'
8
url='http://bittwist.sourceforge.net'
9
license=('GPL-2.0-or-later')
10
arch=($CARCH)
11
depends=(
12
'glibc'
13
'libpcap>=1.2.1')
14
makedepends=(
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")
19
source=("${pkgname}::git+https://git.code.sf.net/p/bittwist/git")
20
# https://prdownloads.sourceforge.net/bittwist/bittwist-linux-4.7.tar.gz
21
22
sha256sums=('SKIP')
23
24
pkgver() {
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
33
prepare() {
34
git -C "${srcdir}/${pkgname}" clean -dfx
35
}
36
37
build() {
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
44
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |