twty-bin

LOW
maintainer yakumo 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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