ncurses-life

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