banana9

LOW
maintainer The-Compiler 0 votes scanned 2026-09-17 00:27:14.276658
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-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