twty-bin

LOW
maintainer yakumo 0 votes scanned 2026-09-17 00:27:14.276658
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-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