hypercalc
maintainer severach
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
set -u
5
pkgname='hypercalc'
6
pkgver='20220820'
7
pkgrel='1'
8
pkgdesc='A calculator designed to calculate extremely large numbers without overflowing.'
9
arch=('any')
10
url='http://mrob.com/pub/perl/hypercalc.html'
11
license=('GPL')
12
depends=('perl')
13
source=("${pkgname}-${pkgver}.txt::http://mrob.com/pub/comp/${pkgname}/${pkgname}.txt")
14
md5sums=('5de98ce327dee1a8783430b7d3dc5c97')
15
sha256sums=('2b54f2e6cd3328e1a0ae790e12f6d598666912df47544041a7e6a73849125c51')
16
17
prepare() {
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
37
package() {
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
}
42
set +u
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |