panopta-agent
maintainer Zigsaz
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
1
pkgname=panopta-agent
2
pkgver=2022.47.9
3
pkgrel=4
4
pkgdesc="Panopta monitoring agent"
5
arch=('any')
6
url="https://my.panopta.com"
7
license=('custom')
8
depends=('python' 'cronie')
9
source=('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')
14
install=$pkgname.install
15
md5sums=('e8ac052af8f4cf832ecc2d07d5306e24'
16
'0e1c4e4fa5ff801fe9503307c39e73b2'
17
'2a657feea0ec01bf57ffad93686ea9c2'
18
'eb827036a06efca50d60c19b34930af8'
19
'60fe3dfc37ab85e264d47309eaae1597')
20
21
pkgver() {
22
cd "$srcdir"
23
echo $(tar -tf panopta-agent-tarball-latest.tar.gz | head -n1 | sed 's/panopta-agent-//; s/\///')
24
}
25
26
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |