check_md_raid
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 Python script downloaded from a project-related but non-whitelisted host (nagios.org exchange); however, it is the project's own plugin, checksummed, and not obfuscated, with patches applied locally—realistic risk is low as it's a standard build of a known monitoring script.
2 higher static findings 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:12
source=("${pkgname}-${pkgver}.py::http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=782&cf_id=24"
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:36
install -d -m 0750 ${pkgdir}/etc/sudoers.d -
PKGBUILD:37
install -D -m 0440 ${srcdir}/sudo ${pkgdir}/etc/sudoers.d/check_md_raid
PKGBUILD
3 offending line(s) highlighted# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=check_md_raid
pkgver=0.7.2
pkgrel=9
pkgdesc="Linux Software RAID Monitoring Plugin for Nagios"
arch=('any')
url="http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/Linux-Software-Raid-Plugin-for-32-2Dbit-and-64-2Dbit-systems/details"
license=('GPL')
depends=('nagios' 'python2' 'mdadm')
optdepends=('sudo: check with non-root user')
source=("${pkgname}-${pkgver}.py::http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=782&cf_id=24"
'0001-use-python2.patch'
'0002-strip-whitespace-from-state.patch'
'0003-use-sudo-when-running-as-non-root-user.patch'
'0004-make-checking-a-clean-state.patch'
'sudo')
sha256sums=('b85f0a77215870839cb18a74d9e38b594eaeda5c44ddc88aff8d2c2246f506f7'
'9721c32d4b8124f2db54f41574008018a605567e50a59eb9ffcd98e99ba8db98'
'527d98535f4cda98a468ea69f6a3cfb3a53e27ecbd2affc553985be70e29125a'
'6267ecf8aff1da308216675f94e9e91f91349ed3b1054b8c8c1dc4d08ef632ad'
'542d756357f4e8afd16962015428efccabb9f4410c873556a2b8d6e0cc37ca69'
'4882cf971684deb2afd6e1deb3883272dd41ed544576619f816498c6111c16cc')
build() {
cp ${pkgname}-${pkgver}.py ${pkgname}
patch -Np1 < ${srcdir}/0001-use-python2.patch
patch -Np1 < ${srcdir}/0002-strip-whitespace-from-state.patch
patch -Np1 < ${srcdir}/0003-use-sudo-when-running-as-non-root-user.patch
patch -Np1 < ${srcdir}/0004-make-checking-a-clean-state.patch
}
package() {
install -D -m 0755 ${srcdir}/${pkgname} ${pkgdir}/usr/lib/monitoring-plugins/${pkgname}
install -d -m 0750 ${pkgdir}/etc/sudoers.d
install -D -m 0440 ${srcdir}/sudo ${pkgdir}/etc/sudoers.d/check_md_raid
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |