lens-bin

LOW
maintainer ogarcia 16 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt AppImage from the project's official API domain (k8slens.dev), which is plausibly the project's own release infrastructure; the AppImage is extracted and installed without executing arbitrary remote code, and the checksum is verified, making this a standard AUR binary package with low risk.

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 AppImage from the project's official API domain (k8slens.dev), which is plausibly the project's own release infrastructure; the AppImage is extracted and installed without executing arbitrary remote code, and the checksum is verified, making this a standard AUR binary package with low risk.

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:17 source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${arch}.AppImage"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
2# Maintainer: istimaldar_sntlk <istimaldar@gmail.com>
3# Contributor: zer0def <zer0def@github>
4
5_pkgname=lens
6pkgname=lens-bin
7pkgver=2026.9.181013
8pkgrel=1
9pkgdesc='The Kubernetes IDE'
10arch=('x86_64')
11license=('LicenseRef-Custom')
12url='https://lenshq.io'
13depends=('gtk3' 'libxss' 'nss')
14provides=('lens')
15conflicts=('lens')
16options=('!debug' '!strip' '!emptydirs')
17source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${arch}.AppImage"
18 "${_pkgname}.desktop")
19b2sums=('5887f05feeeb2d8be7c45577682d56b951d9a702a7f94217459b8bf4e3bc516166fe3f65512a2a1d9e147d1f2ac5fc052293bed18ed07a0edb4c9aaf1bca4578'
20 '7c5afc77c4e921f198139efeb168a16c6208fe0df1267a224ce62bde160d22ec68467f57a560742307ff2bf4e6b5d0bcbf07062b82f1fabcd95e7368d9d02477')
21
22prepare() {
23 chmod +x "${_pkgname}-${pkgver}.${arch}.AppImage"
24 "./${_pkgname}-${pkgver}.${arch}.AppImage" --appimage-extract
25}
26
27package() {
28 # move the entire distribution to /usr/share
29 mkdir -p "${pkgdir}"/usr/share/${_pkgname}
30 mv "${srcdir}"/squashfs-root/* \
31 "${pkgdir}"/usr/share/${_pkgname}
32
33 # icon
34 install -Dm 644 "${pkgdir}"/usr/share/${_pkgname}/usr/share/icons/hicolor/512x512/apps/${_pkgname}-desktop.png \
35 "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/${_pkgname}-desktop.png
36
37 # desktop file
38 install -Dm 644 "${srcdir}"/${_pkgname}.desktop \
39 "${pkgdir}"/usr/share/applications/${_pkgname}.desktop
40
41 # symlink binary
42 mkdir -p "${pkgdir}"/usr/bin
43 ln -sf /usr/share/${_pkgname}/lens-desktop \
44 "${pkgdir}"/usr/bin/lens-desktop
45
46 # symlink license
47 mkdir -p "${pkgdir}"/usr/share/licenses/${_pkgname}
48 ln -sf /usr/share/${_pkgname}/resources/static/license.md \
49 "${pkgdir}"/usr/share/licenses/${_pkgname}/LICENSE
50
51 # clean and fix permissions
52 find "${pkgdir}" -type d -exec chmod 755 {} \;
53 chmod -x "${pkgdir}"/usr/share/${_pkgname}/*.so
54 rm -rf "${pkgdir}"/usr/share/${_pkgname}/AppRun
55 rm -rf "${pkgdir}"/usr/share/${_pkgname}/lens-desktop.{desktop,png}
56 rm -rf "${pkgdir}"/usr/share/${_pkgname}/usr
57 rm -rf "${pkgdir}"/usr/share/${_pkgname}/resources/extensions/*/dist/*-arm64
58}
59

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion