smath
The package downloads a source tarball from the project's own domain smath.com, which is plausibly the official release infrastructure; the download uses a non-standard URL pattern requiring a POST request, but this is handled transparently by the DLAGENTS override and does not introduce remote code execution or supply-chain risks beyond typical AUR packages; the installed files are the program's own binaries and resources, with no evidence of malicious behavior.
Triggered rules
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 package downloads a source tarball from the project's own domain smath.com, which is plausibly the official release infrastructure; the download uses a non-standard URL pattern requiring a POST request, but this is handled transparently by the DLAGENTS override and does not introduce remote code execution or supply-chain risks beyond typical AUR packages; the installed files are the program's own binaries and resources, with no evidence of malicious behavior.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:22
source=("https://smath.com/en-US/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.Mono.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Maintainer: Tom v/d Brink <tomracing at gmail>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: ximeg <ximeg@tomcity.net>
# Maintainer: desperat <c2h5ohzh2@o2.pl>
# Maintainer: Mihai Coman <mihai@m1x.ro>
# Credits to: Jake <> for solving the server download definitions
# http://smath.info
pkgname=smath
pkgver=1_5_9678
pkgrel=1
pkgdesc="A mathematical program with many features and paper-like interface, similar to Mathcad"
_pkgcode=NKnL7
arch=('i686' 'x86_64')
url="http://smath.com"
license=('CCPL')
groups=('math')
depends=('mono')
install=smath.install
backup=(opt/$pkgname/settings.inf)
source=("https://smath.com/en-US/file/${_pkgcode}/SMathStudioDesktop.${pkgver}.Mono.tar.gz")
md5sums=('666168f21585a707431ab6c9a4e2451b')
DLAGENTS=("https::/usr/bin/wget --post-data RefMem=&PostBack=${_pkgcode} %u")
package() {
cd "$srcdir"
# install program
install -m755 -d "$pkgdir"/opt/$pkgname/{book,examples,lang,entries,plugins,snippets}
install -m755 -d "$pkgdir"/opt/$pkgname/plugins/{02f1ab51-215b-466e-a74d-5d8b1cf85e8d,06b5df04-393e-4be7-9107-305196fcb861,2814e667-4e12-48b1-8d51-194e480eabc5,485d28c5-349a-48b6-93be-12a35a1c1e39,4974b228-4974-44cf-8274-bf2936b4a766}
install -m755 -d "$pkgdir"/opt/$pkgname/plugins/{89ec7a32-2a1f-4345-8f70-9a7fbcfd7812,8ec52daf-bcdb-4e5c-8e07-fade44a14e50,b0c79170-8f25-4115-97ae-f372f409e68c,c451c2b5-798b-4f08-b9ec-b90963d1ddaa,e1a5132a-4f6a-4518-972f-c35a8906be8c}
install -m644 -t "$pkgdir"/opt/$pkgname/book book/*
install -m644 -t "$pkgdir"/opt/$pkgname/examples examples/*
install -m644 -t "$pkgdir"/opt/$pkgname/lang lang/*
install -m644 -t "$pkgdir"/opt/$pkgname *.{dll,exe}
install -m644 -t "$pkgdir"/opt/$pkgname/entries entries/*
# install -m644 -t "$pkgdir"/opt/$pkgname/plugins plugins/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/02f1ab51-215b-466e-a74d-5d8b1cf85e8d plugins/02f1ab51-215b-466e-a74d-5d8b1cf85e8d/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/06b5df04-393e-4be7-9107-305196fcb861 plugins/06b5df04-393e-4be7-9107-305196fcb861/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/2814e667-4e12-48b1-8d51-194e480eabc5 plugins/2814e667-4e12-48b1-8d51-194e480eabc5/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/485d28c5-349a-48b6-93be-12a35a1c1e39 plugins/485d28c5-349a-48b6-93be-12a35a1c1e39/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/4974b228-4974-44cf-8274-bf2936b4a766 plugins/4974b228-4974-44cf-8274-bf2936b4a766/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/89ec7a32-2a1f-4345-8f70-9a7fbcfd7812 plugins/89ec7a32-2a1f-4345-8f70-9a7fbcfd7812/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/8ec52daf-bcdb-4e5c-8e07-fade44a14e50 plugins/8ec52daf-bcdb-4e5c-8e07-fade44a14e50/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/b0c79170-8f25-4115-97ae-f372f409e68c plugins/b0c79170-8f25-4115-97ae-f372f409e68c/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/c451c2b5-798b-4f08-b9ec-b90963d1ddaa plugins/c451c2b5-798b-4f08-b9ec-b90963d1ddaa/*
install -m644 -t "$pkgdir"/opt/$pkgname/plugins/e1a5132a-4f6a-4518-972f-c35a8906be8c plugins/e1a5132a-4f6a-4518-972f-c35a8906be8c/*
install -m644 -t "$pkgdir"/opt/$pkgname/snippets snippets/*
# create settings file
touch "$pkgdir"/opt/$pkgname/settings.inf
chmod 664 "$pkgdir"/opt/$pkgname/settings.inf
echo "#!/bin/sh
cd /opt/smath
mono SMathStudio_Desktop.exe \"$@\"
" > ../$pkgname.sh
# install launcher
install -Dm755 ../$pkgname.sh "$pkgdir"/usr/bin/$pkgname
install -Dm644 "${startdir}/smath.desktop" "${pkgdir}/usr/share/applications/smath.desktop"
install -Dm644 "${startdir}/SMathStudioLogo256.png" "${pkgdir}/usr/share/pixmaps/smath.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |