piwigo
The source is a zip file from the official project's domain (piwigo.org) used to build the package; although the host is not on a standard whitelist, it is the project's own release infrastructure, and the content is verified via provided checksums, making this a normal AUR packaging practice with low risk.
Triggered rules
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 zip file from the official project's domain (piwigo.org) used to build the package; although the host is not on a standard whitelist, it is the project's own release infrastructure, and the content is verified via provided checksums, making this a normal AUR packaging practice with low risk.
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:25
source=("${pkgname}-${pkgver}.zip::https://piwigo.org/download/dlcounter.php?code=${pkgver}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Fanch
# Co-maintainer: Henry-Joseph Audéoud <h.audeoud@gmail.com>
pkgname=piwigo
pkgver=13.8.0
pkgrel=1
pkgdesc='Photo gallery software for the web'
arch=(any)
url="https://piwigo.org/"
license=("GPL")
depends=('php>=8.1' 'mariadb>=10.1')
optdepends=('php-gd: graphic library (one graphic library is required)'
'imagemagick: graphic library (one graphic library is required)'
'php-apache: Apache Web Server (one web server is required)'
'nginx: nginx Web Server (one web server is required)'
'php-fpm: FastCGI, required with nginx Web Server'
'ffmpeg: VideoJS plugin to create video poster'
'poppler: generate poster from PDF files'
'bash: some command-line scripts'
'perl: some command-line scripts')
makedepends=("unzip")
backup=('etc/webapps/piwigo/apache.conf'
'etc/php/php-fpm.d/piwigo.conf')
options=(emptydirs)
source=("${pkgname}-${pkgver}.zip::https://piwigo.org/download/dlcounter.php?code=${pkgver}"
'apache.conf'
'piwigo.perm.sh'
'nginx.conf'
'php-fpm.conf'
'php-fpm.service.conf')
md5sums=('5ba5ea3e75fbca5bcc9d77d8c4bbb020' # Provided by upstream
SKIP SKIP SKIP SKIP SKIP)
sha256sums=('7f6a2a796693a4ce245fd67ebdd8bf873dc6cb1a33acd567104a10347af7fe1d'
'64435b2f5fe29ab6201e00a755bff5dbe77bc4450559a2668a21e750ce13f8be'
'0e6d4af6552f4eead62825999eee115152cf5f884f2c65b759379ac5b15d36f7'
'f173b613e0b5bb1e3390066ddd362afc7904848f5959b65a03919ae8e7674f91'
'8c0f750df745cfcb23a6e61993683a55c0b8ea8b0e0805c5b1bf72312d653b63'
'ca2387a701ec88b1c995f2dfc35832c3d3aea6f54741da85cf246fb64bc8d2bb')
package() {
install_path="${pkgdir}/usr/share/webapps/piwigo"
var_path="${pkgdir}/var/lib/piwigo"
http_user=33
# Install main files
install -d "${install_path}"
cp -a ${pkgname}/* "${install_path}/"
# Install doc
install -d "${pkgdir}/usr/share/doc/piwigo/"
mv -t "${pkgdir}/usr/share/doc/piwigo/" "${install_path}/docs"/*
rmdir "${install_path}/docs"
# Variable data directories. Should be in /var, but no way to change it in
# piwigo configuration (Bug Report?). So use symbolic links to allow that.
install -d "${var_path}"
mv "${install_path}/_data" "${var_path}/"
ln -s "${var_path#${pkgdir}}/_data" "${install_path}/"
mv "${install_path}/upload" "${var_path}/"
ln -s "${var_path#${pkgdir}}/upload" "${install_path}/"
chown -R ${http_user}:${http_user} "${var_path}"
# Install apache & nginx conf'
install -D -m644 apache.conf "${pkgdir}/etc/webapps/piwigo/apache.conf"
install -D -m644 nginx.conf "${pkgdir}/etc/nginx/sites-available/piwigo.conf.example"
install -D -m644 php-fpm.conf "${pkgdir}/etc/php/php-fpm.d/piwigo.conf"
install -D -m644 php-fpm.service.conf "${pkgdir}/usr/lib/systemd/system/php-fpm.service.d/piwigo.conf"
# database.inc.php should be writeable in ${install_path}/local/config,
# with no way to select the path of this file. Make that directory
# writable by http. Also, make it not readable by anyone else for
# security.
# TODO: raise a bug request to be able to set this path to go in e.g.
# /etc/piwigo/. It will better fit here.
chown ${http_user}:${http_user} "${install_path}/local/config"
chmod o-rwx "${install_path}/local/config/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |