courier-maildrop

MEDIUM
maintainer runnytu 20 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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