lastf

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

The pip installs are part of building the project from its own source (Nuitka, requirements.txt); this is normal for AUR packages and not inherently dangerous.

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 pip installs are part of building the project from its own source (Nuitka, requirements.txt); this is normal for AUR packages and not inherently dangerous.

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 .venv/bin/pip install --upgrade pip
  • PKGBUILD:23 .venv/bin/pip install nuitka
  • PKGBUILD:26 .venv/bin/pip install -r requirements.txt

PKGBUILD

3 offending line(s) highlighted
1# Maintainer: kamisaki
2# Description: Better last command interface with structured output.
3
4pkgname=lastf
5pkgver=1.0.0
6pkgrel=1
7pkgdesc="Better last command interface with structured output."
8arch=('x86_64')
9license=('GPL3')
10depends=()
11makedepends=('python' 'python-virtualenv' 'clang')
12source=("https://github.com/xeyossr/lastf/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('SKIP')
14
15build() {
16 cd "$srcdir/$pkgname-$pkgver"
17
18 DIST_DIR="${pkgname}.dist"
19
20 python -m venv .venv
21
22 .venv/bin/pip install --upgrade pip
23 .venv/bin/pip install nuitka
24
25 if [[ -f requirements.txt ]]; then
26 .venv/bin/pip install -r requirements.txt
27 fi
28
29 .venv/bin/python -m nuitka \
30 --standalone \
31 --enable-plugin=pylint-warnings \
32 --lto=yes \
33 --clang \
34 --jobs=4 \
35 "${pkgname}.py"
36}
37
38package() {
39 cd "$srcdir/$pkgname-$pkgver"
40
41 INSTALL_DIR="$pkgdir/usr/lib/$pkgname"
42 LAUNCHER_PATH="$pkgdir/usr/bin/$pkgname"
43
44 install -dm755 "$INSTALL_DIR"
45 cp -r "${pkgname}.dist/"* "$INSTALL_DIR/"
46
47 install -dm755 "$(dirname "$LAUNCHER_PATH")"
48 cat > "$LAUNCHER_PATH" <<EOF
49#!/usr/bin/env bash
50exec /usr/lib/$pkgname/${pkgname}.bin "\$@"
51EOF
52 chmod +x "$LAUNCHER_PATH"
53}
54
55

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