check_md_raid
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.
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-11-01 00:21:48 | Low | 3 |
| 2026-10-31 00:07:41 | Low | 3 |
| 2026-10-30 00:29:30 | Low | 3 |
| 2026-10-29 00:13:55 | Low | 3 |
| 2026-10-28 00:06:54 | Low | 3 |
| 2026-10-27 00:23:28 | Low | 3 |
| 2026-10-26 00:12:40 | Low | 3 |
| 2026-10-25 00:20:48 | Low | 3 |
| 2026-10-24 00:14:55 | Low | 3 |
| 2026-10-23 00:02:19 | Low | 3 |
| 2026-10-22 00:13:10 | Low | 3 |
| 2026-10-21 00:12:50 | Low | 3 |
| 2026-10-20 00:10:31 | Low | 3 |
| 2026-10-19 00:03:55 | Low | 3 |
| 2026-10-18 00:06:55 | Low | 3 |
| 2026-10-17 00:21:55 | Low | 3 |
| 2026-10-16 00:12:47 | Low | 3 |
| 2026-10-15 00:28:05 | Low | 3 |
| 2026-10-14 00:06:47 | Low | 3 |
| 2026-10-13 00:23:45 | Low | 3 |