panopta-agent

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

The package downloads a source tarball from the vendor's official domain (packages.panopta.com) which is plausibly the project's own release infrastructure; building from this source is normal AUR packaging behavior and the checksums are provided, making it low risk despite the host not being on a whitelist.

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 the vendor's official domain (packages.panopta.com) which is plausibly the project's own release infrastructure; building from this source is normal AUR packaging behavior and the checksums are provided, making it low risk despite the host not being on a whitelist.

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:9 source=('https://packages.panopta.com/tar/panopta-agent-tarball-latest.tar.gz'

PKGBUILD

1 offending line(s) highlighted
1pkgname=panopta-agent
2pkgver=2022.47.9
3pkgrel=4
4pkgdesc="Panopta monitoring agent"
5arch=('any')
6url="https://my.panopta.com"
7license=('custom')
8depends=('python' 'cronie')
9source=('https://packages.panopta.com/tar/panopta-agent-tarball-latest.tar.gz'
10 'panopta-agent.cron'
11 'license.txt'
12 'agent.py.patch'
13 'agent_util.py.patch')
14install=$pkgname.install
15md5sums=('e8ac052af8f4cf832ecc2d07d5306e24'
16 '0e1c4e4fa5ff801fe9503307c39e73b2'
17 '2a657feea0ec01bf57ffad93686ea9c2'
18 'eb827036a06efca50d60c19b34930af8'
19 '60fe3dfc37ab85e264d47309eaae1597')
20
21pkgver() {
22 cd "$srcdir"
23 echo $(tar -tf panopta-agent-tarball-latest.tar.gz | head -n1 | sed 's/panopta-agent-//; s/\///')
24}
25
26package() {
27 cd "$srcdir/$pkgname-$pkgver"
28
29 # /usr/lib
30 mkdir -p "$pkgdir/usr/lib/$pkgname"
31 cp -r lib/* "$pkgdir/usr/lib/$pkgname"
32 # Remove unneeded dependencies for other platforms
33 rm -rf "$pkgdir/usr/lib/panopta-agent/dependencies/linux2/"
34 rm -rf "$pkgdir/usr/lib/panopta-agent/dependencies/linux2-32/"
35 rm -rf "$pkgdir/usr/lib/panopta-agent/dependencies/sparc/"
36 rm -rf "$pkgdir/usr/lib/panopta-agent/dependencies/sunos5/"
37 rm -rf "$pkgdir/usr/lib/panopta-agent/dependencies/freebsd*/"
38 # Patch agent.py and agent_util.py that have some lingering python2 syntax.
39 patch "$pkgdir/usr/lib/panopta-agent/library/agent.py" "$srcdir/agent.py.patch"
40 patch "$pkgdir/usr/lib/panopta-agent/library/agent_util.py" "$srcdir/agent_util.py.patch"
41
42 # /usr/bin
43 mkdir -p "$pkgdir/usr/bin/$pkgname"
44 cp -r bin/* "$pkgdir/usr/bin/$pkgname"
45
46 # /var/lib
47 mkdir -p "$pkgdir/var/lib/$pkgname"
48 touch "$pkgdir/var/lib/$pkgname/register"
49 touch "$pkgdir/var/lib/$pkgname/report"
50
51 # Copy cron file
52 mkdir -p "$pkgdir/etc/cron.d"
53 install -Dm644 "$srcdir/$pkgname.cron" "$pkgdir/etc/cron.d/$pkgname"
54
55 # Copy license
56 mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
57 install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
58}
59

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