ldap-user-manager
The package uses composer to install a project dependency (phpmailer) during prepare(), which is a normal part of building PHP projects, not an external install via pipx/uv/etc., and poses no real risk.
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 90%): The package uses composer to install a project dependency (phpmailer) during prepare(), which is a normal part of building PHP projects, not an external install via pipx/uv/etc., and poses no real risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:31
composer require "phpmailer/phpmailer" --no-interaction --ignore-platform-reqs
PKGBUILD
1 offending line(s) highlighted# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="ldap-user-manager"
pkgver=2.2.1
# upstream renamed the project to luminary in 2.0
_srcname=luminary
pkgrel=1
pkgdesc="A PHP web-based interface for LDAP user account management and self-service password change"
url="https://github.com/wheelybird/ldap-user-manager"
license=("MIT")
arch=("any")
depends=("php")
makedepends=("composer")
optdepends=("openldap: LDAP server")
source=("$pkgname-$pkgver.tar.gz::https://github.com/wheelybird/$_srcname/archive/refs/tags/v$pkgver.tar.gz"
"config.env.php")
sha256sums=('689132fd536dff34fc5dd3473c41e1e64f0ade48fca76e5b17d1672f58f89e42'
'f38f5fb62435791422dadca7bf683dc12fe2d482f9594a13a6d33df00b72cf28')
backup=("etc/webapps/ldap-user-manager/config.env.php")
options=("!strip")
prepare(){
# include environmental variables
cd "$_srcname-$pkgver"
sed -i "www/includes/config.inc.php" \
-e 's|<?php|<?php\n\ninclude ("config.env.php");|'
# user maximum integer available
sed -i "www/includes/web_functions.inc.php" \
-e 's|rand(10000000, (int)100000000000);|rand(10000000, mt_getrandmax());|g'
# install phpmailer and replace its location
composer require "phpmailer/phpmailer" --no-interaction --ignore-platform-reqs
sed -i "www/includes/mail_functions.inc.php" \
-e "s|/opt/PHPMailer/|../vendor/phpmailer/phpmailer/|g"
}
package(){
cd "$_srcname-$pkgver"
install -d "$pkgdir/usr/share/webapps/ldap-user-manager"
cp -r "www"/* "$pkgdir/usr/share/webapps/ldap-user-manager"
install -D -o root -g http -m 640 "$srcdir/config.env.php" "$pkgdir/etc/webapps/ldap-user-manager/config.env.php"
ln -s "/etc/webapps/ldap-user-manager/config.env.php" "$pkgdir/usr/share/webapps/ldap-user-manager/includes/config.env.php"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-30 00:29+++ PKGBUILD @ 2026-11-01 00:21@@ -1,7 +1,9 @@ # Maintainer: AlphaJack <alphajack at tuta dot io> pkgname="ldap-user-manager"-pkgver=1.11+pkgver=2.2.1+# upstream renamed the project to luminary in 2.0+_srcname=luminary pkgrel=1 pkgdesc="A PHP web-based interface for LDAP user account management and self-service password change" url="https://github.com/wheelybird/ldap-user-manager"@@ -10,16 +12,16 @@ depends=("php") makedepends=("composer") optdepends=("openldap: LDAP server")-source=("$pkgname-$pkgver.tar.gz::https://github.com/wheelybird/ldap-user-manager/archive/refs/tags/v$pkgver.tar.gz"+source=("$pkgname-$pkgver.tar.gz::https://github.com/wheelybird/$_srcname/archive/refs/tags/v$pkgver.tar.gz" "config.env.php")-sha256sums=('71f464670bec4736f2369e7bdba7152887ca2b8be1a593a97456fd46b042a1b5'+sha256sums=('689132fd536dff34fc5dd3473c41e1e64f0ade48fca76e5b17d1672f58f89e42' 'f38f5fb62435791422dadca7bf683dc12fe2d482f9594a13a6d33df00b72cf28') backup=("etc/webapps/ldap-user-manager/config.env.php") options=("!strip") prepare(){ # include environmental variables- cd "$pkgname-$pkgver"+ cd "$_srcname-$pkgver" sed -i "www/includes/config.inc.php" \ -e 's|<?php|<?php\n\ninclude ("config.env.php");|' # user maximum integer available@@ -32,7 +34,7 @@ } package(){- cd "$pkgname-$pkgver"+ cd "$_srcname-$pkgver" install -d "$pkgdir/usr/share/webapps/ldap-user-manager" cp -r "www"/* "$pkgdir/usr/share/webapps/ldap-user-manager" install -D -o root -g http -m 640 "$srcdir/config.env.php" "$pkgdir/etc/webapps/ldap-user-manager/config.env.php"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 11:55:28 | Medium | 1 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 15:52:51 | Medium | 1 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |