twty-bin

maintainer yakumo · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The external download is a LICENSE file from the author's own domain, not executable code, and is installed as documentation; the actual software is built from a verifiable GitHub release source.

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 external download is a LICENSE file from the author's own domain, not executable code, and is installed as documentation; the actual software is built from a verifiable GitHub release source.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:43 wget -O $srcdir/LICENSE https://mattn.mit-license.org/2017

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Yakumo Saki <yakumo at ziomatrix dot org>
2pkgname=twty-bin
3pkgver=0.0.13
4pkgrel=5
5epoch=
6pkgdesc="Command-line twitter client"
7arch=("x86_64")
8url="https://github.com/mattn/twty"
9license=('MIT')
10groups=()
11depends=()
12makedepends=(wget)
13checkdepends=()
14optdepends=()
15provides=()
16conflicts=()
17replaces=()
18backup=()
19options=()
20install=
21changelog=
22source=("https://github.com/mattn/twty/releases/download/v${pkgver}/twty_v${pkgver}_linux_amd64.tar.gz")
23noextract=("LICENSE")
24md5sums=("c28d7e1a55950f6d1360eb362e13efed")
25validpgpkeys=()
26# TO VERSION UP
27# 1. Edit PKGBUILD(this file) pkgver and md5sums
28# md5sum can calculate by `md5sum target-filename.tar.gz`
29# beware md5sum of LICENSE is sometimes change.
30# 2. Testing build using `makepkg -s`
31# 3. Repeat edit and test to test passed.
32# 4. Create .SRCINFO by `makepkg --printsrcinfo > .SRCINFO`
33# 5. git commit and git push
34package() {
35 _real_pkgname=twty
36 cd $srcdir/${_real_pkgname}_v${pkgver}_linux_amd64
37 mkdir -p $pkgdir/usr/bin
38 cp twty $pkgdir/usr/bin
39 chmod +x $pkgdir/usr/bin/twty
40
41 # LICENSE file is changed everytime you download it. (to hide email address)
42 # so, we dont check md5 of LICENSE
43 wget -O $srcdir/LICENSE https://mattn.mit-license.org/2017
44 install -D -m 644 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
45}
46

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