bs

LOW
maintainer annguyenfoss 12 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a tarball from the project maintainer's personal domain, which is normal for this project; it builds from source and installs only the official code, posing no active threat.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project maintainer's personal domain, which is normal for this project; it builds from source and installs only the official code, posing no active threat.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:17 source=("http://www.catb.org/~esr/bs/bs-$pkgver.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: An Nguyen (stk) <an@linux.com>
2# Contrinutor: twa022 <twa022 at gmail dot com>
3# Contrinutor: Tasos Latsas <tlatsas@gmx.com>
4# Contributor: Patrick Palka <patrick@parcs.ath.cx>
5# Contributor: damir <damir@archlinux.org>
6# Development: http://closure.ath.cx/aur-dev
7
8pkgname=bs
9pkgver=2.15
10pkgrel=1
11pkgdesc="The classic game of Battleships against the computer. Ncurses."
12arch=('i686' 'x86_64')
13url="http://www.catb.org/~esr/bs/"
14license=('BSD-2-Clause')
15depends=('glibc' 'ncurses' 'hicolor-icon-theme')
16makedepends=('asciidoctor')
17source=("http://www.catb.org/~esr/bs/bs-$pkgver.tar.gz"
18 'Makefile_fix.patch'
19 'bs_fix.patch')
20sha256sums=('007d8cf2740c7a923fbc0db8a4f69d356812e52c9a654e495e6fb748ad2cb898'
21 'c365f25c70353b0b00a2cf078f9ff76ca144141733505039d6a9025ff0b611cb'
22 '41eb069b252b151c6994a78df29bbe71e5a3372cf9988a0671c56a037d022bdc')
23
24prepare() {
25 cd "${pkgname}-${pkgver}"
26 patch -Np1 -i ../Makefile_fix.patch
27 patch -Np1 -i ../bs_fix.patch
28}
29
30build() {
31 cd "${pkgname}-${pkgver}"
32 make bs bs.6
33}
34
35package() {
36 cd "${pkgname}-${pkgver}"
37 make PREFIX=/usr DESTDIR="$pkgdir" install
38 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39}
40

Changes since previous scan

--- PKGBUILD @ 2026-10-27 00:23
+++ PKGBUILD @ 2026-11-01 00:21
@@ -6,30 +6,35 @@
# Development: http://closure.ath.cx/aur-dev
pkgname=bs
-pkgver=2.11
-pkgrel=2
+pkgver=2.15
+pkgrel=1
pkgdesc="The classic game of Battleships against the computer. Ncurses."
arch=('i686' 'x86_64')
-url="https://www.catb.org/~esr/bs/"
-license=('GPL2')
-depends=('ncurses' 'hicolor-icon-theme')
+url="http://www.catb.org/~esr/bs/"
+license=('BSD-2-Clause')
+depends=('glibc' 'ncurses' 'hicolor-icon-theme')
+makedepends=('asciidoctor')
source=("http://www.catb.org/~esr/bs/bs-$pkgver.tar.gz"
- 'Makefile_fix.patch')
-sha256sums=('a53e22a94ed590a3e6720816f8b5750134fa004e7e738e0b123b77ac9668b026'
- '6e6d927f7ed8282674d6d031db68ac684e0b11b7c2c6461689f93c8c123f4a97')
+ 'Makefile_fix.patch'
+ 'bs_fix.patch')
+sha256sums=('007d8cf2740c7a923fbc0db8a4f69d356812e52c9a654e495e6fb748ad2cb898'
+ 'c365f25c70353b0b00a2cf078f9ff76ca144141733505039d6a9025ff0b611cb'
+ '41eb069b252b151c6994a78df29bbe71e5a3372cf9988a0671c56a037d022bdc')
prepare() {
cd "${pkgname}-${pkgver}"
- patch -uNp2 -r- -i ../Makefile_fix.patch
+ patch -Np1 -i ../Makefile_fix.patch
+ patch -Np1 -i ../bs_fix.patch
}
build() {
cd "${pkgname}-${pkgver}"
- make
+ make bs bs.6
}
package() {
cd "${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

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 07:47:02 Medium 1
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion