drone-runner-exec-git
maintainer mqs
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from the project's official GitHub repository and includes only additional license and config files from known sources; no untrusted executables or remote code execution.
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 builds from the project's official GitHub repository and includes only additional license and config files from known sources; no untrusted executables or remote code execution.
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:19
"https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Small-Business-1.0.0.txt"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Markus Richter <mqus at disroot dot org>
2
3
pkgname=drone-runner-exec-git
4
_pkgbase=drone-runner-exec
5
pkgver=v1.0.0.beta.9.r2.gc0a612e
6
pkgrel=2
7
pkgdesc="A CI/CD runner for drone, which runs its tasks locally on the machine without any virtualization."
8
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
9
url="https://github.com/drone-runners/drone-runner-exec"
10
license=('custom')
11
depends=()
12
optdepends=()
13
makedepends=('go' 'git')
14
provides=("$_pkgbase")
15
conflicts=("$_pkgbase-bin")
16
backup=('etc/drone-runner-exec.env')
17
install=drone-runner-exec.install
18
source=('git+https://github.com/drone-runners/drone-runner-exec.git'
19
"https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Small-Business-1.0.0.txt"
20
"https://polyformproject.org/wp-content/uploads/2020/05/PolyForm-Free-Trial-1.0.0.txt"
21
"config.template"
22
"${_pkgbase}.install"
23
"${_pkgbase}.service"
24
"${_pkgbase}.sysusers.conf"
25
"${_pkgbase}.tmpfiles.conf")
26
sha512sums=('SKIP'
27
'34514288fd78afcc21b86ff5d23dc0e4ccc8dc67d2db032480a3cfb89de5ad9bb19370cad8049a104fa3d44b5e03c208dc8425aa24bcd7e763c3673c7514beb6'
28
'66e97a91ce27f2711a102f47660fc407b0fdde35564c64ab3c2fae55cbdb3fadf957cafcb0b19c6be94d6a2336cbfb92ee2d8ecf58c8ef627ba601e7bfadcee0'
29
'bcd8e0fcef52473e4c02e711a30d58e87329c30036ae7761f4130863fa8b8b9a50e3469624b5d155c1d4b7390616eacf2303f3f71bbfbad0223048c71918affa'
30
'02f872df18308e5dd13003adac9f17aabe70506870603672031838a1e0263e6b118fce9a91e10300a864a16697301144f498123d277a022db41aea1c00c80072'
31
'ce53a620c6277e531734ff0807e66ac918495b337c7763d51a94587bacaea247d1d4c61e506ecb6816aa8e5676312698ed2f2116ee38e031135003ebf6cfcb4e'
32
'34e3ee581f4415aec7e98c11f4bfb9f225aec05de068da1c858806a3148ec72102a156c934499091f31e42b4e50fa9fab9f2e8ce62707463b727e3735fd4719d'
33
'af5491fdf599b96446d326d276547108dba838134ae5d5fcc14213ee8f658e485444022dc7f8f558eca1ae5b9a7cebe40eb81f50deafb17a6122d761cc520aca')
34
35
36
pkgver() {
37
cd "$srcdir/$_pkgbase"
38
( set -o pipefail
39
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
40
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
41
)
42
}
43
44
build() {
45
#build drone-runner-exec
46
cd "$srcdir/$_pkgbase"
47
48
go build \
49
-trimpath \
50
-buildmode=pie \
51
-mod=readonly \
52
-modcacherw \
53
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\""
54
}
55
56
package() {
57
# setup systemd service
58
install -D -m 0644 "$srcdir/drone-runner-exec.service" "$pkgdir/usr/lib/systemd/system/drone-runner-exec.service"
59
60
# declarative setup of user and directory
61
install -D -m 0644 "$srcdir/drone-runner-exec.sysusers.conf" "$pkgdir/usr/lib/sysusers.d/drone-runner-exec.conf"
62
install -D -m 0644 "$srcdir/drone-runner-exec.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/drone-runner-exec.conf"
63
64
# copy license files
65
install -D -m 0644 "$srcdir/PolyForm-Small-Business-1.0.0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
66
install -D -m 0644 "$srcdir/PolyForm-Free-Trial-1.0.0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
67
68
# copy default config file
69
install -D -m 0644 "$srcdir/config.template" "$pkgdir/etc/drone-runner-exec.env"
70
71
# copy binary
72
install -D -m 0755 "$srcdir/$_pkgbase/drone-runner-exec" "$pkgdir/usr/bin/drone-runner-exec"
73
}
74
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 |