yacas
The package downloads the project's source code from GitHub and documentation from readthedocs.org; both are standard, plausible project-hosting platforms. The source tarball is from the official project repository, and the EPUB manual is non-executable documentation, so the non-whitelisted host for the EPUB does not pose a significant security risk.
Triggered rules
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 90%): The package downloads the project's source code from GitHub and documentation from readthedocs.org; both are standard, plausible project-hosting platforms. The source tarball is from the official project repository, and the EPUB manual is non-executable documentation, so the non-whitelisted host for the EPUB does not pose a significant security risk.
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:31
"https://buildmedia.readthedocs.org/media/epub/yacas/v${_docver}/yacas.epub"
PKGBUILD
1 offending line(s) highlighted# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Stefan Husmann <stefan.husmann@t-systems.com>
# Contributor: Stéphane Gaudreault <Stephane.Gaudreault@gmail.com>
# Maintainer : Marcos Heredia <chelqo@gmail.com>
pkgname=yacas
pkgver=1.9.1
_docver=1.8.0
pkgrel=1
pkgdesc='Yet another computer algebra system'
url='http://www.yacas.org/'
screenshot='https://dl.dropbox.com/s/dy9evnpl13kdo21/yacas-console.png'
license=('GPL2')
groups=("mathematics")
arch=('i686' 'x86_64')
#--------------------------------------------------------------
_build_gui="ON"
if [ ${_build_gui} == "OFF" ]; then
depends=('glibc' 'gcc-libs')
makedepends=('gcc' 'cmake' 'perl')
else
depends=('dav1d' 'dbus' 'libbluray' 'libva' 'libvorbis' 'libxcursor' 'nspr' 'qt5-webengine' 'x264' 'x265' 'xvidcore' 'zstd')
makedepends=('gcc' 'cmake' 'perl' 'python-sphinx' 'python-sphinxcontrib-bibtex' 'python-sphinx_rtd_theme' 'npm' 'qt5-svg')
fi
#--------------------------------------------------------------
optdepends=('gnuplot' 'lynx' 'texmacs' 'fbreader: Reading EPUB manual')
conflicts=('yagy')
install=${pkgname}.install
noextract=('yacas.epub')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/grzegorzmazur/yacas/archive/v${pkgver}.tar.gz"
"https://buildmedia.readthedocs.org/media/epub/yacas/v${_docver}/yacas.epub"
"yacas.desktop"
"yacas-docs.desktop"
)
md5sums=('f908d52c6095d45bd69bc3e517dbee08' # yacas source
'becd320686b3b9aa2e6c39477f37ff06' # Epub manual
'eb776002fabe21623716ed2642f6d365' # yacas.desktop
'04d2a47c02fba5d88f337a404e02929c' # yacas-docs.desktop
)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
[ -d build ] && rm -rf build
mkdir build
cd build
msg "### cmake" ; cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_CYACAS_CONSOLE=ON \
-DENABLE_CYACAS_GUI=${_build_gui} \
-DENABLE_CYACAS_UNIT_TESTS=OFF \
-DENABLE_CYACAS_BENCHMARKS=OFF \
-DENABLE_JYACAS=OFF \
-DENABLE_DOCS=ON \
-DENABLE_CYACAS_KERNEL=OFF \
-DCMAKE_BUILD_TYPE=Release
msg "### make" ; make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
msg "### instalation " ; make DESTDIR=$pkgdir install
cd ..
_appdir=${pkgdir}/usr/share/applications
_pngdir=${pkgdir}/usr/share/pixmaps
_docdir=${pkgdir}/usr/share/doc/${pkgname}
_licdir=${pkgdir}/usr/share/licenses/${pkgname}
install -dm755 ${_appdir} ${_pngdir} ${_docdir} ${_licdir}
install -Dpm644 ${srcdir}/yacas.desktop ${_appdir}/
install -Dpm644 ${srcdir}/yacas-docs.desktop ${_appdir}/
[ ${_build_gui} == "OFF" ] && install -Dpm644 ${srcdir}/${pkgname}-${pkgver}/cyacas/yacas-gui/resources/pixmaps/yacas-gui.png ${_pngdir}
install -Dpm644 AUTHORS CODE_OF_CONDUCT.md ChangeLog README.rst TODO ${_docdir}/
install -Dpm644 ${srcdir}/yacas.epub ${pkgdir}/usr/share/yacas/
install -Dpm644 COPYING ${_licdir}/
(cd ${_docdir} ; ln -s ../../yacas/yacas.epub .)
}
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 |