ncurses-life

maintainer keenerd · 6 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads an HTML page from a personal/unofficial host (csiuo.com) with SKIP'd checksum, then extracts and reconstructs a Perl script from the HTML content via sed, and installs it as an executable. This is a genuine supply-chain concern: there is no integrity verification (SKIP md5sum), the source is a personal website rather than an official upstream release, and the extracted code is executed as a script. If the page were tampered with or the site compromised, arbitrary Perl code could be injected and installed. The maintainer even comments '# scary...' acknowledging the unusual approach. The pattern of parsing executable code out of HTML with no checksum is a real medium-severity supply-chain risk, not a false positive.

Triggered rules

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:7 url="http://csiuo.com/drupal/content/ncurses-life"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads an HTML page from a personal/unofficial host (csiuo.com) with SKIP'd checksum, then extracts and reconstructs a Perl script from the HTML content via sed, and installs it as an executable. This is a genuine supply-chain concern: there is no integrity verification (SKIP md5sum), the source is a personal website rather than an official upstream release, and the extracted code is executed as a script. If the page were tampered with or the site compromised, arbitrary Perl code could be injected and installed. The maintainer even comments '# scary...' acknowledging the unusual approach. The pattern of parsing executable code out of HTML with no checksum is a real medium-severity supply-chain risk, not a false positive.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Kyle Keen <keenerd@gmail.com>
2pkgname=ncurses-life
3pkgver=20091024
4pkgrel=2
5pkgdesc="Random Conway's game of life in your terminal."
6arch=('any')
7url="http://csiuo.com/drupal/content/ncurses-life"
8license=('custom:copyright')
9depends=('perl-curses')
10source=(http://csiuo.com/drupal/content/ncurses-life)
11md5sums=('SKIP')
12
13build() {
14 cd "$srcdir"
15 # scary...
16 ncl=$(sed -n '/#!\/usr\/bin\/perl/,/endwin/p' ncurses-life)
17 ncl=$(sed 's/<[^>]*>//g' <<< "$ncl")
18 ncl=$(sed 's/&nbsp;/ /g' <<< "$ncl")
19 ncl=$(sed 's/&gt;/>/g' <<< "$ncl")
20 ncl=$(sed 's/&lt;/</g' <<< "$ncl")
21 ncl=$(sed 's/&#40;/(/g' <<< "$ncl")
22 ncl=$(sed 's/&#41;/)/g' <<< "$ncl")
23 ncl=$(sed 's/&#123;/{/g' <<< "$ncl")
24 ncl=$(sed 's/&#125;/}/g' <<< "$ncl")
25 ncl=$(sed 's/&#91;/[/g' <<< "$ncl")
26 ncl=$(sed 's/&#93;/]/g' <<< "$ncl")
27 echo "$ncl" > nclife
28}
29
30package() {
31 cd "$srcdir"
32 install -Dm755 nclife "$pkgdir/usr/bin/ncurses-life"
33}
34
35
36

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion