lastf

maintainer xeyossr · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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