omada-controller

maintainer Inxsible · 8 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a source tarball from a TP-Link static host, which is plausibly the official vendor infrastructure for Omada, and builds from it; the non-whitelisted host is not inherently risky given the context of vendor-distributed software, and the rest of the PKGBUILD performs standard installation of binaries and systemd integration without executing untrusted remote code.

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 package downloads a source tarball from a TP-Link static host, which is plausibly the official vendor infrastructure for Omada, and builds from it; the non-whitelisted host is not inherently risky given the context of vendor-distributed software, and the rest of the PKGBUILD performs standard installation of binaries and systemd integration without executing untrusted remote code.

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:20 "https://static.tp-link.com/${_basepkgpath}/${_basepkgname}_v${pkgver}_${_baseos}${_suffix}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Contributor & Maintainer: Murtuza Akhtari <murtuza dot akhtari at gmail dot com>
2# Contributor: Richard Neumann aka. schard <mail at richard dash neumann period de>
3
4pkgname='omada-controller'
5pkgver=6.2.10.17
6pkgrel=1
7pkgdesc='Omada Network Application (SDN Controller)'
8_basepkgname='Omada_Network_Application'
9_basepkgpath='upload/software/2026/202604/20260429'
10_baseos='linux_x64'
11_suffix='_20260428102037'
12arch=('x86_64')
13url='https://support.omadanetworks.com/us/download/software/omada-controller'
14license=('custom')
15depends=('java-runtime=17' 'java-jsvc' 'curl' 'mongodb>=3' 'mongodb<8')
16makedepends=('git')
17#provides=('sdn-controller')
18conflicts=('omada-sdn-controller')
19source=(
20 "https://static.tp-link.com/${_basepkgpath}/${_basepkgname}_v${pkgver}_${_baseos}${_suffix}.tar.gz"
21 "git+http://github.com/murtuzaakhtari/omada-controller-scripts.git"
22)
23
24sha256sums=('d5eb94f235b6ef8ee42d0521498e84a299ded44f8e67ae6fbb74c52bd4822425'
25 'SKIP')
26
27package() {
28 #cd ${pkgname}
29 cd ${_basepkgname}_v${pkgver}_${_baseos}
30
31 # Install required source files.
32 local BASEDIR="${pkgdir}/opt/omada-controller"
33 install -dm 755 "${BASEDIR}"
34
35 # Install JAR libraries.
36 install -dm 755 "${BASEDIR}/lib"
37
38 for file in lib/*; do
39 install -m 644 "${file}" "${BASEDIR}/lib/"
40 done
41
42 # Install binaries.
43 install -dm 755 "${BASEDIR}/bin"
44
45 for file in bin/*; do
46 install -m 755 "${file}" "${BASEDIR}/bin/"
47 done
48
49 # Install keystore. - keystore no longer available since version 5.3.1
50 #install -dm 755 "${BASEDIR}/keystore"
51
52 #for file in keystore/*; do
53 # install -m 644 "${file}" "${BASEDIR}/keystore/"
54 #done
55
56 # Install *.properties config files.
57 install -dm 755 "${BASEDIR}/properties"
58
59 for file in properties/*; do
60 install -m 644 "${file}" "${BASEDIR}/properties/"
61 done
62
63 chown -R omada:omada ${BASEDIR}/properties/
64
65 ln -sf /usr/bin/mongod "${BASEDIR}/bin/mongod"
66
67 ### Install scripts ####
68
69 # Install systemd units.
70 cd "${srcdir}/omada-controller-scripts"
71 install -dm 755 "${pkgdir}/usr/lib/systemd/system"
72 install -m 644 "omada-controller.service" "${pkgdir}/usr/lib/systemd/system/"
73
74 # Install sysusers configuration.
75 install -dm 755 "${pkgdir}/usr/lib/sysusers.d"
76 install -m 644 "omada-controller.conf" "${pkgdir}/usr/lib/sysusers.d/"
77
78 # Install ALPM hook and script.
79 install -dm 755 "${pkgdir}/usr/share/libalpm/hooks"
80 install -m 644 omada-init-user-dirs.hook "${pkgdir}/usr/share/libalpm/hooks/"
81 install -dm 755 "${pkgdir}/usr/share/libalpm/scripts"
82 install -m 755 omada-init-user-dirs.sh "${pkgdir}/usr/share/libalpm/scripts/omada-init-user-dirs"
83}
84

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