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
3pkgname=onedev
4pkgver=12.0.5
5pkgrel=1
6_buildid=6562
7pkgdesc="A self-hosted Git server with CI/CD and Kanban"
8arch=('x86_64')
9depends=('java-runtime-headless=17' 'git>2.11.1' 'fontconfig' 'ttf-dejavu')
10url="https://code.onedev.io/onedev/server"
11license=('custom:OneDev License' 'MIT')
12source=("https://code.onedev.io/~downloads/projects/160/builds/$_buildid/artifacts/onedev-$pkgver.tar.gz"
13 "sysusers.conf"
14 "onedev.service"
15 "onedev-upgrade.sh")
16sha256sums=('6384811ba29db7c80188ab337a87de71d9f619eba83578fa705ce84eec044dac'
17 'ed8573826c9c89d7a35e3f8b52d4de69c9377fc713b5227bf30f12a45f0c2c82'
18 '56c7dea1e61cf81d6dddc34fa098fa5a7ed892b1d3e506cf003b0c2c71bb5866'
19 '779eef381def984fed476f253e0cc0e140e379196f8ec2f1656942e1025951f1')
20install=onedev.install
21
22package() {
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)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 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

Report a package

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

0 / 4000
Your suggestion