coremail
Triggered rules
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:9
source=("https://lunkrcdn.icoremail.net/cab/publish/lunkr4mail/cn.coremail.cmclient-ubuntu_${pkgver}-${pkgrel}_amd64.ubuntu.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD downloads a prebuilt binary .deb from lunkrcdn.icoremail.net, which is a CDN subdomain of icoremail.net — the company behind Coremail (a well-known Chinese enterprise email platform). The domain is plausibly the vendor's own CDN rather than a random personal host. However, the package installs a closed-source, prebuilt binary (an Electron-based email client) directly from this CDN with only an MD5 checksum (which is cryptographically weak and provides minimal integrity assurance). There is no GPG signature verification. The binary runs with full user privileges and could exfiltrate email credentials. The host is not the project's primary marketing domain (www-lunkr.coremail.cn) but is a CDN subdomain, which is a common pattern for software distribution. The risk is a real supply-chain concern: if the CDN host is compromised or the binary is swapped, the MD5 check provides little protection. This is a classic medium-severity AUR pattern — prebuilt proprietary binary from a vendor-adjacent but not primary domain, with weak integrity verification.
PKGBUILD
1 offending line(s) highlighted# Maintainer: ernest <307141632@qq.com>
pkgname=coremail
pkgdesc="Coremail 邮箱客户端 安全省心,轻松连通世界"
pkgver=4.2.1
pkgrel=1427
arch=('x86_64')
url="https://www-lunkr.coremail.cn/"
license=('LicenseRef-coremail')
source=("https://lunkrcdn.icoremail.net/cab/publish/lunkr4mail/cn.coremail.cmclient-ubuntu_${pkgver}-${pkgrel}_amd64.ubuntu.deb")
md5sums=('4b37ad3c5048634932c46b57847e9de8')
options=('!strip' '!debug')
DLAGENTS=('https::/usr/bin/curl -A "Mozilla/5.0" -fLC - --retry 3 --retry-delay 3 -o %o %u')
prepare() {
mv "cn.coremail.cmclient-ubuntu_${pkgver}-${pkgrel}_amd64.ubuntu.deb" "${pkgver}.deb"
ar -x "${pkgver}.deb"
mkdir -p "${pkgname}-${pkgver}"
tar -xf data.tar.xz --directory="${pkgname}-${pkgver}"
}
package() {
cd "$pkgname-$pkgver"
cp -r ./ ${pkgdir}/
# 安装图标到hicolor主题
install -dm755 "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
if [ -f "${pkgdir}/opt/apps/cmclient/entries/icons/cmclient.svg" ]; then
cp "${pkgdir}/opt/apps/cmclient/entries/icons/cmclient.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/coremail.svg"
fi
# 修改desktop文件,添加Path
find "${pkgdir}" -name "*.desktop" -type f -exec \
sed -i 's/Icon=.*/Icon=coremail/' {} \;
find "${pkgdir}" -name "*.desktop" -type f -exec \
sed -i '/^Exec=/i Path=/opt/apps/cmclient/files/' {} \;
# 解决 Wayland 兼容性问题
sed -i '/^[[:space:]]*export LD_LIBRARY_PATH/i \
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then\
export GDK_BACKEND=x11\
fi' "${pkgdir}/opt/apps/cmclient/files/cmclient.sh"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |