omada-controller

MEDIUM
maintainer Inxsible 8 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt tarball from a non-standard host (static.tp-link.com) which is not on the analyzer's whitelist, and the source is a proprietary controller application that could be tampered with if the host were compromised, though it is plausibly an official vendor domain.

Triggered rules

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"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt tarball from a non-standard host (static.tp-link.com) which is not on the analyzer's whitelist, and the source is a proprietary controller application that could be tampered with if the host were compromised, though it is plausibly an official vendor domain.

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.14.11
6pkgrel=1
7pkgdesc='Omada Network Application (SDN Controller)'
8_basepkgname='Omada_SDN_Controller'
9_basepkgpath='upload/software/2026/202607/20260717'
10_baseos='linux_x64'
11_suffix=''
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)
23sha256sums=('23427f73dd93051a620b081aab55ffcc4cfb20951a020a1d357c43e82478aa74'
24 'SKIP')
25
26package() {
27 #cd ${pkgname}
28 #cd ${_basepkgname}_v${pkgver}_${_baseos}
29 cd Omada_Network_Application_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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 Medium 2

Report a package

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

0 / 4000
Your suggestion