onedev
maintainer bengcooper
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a prebuilt tarball from the project's own domain (code.onedev.io), which is plausibly official despite being a non-standard host; the package installs static files and services without executing remote code or exfiltrating data.
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 source is a prebuilt tarball from the project's own domain (code.onedev.io), which is plausibly official despite being a non-standard host; the package installs static files and services without executing remote code or exfiltrating data.
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:12
source=("https://code.onedev.io/~downloads/projects/160/builds/$_buildid/artifacts/onedev-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ben Cooper <contactme at bengcooper dot co dot uk>
2
3
pkgname=onedev
4
pkgver=12.0.5
5
pkgrel=1
6
_buildid=6562
7
pkgdesc="A self-hosted Git server with CI/CD and Kanban"
8
arch=('x86_64')
9
depends=('java-runtime-headless=17' 'git>2.11.1' 'fontconfig' 'ttf-dejavu')
10
url="https://code.onedev.io/onedev/server"
11
license=('custom:OneDev License' 'MIT')
12
source=("https://code.onedev.io/~downloads/projects/160/builds/$_buildid/artifacts/onedev-$pkgver.tar.gz"
13
"sysusers.conf"
14
"onedev.service"
15
"onedev-upgrade.sh")
16
sha256sums=('6384811ba29db7c80188ab337a87de71d9f619eba83578fa705ce84eec044dac'
17
'ed8573826c9c89d7a35e3f8b52d4de69c9377fc713b5227bf30f12a45f0c2c82'
18
'56c7dea1e61cf81d6dddc34fa098fa5a7ed892b1d3e506cf003b0c2c71bb5866'
19
'779eef381def984fed476f253e0cc0e140e379196f8ec2f1656942e1025951f1')
20
install=onedev.install
21
22
package() {
23
# Install PKGBUILD files
24
install -D -m 0644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/onedev.conf"
25
install -D -m 0644 onedev.service "$pkgdir/usr/lib/systemd/system/onedev.service"
26
install -D -m 0755 onedev-upgrade.sh "$pkgdir/usr/bin/onedev-upgrade"
27
28
# Install package contents
29
cd $pkgname-$pkgver
30
install -d "$pkgdir/opt/onedev-base"
31
install -o 663 -g 663 -d "$pkgdir/opt/onedev"
32
cp -r * "$pkgdir/opt/onedev-base"
33
install -D -m 0644 "license.txt" "$pkgdir/usr/share/licenses/onedev/LICENSE"
34
}
35
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 |