logkit-bin

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD installs a prebuilt binary (logkit) downloaded from pandora-dl.qiniu.com, which is Qiniu Cloud's CDN/download host. Qiniu is a legitimate Chinese cloud storage/CDN provider and this appears to be the official distribution channel for the logkit-pro product (the project URL is logkit-pro.qiniu.com). However, the binary is not built from source — it is a precompiled executable installed directly to /usr/bin/logkit. There is a sha256sum check, which mitigates tampering in transit, but the trust anchor is entirely the qiniu.com host and whoever controls that URL. This is a genuine supply-chain concern: if the download URL were compromised or the file replaced, users would execute arbitrary code. This is the standard medium-risk pattern for prebuilt binaries from a vendor host that is not a widely-recognized official release mirror (like GitHub releases). The host is plausibly official for this product, but it is not verifiable without additional context, and the binary execution risk is real.

Triggered rules

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=("${pkgname}-${pkgver}.tar.gz::https://pandora-dl.qiniu.com/logkit_v${pkgver}.tar.gz")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD installs a prebuilt binary (logkit) downloaded from pandora-dl.qiniu.com, which is Qiniu Cloud's CDN/download host. Qiniu is a legitimate Chinese cloud storage/CDN provider and this appears to be the official distribution channel for the logkit-pro product (the project URL is logkit-pro.qiniu.com). However, the binary is not built from source — it is a precompiled executable installed directly to /usr/bin/logkit. There is a sha256sum check, which mitigates tampering in transit, but the trust anchor is entirely the qiniu.com host and whoever controls that URL. This is a genuine supply-chain concern: if the download URL were compromised or the file replaced, users would execute arbitrary code. This is the standard medium-risk pattern for prebuilt binaries from a vendor host that is not a widely-recognized official release mirror (like GitHub releases). The host is plausibly official for this product, but it is not verifiable without additional context, and the binary execution risk is real.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
2
3pkgname=logkit-bin
4pkgver=1.5.4
5pkgrel=1
6pkgdesc='Very powerful server agent for collecting & sending logs & metrics with an easy-to-use web console'
7arch=('x86_64')
8url="https://logkit-pro.qiniu.com"
9license=('Apache')
10provides=('logkit')
11depends=('glibc')
12source=("${pkgname}-${pkgver}.tar.gz::https://pandora-dl.qiniu.com/logkit_v${pkgver}.tar.gz")
13sha256sums=('ff6f7bc0f59b760da2d6bb123f5b646a2d48b5939f46b187fe82b66c90385738')
14
15package() {
16 cd "${srcdir}/_package"
17 install -Dm755 logkit "${pkgdir}/usr/bin/logkit"
18 mkdir -p "${pkgdir}/usr/share/logkit"
19 cp -dR public "${pkgdir}/usr/share/logkit/public"
20 install -Dm644 logkit.conf "${pkgdir}/etc/conf.d/logkit.conf"
21}
22# vim:set ts=2 sw=2 et:

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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