courier-maildrop

maintainer runnytu · 19 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The package sets the setuid bit on the installed binary 'maildrop' using chmod u+s, which is a privileged operation that could pose a security risk if the binary is compromised.

Triggered rules

MEDIUM Privileged / out-of-pacman install (sudoers, setuid, or self-update) privileged_install

The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.

  • PKGBUILD:37 chmod u+s "${pkgdir}/usr/bin/maildrop"
MEDIUM AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package sets the setuid bit on the installed binary 'maildrop' using chmod u+s, which is a privileged operation that could pose a security risk if the binary is compromised.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Runnytu < runnytu at gmail dot com >
2# Old Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
3# Contributor: tobias <tobias@archlinux.org>
4# Contributor: Tobias Kieslich <tobias@justdreams.de>
5
6pkgname=courier-maildrop
7_srcname=maildrop
8pkgver=4.0.2
9pkgrel=1
10pkgdesc="mail delivery agent - procmail like but nicer syntax"
11arch=('i686' 'x86_64')
12license=('GPL3')
13url="https://courier-mta.org/maildrop/"
14depends=('courier-authlib>=0.72.7' 'gamin' 'pcre2' 'gdbm' 'courier-unicode>=2.1' 'libidn')
15conflicts=('courier-mta')
16options=('!libtool' '!staticlibs')
17source=(https://downloads.sourceforge.net/project/courier/${_srcname}/${pkgver}/${_srcname}-${pkgver}.tar.bz2)
18sha512sums=('d02c7e9868441e0c4df3a9ada3616b9effe07bbb42ccd447ef301659e2b67ad6405aeec2a638015fa52dafbd0c1941cef930bd4211e364ef77ad4994d560b245')
19
20build() {
21 cd "${srcdir}/${_srcname}-${pkgver}"
22
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc/courier \
25 --localstatedir=/var \
26 --mandir=/usr/share/man \
27 --with-db=gdbm \
28 --with-devel \
29 --enable-dovecotauth
30 make LDFLAGS+=-lstdc++
31}
32
33package() {
34 cd "${srcdir}/${_srcname}-${pkgver}"
35
36 make DESTDIR="${pkgdir}" install
37 chmod u+s "${pkgdir}/usr/bin/maildrop"
38}
39

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion