1panel

maintainer larsbackman · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from official source code and downloads auxiliary files from the project's GitHub repositories; skipped checksums are present but the files are from trusted project infrastructure, and no untrusted remote code execution occurs.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from official source code and downloads auxiliary files from the project's GitHub repositories; skipped checksums are present but the files are from trusted project infrastructure, and no untrusted remote code execution occurs.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Rchips22 <rchips22@outlook.com>
2# Contributor: Voxan24 <admin@hessfr.fr>
3# Contributor: Senge Dev <sengedev@gmail.com>
4
5pkgname=1panel
6pkgver=2.1.10
7pkgrel=0
8pkgdesc="1Panel, a modern open source linux panel."
9arch=('x86_64' 'aarch64')
10url="https://github.com/1Panel-dev/1Panel"
11license=('GPL-3.0-or-later')
12install=1panel.install
13makedepends=('go' 'nodejs' 'npm' 'python')
14optdepends=('ufw' 'firewalld' 'docker' 'docker-compose')
15conflicts=('1panel-dev-bin' '1panel-bin' '1panel-git')
16source=(
17 "${pkgname}-${pkgver//_/-}.tar.gz"::"https://github.com/1Panel-dev/1Panel/archive/refs/tags/v${pkgver//_/-}.tar.gz"
18 "https://github.com/1Panel-dev/installer/raw/v2/1pctl"
19 "https://github.com/1Panel-dev/installer/raw/v2/initscript/1panel-core.service"
20 "https://github.com/1Panel-dev/installer/raw/v2/initscript/1panel-agent.service"
21 "1panel.conf"
22)
23b2sums=(
24 "b51e012f5a15c02294ac7929577299b54d8ef4101537d645c9717728af1f69b074ee2489e15f60b4e91eb7159448be45b1133fdd77f712847bbc140f5f4ccfc3"
25 "SKIP"
26 "SKIP"
27 "SKIP"
28 "47e36073d92f3fb590d5e648ee9e2b71d575744f7cca223bb0d523e1745faa2d715b77ede14fb26905dc2f7278a9be523e50c7cbd89ab7b87958fa51ae585dd9"
29)
30
31prepare() {
32 find ${srcdir} -type f -exec sed -i 's@/usr/local/bin@/usr/bin@g' {} +
33 find ${srcdir} -type f -exec sed -i 's@/etc/systemd/system@/usr/lib/systemd/system@g' {} +
34 # Seprate the config and the 1pctl,make 1pctl's update possible,
35 # This is a stupid workaround against upstream's stupid installation mode.
36 # if it failed,remove it,and change 1pctl like this
37 # BASE_DIR=/var/lib/1p
38 # ORIGINAL_PORT=8888
39 # ORIGINAL_VERSION=v{pkgver}
40 find ${srcdir} -type f -exec sed -i 's@/usr/bin/1pctl@/etc/1panel.conf@g' {} +
41 sed -i -e "s#ORIGINAL_VERSION=.*#ORIGINAL_VERSION=v${pkgver//_/-}#g" ${srcdir}/1panel.conf
42}
43
44build() {
45 # 1panel backend is too big to build
46 export NODE_OPTIONS="--max-old-space-size=4096"
47
48 cd ${srcdir}/1Panel-${pkgver//_/-}/frontend
49 npm install
50 npm run build:pro
51 cd "${srcdir}/1Panel-${pkgver}/core"
52 CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build -trimpath -ldflags '-s -w' -o "${srcdir}/1Panel-${pkgver}/build/1panel-core" "${srcdir}/1Panel-${pkgver}/core/cmd/server/main.go"
53 cd "${srcdir}/1Panel-${pkgver}/agent"
54 CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build -trimpath -ldflags '-s -w' -o "${srcdir}/1Panel-${pkgver}/build/1panel-agent" "${srcdir}/1Panel-${pkgver}/agent/cmd/server/main.go"
55}
56
57package() {
58 install -vDm755 "${srcdir}/1Panel-${pkgver}/build/1panel-core" -t "${pkgdir}/usr/bin/"
59 # 创建软链接:/usr/bin/1panel → /usr/bin/1panel-core
60 ln -s "/usr/bin/1panel-core" "${pkgdir}/usr/bin/1panel"
61 install -vDm755 "${srcdir}/1Panel-${pkgver}/build/1panel-agent" -t "${pkgdir}/usr/bin/"
62 install -vDm755 "${srcdir}/1pctl" "${pkgdir}/usr/bin/1pctl"
63
64 install -vDm644 "${srcdir}/1panel-agent.service" -t "${pkgdir}/usr/lib/systemd/system"
65 install -vDm644 "${srcdir}/1panel-core.service" -t "${pkgdir}/usr/lib/systemd/system"
66 install -vDm644 "${srcdir}/1panel.conf" "${pkgdir}/etc/1panel.conf"
67 install -vDm644 "${srcdir}/1Panel-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
68}
69

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 11:11:22 MEDIUM 1
2026-06-18 16:11:54 CLEAN 0

Report a package

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

0 / 4000
Your suggestion