leda-free

LOW
maintainer igel 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a prebuilt library tarball from the official project domain, used for building a standard package;虽 host not whitelisted, it is plausibly official and the content is not executed at build time.

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 prebuilt library tarball from the official project domain, used for building a standard package;虽 host not whitelisted, it is plausibly official and the content is not executed at build time.

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:10 source=("https://www.algorithmic-solutions.info/free/Packages/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Stephan Friedrichs <accounts at sfriedri dot de>
2
3pkgname='leda-free'
4pkgver='6.3'
5pkgrel='4'
6pkgdesc='C++ class library for efficient data types and algorithms'
7url='https://www.algorithmic-solutions.com/index.php/products/leda-free-edition'
8license=('custom:LEDA Free License')
9arch=('x86_64')
10source=("https://www.algorithmic-solutions.info/free/Packages/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar.gz")
11sha256sums=('281057aa2077972d46e5a8e42cecb5633fdf7682bc4ff8ca83e31bde6ae06db9')
12noextract=(${source[0]})
13depends=('gcc-libs' 'tcsh')
14options=('staticlibs' '!strip' '!emptydirs')
15
16prepare() {
17 # As of version 6.3, the archive is broken and needs to be extracted manually.
18 tar -xf "${srcdir}/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar"
19}
20
21package() {
22 local _ledadir="LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt"
23
24 # Static and shared libraries
25 install -D -m644 "${srcdir}/${_ledadir}/libleda.a" "${pkgdir}/usr/lib/libleda.a"
26 install -D -m644 "${srcdir}/${_ledadir}/libleda.so" "${pkgdir}/usr/lib/libleda.so"
27
28 # Includes
29 mkdir -p "${pkgdir}/usr/include/LEDA/"
30 for _incldir in "G++" "Kernel" "LEDA"; do
31 cp -r "${srcdir}/${_ledadir}/incl/${_incldir}" "${pkgdir}/usr/include/LEDA/"
32 done
33
34 # License
35 install -D -m644 "${srcdir}/${_ledadir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
36}
37

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion