minecraft-bedrock-server
maintainer codrcodz
· 15 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source URL uses a non-standard host (minecraft.net instead of www.minecraft.net), but it is still the official vendor's domain; the package builds from an officially provided, checksum-verified archive, posing no real risk.
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 source URL uses a non-standard host (minecraft.net instead of www.minecraft.net), but it is still the official vendor's domain; the package builds from an officially provided, checksum-verified archive, posing no real risk.
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:79
"https://minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-${pkgver}.zip"
PKGBUILD
1 offending line(s) highlighted
1
# shellcheck shell=bash disable=2034,2154,2148
2
3
# Maintainer: Cody Lee Cochran <cody.l.cochran@gmail.com>
4
5
# Notes from the maintainer team:
6
#
7
# Minecraft Bedrock clients available for Windows, XBox and other consoles will typically update
8
# before this package does. If your client begins reporting an out of date Minecraft Bedrock Server,
9
# find the new version and hashsum of the source zip file, and submit a patch and/or comment to the
10
# AUR page for this package:
11
# https://aur.archlinux.org/packages/minecraft-bedrock-server
12
# A maintainer will update the package shortly with the new hash and version.
13
14
# Name of the package, as displayed on the AUR.
15
pkgname=minecraft-bedrock-server
16
17
# Description of the package, as it will be displayed on the AUR.
18
pkgdesc="Minecraft Bedrock Server compatible with Windows and XBox Minecraft clients"
19
20
# URL for the download page or home page of the upstream vendor's package, as displayed on the AUR.
21
url="https://www.minecraft.net/en-us/download/server/bedrock"
22
23
# This package version number can be found on the official Minecraft Bedrock server download page.
24
# https://www.minecraft.net/en-us/download/server/bedrock
25
# Mouseover the "DOWNLOAD" button under the section for the stable/non-preview "Ubuntu (Linux)" version.
26
pkgver=1.26.36.1
27
28
# This sha256 hashsum can be determined by manually downloading the file from the official download page.
29
# https://www.minecraft.net/en-us/download/server/bedrock
30
# Click the "DOWNLOAD" button under the section for the stable/non-preview "Ubuntu (Linux)" version.
31
# To get the sha256 hashsum, run the following on the downloaded file:
32
# sha256sum <bedrock-server-vX.YY.Z>.zip
33
_pkghash='9c8a56a26381e90091a362ae59783e5a90205de0d6e4759e90104f4529e458e4'
34
35
# Version of the AUR package, (not the underlying vendor's release version).
36
# This is only higher than "1" if another AUR package release is cut
37
# for the same "pkgver" of the upstream vendor's package.
38
pkgrel=1
39
40
# The license type of the upstream vendor's package, as displayed on the AUR.
41
license=(
42
'custom'
43
)
44
45
# Instructs makepkg not to extract a source code archive automatically
46
# when installing the package via makepkg or the user's AUR helper (i.e. paru, yay, etc).
47
# For this package, we do this ourselves (in a custom way) in the build() function (defined below).
48
#shellcheck disable=2016
49
noextract=(
50
'bedrock-server-${pkgver}.zip'
51
)
52
53
# Instructs makepkg not to override these files when installing patches/updates to
54
# an older version of this same package.
55
# server.properties - Contains server configs
56
# permissions.json - Used for server role-based access controls (RBAC)
57
# allowlist.json - Used for explictly allowing only certain users to have access to the server
58
# whitelist.json - The old name for 'allowlist.json' as of server v1.18.10; migrate to 'allowlist.json'
59
backup=(
60
opt/minecraft-bedrock-server/{server.properties,permissions.json,whitelist.json,allowlist.json}
61
)
62
63
# CPU Architecture that this AUR package is designed to run on.
64
arch=(
65
'x86_64'
66
)
67
68
# Dependencies required for makepkg to install this package.
69
# These dependencies are not required after install is completed.
70
# These dependencies are displayed on the AUR package page.
71
makedepends=(
72
'unzip'
73
)
74
75
# The first file in this sources list is located on the official Minecraft Bedrock Server download page.
76
# https://www.minecraft.net/en-us/download/server/bedrock
77
# Mousing over the download button for the stable/non-preview "Ubuntu (Linux)" version will provide the full URL.
78
source=(
79
"https://minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-${pkgver}.zip"
80
'minecraft-bedrock-server.service'
81
'minecraft-bedrock-server.sysusers'
82
'minecraft-bedrock-server.tmpfiles'
83
)
84
85
# These are the matching hashsums for the files listed in the 'source' array elsewhere in this file.
86
# They are indexed (i.e. 0,1,2,3) in the same manner as the source array, and must match its same order.
87
# So, for example, the second hash in this array must be the hash for the second filename in the sources array.
88
# The hash for the source zip file is set with the '_pkghash' variable because it changes with each new release.
89
# The other hashsums are hardcoded because the systemd files in this repo rarely change as new releases are cut.
90
sha256sums=(
91
"${_pkghash}"
92
'cc08effe04701f1ca16a1edd153d12a94ed498e9a3e68a004b74189eef9edb81'
93
'a7070301958b58f804bb8dee8b66ef23ad7460403f7ba2cfffb549e29ad834d5'
94
'829ff9e583408fcc1d0436a6896ecbd3128f893dcbc2b0147130219a13586ae3'
95
)
96
97
# Without the appropriate user-agent string,
98
# the automated download of the source zip will hang and eventually timeout.
99
# If this happens, please help by figuring out the appropriate one and submit a patch to this array value.
100
# The upstream package maintainer has put protections in place
101
# to discourage automated downloads by certain bots/scripts.
102
# More information about why this is sometimes needed can be found here on the Arch wiki:
103
# https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Custom_DLAGENTS
104
DLAGENTS=(
105
"https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u"
106
)
107
108
# This function is called by makepkg as a pre-requisite step to installing the package.
109
# Prior to this function running, makepkg will automatically download any remote source files listed
110
# in the "sources" array (elsewhere in this file), and will check their hashes against those listed
111
# in the "sha256sums" array. The hash for the source zip, in particular, is stored in the '_pkghash' var.
112
build() {
113
unzip -q bedrock-server-"${pkgver}".zip -d tmp &&
114
rm bedrock-server-"${pkgver}".zip
115
}
116
117
# This function is called by makepkg to perform the install of the source zip,
118
# and runs after the source zip is downloaded automatically,
119
# and after the build() function has already run successfully.
120
# It is not coded directly in this function, but any files in the 'backup' array are automatically backed up
121
# and then moved back into place after this function completes. This is done in order to preserve post-install
122
# user configurations from any previous installs of this same package on the same system.
123
package() {
124
install -d "${pkgdir}"/opt/minecraft-bedrock-server &&
125
cp -r -fHip "${srcdir}"/tmp/* "${pkgdir}/opt/minecraft-bedrock-server" &&
126
install \
127
-Dm 644 minecraft-bedrock-server.service \
128
-t "${pkgdir}"/usr/lib/systemd/system/ &&
129
install \
130
-Dm 644 minecraft-bedrock-server.sysusers \
131
"${pkgdir}"/usr/lib/sysusers.d/minecraft-bedrock-server.conf &&
132
install \
133
-Dm 644 minecraft-bedrock-server.tmpfiles \
134
"${pkgdir}"/usr/lib/tmpfiles.d/minecraft-bedrock-server.conf
135
}
136
Changes since previous scan
--- PKGBUILD @ 2026-07-28 00:07+++ PKGBUILD @ 2026-08-03 00:08@@ -23,14 +23,14 @@ # This package version number can be found on the official Minecraft Bedrock server download page. # https://www.minecraft.net/en-us/download/server/bedrock # Mouseover the "DOWNLOAD" button under the section for the stable/non-preview "Ubuntu (Linux)" version.-pkgver=1.26.34.3+pkgver=1.26.36.1 # This sha256 hashsum can be determined by manually downloading the file from the official download page. # https://www.minecraft.net/en-us/download/server/bedrock # Click the "DOWNLOAD" button under the section for the stable/non-preview "Ubuntu (Linux)" version. # To get the sha256 hashsum, run the following on the downloaded file: # sha256sum <bedrock-server-vX.YY.Z>.zip-_pkghash='83a3be4a8d796ade17b093317747b33acfe3077a32a5c1a6fb3d6bfdad1908b4'+_pkghash='9c8a56a26381e90091a362ae59783e5a90205de0d6e4759e90104f4529e458e4' # Version of the AUR package, (not the underlying vendor's release version). # This is only higher than "1" if another AUR package release is cutScan 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 19:39:35 | MEDIUM | 1 |
| 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 19:25:44 | MEDIUM | 1 |
| 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 |