hypercalc

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

The source is a plain text file containing Perl code, downloaded from a non-whitelisted but project-related host; it is processed and installed as an executable script, but the content is human-readable and not obfuscated, with no evidence of remote code execution or malicious behavior.

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 source is a plain text file containing Perl code, downloaded from a non-whitelisted but project-related host; it is processed and installed as an executable script, but the content is human-readable and not obfuscated, with no evidence of remote code execution or malicious behavior.

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:13 source=("${pkgname}-${pkgver}.txt::http://mrob.com/pub/comp/${pkgname}/${pkgname}.txt")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
2# Contributor: Simon Hollingshead <me at [firstnamelastname] dot com>
3
4set -u
5pkgname='hypercalc'
6pkgver='20220820'
7pkgrel='1'
8pkgdesc='A calculator designed to calculate extremely large numbers without overflowing.'
9arch=('any')
10url='http://mrob.com/pub/perl/hypercalc.html'
11license=('GPL')
12depends=('perl')
13source=("${pkgname}-${pkgver}.txt::http://mrob.com/pub/comp/${pkgname}/${pkgname}.txt")
14md5sums=('5de98ce327dee1a8783430b7d3dc5c97')
15sha256sums=('2b54f2e6cd3328e1a0ae790e12f6d598666912df47544041a7e6a73849125c51')
16
17prepare() {
18 set -u
19 local _verln
20 _verln="$(grep -e '^# This is the' "${srcdir}/${pkgname}-${pkgver}.txt")"
21 if [[ "${_verln}" =~ ^'# This is the '([0-9]{4})' '([A-Z][a-z]{2})' '([0-9]{2})' version' ]]; then
22 declare -A _months=([Jan]='01' [Feb]='02' [Mar]='03' [Apr]='04' [May]='05' [Jun]='06' [Jul]='07' [Aug]='08' [Sep]='09' [Oct]='10' [Nov]='11' [Dec]='12')
23 local _vernew="${BASH_REMATCH[1]}${_months[${BASH_REMATCH[2]}]}${BASH_REMATCH[3]}"
24 if [ "${pkgver}" != "${_vernew}" ]; then
25 printf 'New version %s\n' "${_vernew}"
26 set +u
27 false
28 fi
29 else
30 printf "Can't find new version line\n"
31 set +u
32 false
33 fi
34 set +u
35}
36
37package() {
38 set -u
39 install -DT <(sed -e '1,3 s:^:#:g' -e '1i #!/usr/bin/perl\n' "${srcdir}/${pkgname}-${pkgver}.txt") "${pkgdir}/usr/bin/${pkgname}"
40 set +u
41}
42set +u
43

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