courier-maildrop

MEDIUM
maintainer runnytu 20 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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