banana9

maintainer The-Compiler · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the official project's CDN domain (cdn.banana.ch), which is plausibly controlled by the software vendor; the package installs static data and scripts from the official vendor, with no obfuscated code or remote execution.

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 tarball from the official project's CDN domain (cdn.banana.ch), which is plausibly controlled by the software vendor; the package installs static data and scripts from the official vendor, with no obfuscated code or remote execution.

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:17 "https://cdn.banana.ch/accounting/files/${pkgname}/exe/${pkgname}.tgz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
2# Contributor: Hansruedi Patzen <hp@revy.ch>
3
4pkgname=banana9
5pkgver=9.0.5
6pkgrel=4
7provides=('banana9')
8conflicts=('banana9')
9pkgdesc='Banana Accounting 9 Software'
10arch=('x86_64')
11url='https://www.banana.ch/'
12license=('custom')
13depends=('gtk3')
14options=(emptydirs)
15
16source=(
17 "https://cdn.banana.ch/accounting/files/${pkgname}/exe/${pkgname}.tgz"
18)
19sha512sums=(
20 '82b3b02ac8c2349588a2738b364a56305ca74a8b7a4aa284b2cc2b8ad2d1819f3ee44574bd28aa30eace372987929e007e548bf92b859787580d634328e5e636'
21)
22
23_install_dir="/opt/${pkgname}"
24
25package() {
26 install -d "${pkgdir}/${_install_dir}"
27 rm "${srcdir}/${pkgname}.tgz"
28 bsdtar cf - --cd "${srcdir}" . | bsdtar xf - --cd "${pkgdir}/${_install_dir}"
29
30 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
31 sed -i "s-@exepath@-${_install_dir}/start_${pkgname}.sh-g" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
32
33 # we can't use a symlink as start_banana.sh uses `dirname $0` without readlink.
34 install -D /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<END
35#!/usr/bin/env sh
36exec "${_install_dir}/start_${pkgname}.sh" "\$@"
37END
38
39 install -Dm644 "${srcdir}/banico.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/banico.svg"
40 install -Dm644 "${srcdir}/usr/share/mime-ac2.xml" "${pkgdir}/usr/share/mime-ac2.xml"
41
42 _license_source="${srcdir}/usr/share/License"
43 for license_file in $(find "${_license_source}" -type f -name "*.txt"); do
44 install -Dm644 "${license_file}" "${pkgdir}/usr/share/licenses/${pkgname}/${license_file#${_license_source}}"
45 done
46}
47
48
49

Scan history

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

Report a package

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

0 / 4000
Your suggestion