lingma-bin

MEDIUM
maintainer wildkid1024 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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