cnspec
maintainer atomic111
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt binary from the project's official release host, which is plausibly controlled by the vendor; the worst case of a swapped source is code execution, but the host is specific to the project and not a generic file-sharing service.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from the project's official release host, which is plausibly controlled by the vendor; the worst case of a swapped source is code execution, but the host is specific to the project and not a generic file-sharing service.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
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=("https://releases.mondoo.com/cnspec/${orignalVersion}/cnspec_${orignalVersion}_linux_amd64.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Mondoo Inc <hello@mondoo.com>
2
# Maintainer: Dominik Richter <dom@mondoo.com>
3
# Maintainer: Patrick Münch <patrick@mondoo.com>
4
#
5
pkgname=cnspec
6
orignalVersion="13.31.1"
7
pkgver="${orignalVersion/-/_}"
8
pkgrel=1
9
pkgdesc="Cloud-Native Security and Policy Framework "
10
url="https://mondoo.com"
11
license=('BUSL-1.1')
12
source=("https://releases.mondoo.com/cnspec/${orignalVersion}/cnspec_${orignalVersion}_linux_amd64.tar.gz"
13
)
14
arch=('x86_64')
15
depends=('mql')
16
conflicts=('cnquery')
17
replaces=('cnquery')
18
sha256sums=('cf1cc91264442bb1465b4c02ec6a68b8d611f4608df9a956a037c9de9e0fa835'
19
)
20
21
22
package() {
23
install -dm755 ${pkgdir}/usr/bin
24
cp ${srcdir}/$pkgname ${pkgdir}/usr/bin/.
25
ln -s /usr/bin/cnspec "${pkgdir}/usr/bin/cnquery"
26
27
28
}
29
30
#vim: syntax=sh
Changes since previous scan
--- PKGBUILD @ 2026-07-30 00:17+++ PKGBUILD @ 2026-08-03 00:08@@ -3,7 +3,7 @@ # Maintainer: Patrick Münch <patrick@mondoo.com> # pkgname=cnspec-orignalVersion="13.31.0"+orignalVersion="13.31.1" pkgver="${orignalVersion/-/_}" pkgrel=1 pkgdesc="Cloud-Native Security and Policy Framework "@@ -15,7 +15,7 @@ depends=('mql') conflicts=('cnquery') replaces=('cnquery')-sha256sums=('0a083df0d4a54d78fc1db53e3df76c9d8edfe47e25b621718f256c47c38a804b'+sha256sums=('cf1cc91264442bb1465b4c02ec6a68b8d611f4608df9a956a037c9de9e0fa835' ) Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 15:15:12 | MEDIUM | 1 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 07:37:32 | MEDIUM | 1 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 07:22:42 | MEDIUM | 1 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 19:14:42 | MEDIUM | 1 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |