factorio-headless
The source is a prebuilt tarball from the official factorio.com domain, which is the project's legitimate release infrastructure, making it a normal and expected AUR packaging pattern despite the non-whitelisted host.
Triggered rules
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 is a prebuilt tarball from the official factorio.com domain, which is the project's legitimate release infrastructure, making it a normal and expected AUR packaging pattern despite the non-whitelisted host.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:27
factorio_headless_x64_${pkgver}.tar.xz::https://www.factorio.com/get-download/${pkgver}/headless/linux64
PKGBUILD
1 offending line(s) highlighted# Maintainer: Max Meinhold <mxmeinhold@gmail.com>
# Contributor: mickael9 <mickael9@gmail.com>
# Contributor: Sebastien Duthil <duthils@free.fr>
# Inspiration for service and config files: https://github.com/Bisa/factorio-init
pkgname=factorio-headless
pkgver=2.1.23
pkgrel=1
pkgdesc="A 2D game about building and maintaining factories - Server version (stable branch)"
arch=('x86_64')
url="http://www.factorio.com/"
license=('LicenseRef-Custom-Commercial')
depends=('glibc')
conflicts=('factorio' 'factorio-demo' 'factorio-experimental' 'factorio-headless-experimental')
install=factorio-headless.install
backup=(etc/conf.d/factorio
etc/factorio/server-settings.json
etc/factorio/map-gen-settings.json
etc/factorio/map-settings.json
)
source=(LICENSE
factorio-headless.service
factorio-headless.conf
factorio-headless.sysusers
factorio-headless.tmpfiles
factorio_headless_x64_${pkgver}.tar.xz::https://www.factorio.com/get-download/${pkgver}/headless/linux64
)
sha256sums=('e15ac4bbd0ccf3956a0a281535045e0ffb163bf10f0e3fde6b71642921bf6310'
'72bbef31fced163e5993eff0e73a836a557165775eb77e0d69b24fe5ec4690a7'
'40931abfd15db6027c02471c20f86923e74471a9eb91453638c42e0f968027f5'
'87dae15d1bcfb4683faea9c66498bd916bd27f8aa0dc724c4e21076dcf17da64'
'76d9de57f9a7b14266e09f77f176a8430508d8778ebfec3c5c5125a54806bb90'
'4633250f7747676279fb210a1717ba34caed6b9890c951fb3e469eefe43c46b9')
# no modifications needed, the executable looks for:
# - data in /usr/share/factorio
# - config in ~/.factorio
package() {
install -Dm755 "${srcdir}/factorio/bin/x64/factorio" "${pkgdir}/usr/bin/factorio"
install -d "${pkgdir}/usr/share/factorio"
cp -r "${srcdir}/factorio/data"/* "${pkgdir}/usr/share/factorio"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/factorio-headless.sysusers" "${pkgdir}/usr/lib/sysusers.d/factorio.conf"
install -Dm644 "${srcdir}/factorio-headless.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/factorio.conf"
install -Dm644 "${srcdir}/factorio-headless.conf" "${pkgdir}/etc/conf.d/factorio"
install -Dm644 "${srcdir}/factorio-headless.service" "${pkgdir}/usr/lib/systemd/system/factorio.service"
# server-settings.json can contain sensitive data so we need to make it only readable by the factorio user
install -Dm600 "${srcdir}/factorio/data/server-settings.example.json" "${pkgdir}/etc/factorio/server-settings.json"
install -Dm644 "${srcdir}/factorio/data/map-gen-settings.example.json" "${pkgdir}/etc/factorio/map-gen-settings.json"
install -Dm644 "${srcdir}/factorio/data/map-settings.example.json" "${pkgdir}/etc/factorio/map-settings.json"
# public isn't really a good default especially with the default name/description
sed -i 's/^ "public": true/ "public": false/' "${pkgdir}/etc/factorio/server-settings.json"
}
Changes since previous scan
--- PKGBUILD @ 2026-06-22 20:14+++ PKGBUILD @ 2026-10-24 00:14@@ -4,7 +4,7 @@ # Inspiration for service and config files: https://github.com/Bisa/factorio-init pkgname=factorio-headless-pkgver=2.0.77+pkgver=2.1.23 pkgrel=1 pkgdesc="A 2D game about building and maintaining factories - Server version (stable branch)" arch=('x86_64')@@ -32,7 +32,7 @@ '40931abfd15db6027c02471c20f86923e74471a9eb91453638c42e0f968027f5' '87dae15d1bcfb4683faea9c66498bd916bd27f8aa0dc724c4e21076dcf17da64' '76d9de57f9a7b14266e09f77f176a8430508d8778ebfec3c5c5125a54806bb90'- 'c4efc11529f74d37c96933e291e0db73fd9f5aa4738913d9301b24680b3e947f')+ '4633250f7747676279fb210a1717ba34caed6b9890c951fb3e469eefe43c46b9') # no modifications needed, the executable looks for: # - data in /usr/share/factorioScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 19:38:15 | Medium | 1 |
| 2026-06-22 20:14:17 | Clean | 2 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 22:34:54 | Medium | 1 |