lingma-bin

MEDIUM
maintainer wildkid1024 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads a prebuilt binary .deb from an Aliyun OSS bucket (lingma-ide.oss-rg-china-mainland.aliyuncs.com) which is plausibly the official vendor host for Alibaba's Lingma IDE product (lingma.aliyun.com is the official URL). However, two real concerns remain: (1) the source URL points to a 'latest' rolling artifact rather than a versioned/pinned release, meaning the downloaded binary can change at any time without the PKGBUILD being updated; (2) sha256sums is set to 'SKIP', so there is zero integrity verification of the downloaded executable. Together these mean any compromise or silent replacement of the OSS-hosted binary would go undetected. The host itself is consistent with an official Alibaba/Aliyun product distribution channel, so this is not clearly malicious, but the combination of an executed binary + no checksum + mutable 'latest' URL constitutes a genuine supply-chain risk warranting a medium rating.

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:15 source=("lingma_${pkgver}_amd64.deb::https://lingma-ide.oss-rg-china-mainland.aliyuncs.com/release/latest/lingma_amd64.deb")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt binary .deb from an Aliyun OSS bucket (lingma-ide.oss-rg-china-mainland.aliyuncs.com) which is plausibly the official vendor host for Alibaba's Lingma IDE product (lingma.aliyun.com is the official URL). However, two real concerns remain: (1) the source URL points to a 'latest' rolling artifact rather than a versioned/pinned release, meaning the downloaded binary can change at any time without the PKGBUILD being updated; (2) sha256sums is set to 'SKIP', so there is zero integrity verification of the downloaded executable. Together these mean any compromise or silent replacement of the OSS-hosted binary would go undetected. The host itself is consistent with an official Alibaba/Aliyun product distribution channel, so this is not clearly malicious, but the combination of an executed binary + no checksum + mutable 'latest' URL constitutes a genuine supply-chain risk warranting a medium rating.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: wildkid1024 <wildkid1024 at outlook dot com>
2pkgname=lingma-bin
3pkgver=0.11.0
4pkgrel=4
5pkgdesc="Lingma IDE 灵码编辑器 - Binary Version"
6arch=('x86_64')
7url="https://lingma.aliyun.com/"
8license=('custom')
9depends=('gtk3' 'nss' 'alsa-lib' 'libxss' 'libxtst' 'mesa')
10provides=('lingma' 'lingma-ide')
11conflicts=('lingma' 'lingma-ide')
12options=(!strip)
13
14# 已替换为你提供的最新下载链接
15source=("lingma_${pkgver}_amd64.deb::https://lingma-ide.oss-rg-china-mainland.aliyuncs.com/release/latest/lingma_amd64.deb")
16
17# 清空校验和(使用 latest 链接会自动更新文件,需要重新生成校验和)
18sha256sums=('SKIP')
19
20package() {
21 bsdtar -xOf "lingma_${pkgver}_amd64.deb" data.tar.xz | bsdtar -xJf - -C "${pkgdir}"
22}
23

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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