aiot-ide
The package downloads a prebuilt binary .deb from 'vela-ide.cnbj3-fusion.mi-fds.com', which is a Xiaomi/Mi CDN/storage subdomain (mi-fds.com is Xiaomi's file distribution service). The URL structure and package content (AIoT IDE for Xiaomi Vela/quickApp development) are consistent with an official Xiaomi developer tool. However, this is still a prebuilt, closed-source binary blob from a vendor CDN rather than a reproducible build from source, and the host is not the primary project domain (iot.mi.com). A sha256sum is provided, which mitigates substitution risk at the current version. The PKGBUILD itself is straightforward: it extracts the .deb and installs files. The main concern is the standard supply-chain risk of executing a proprietary prebuilt binary from a CDN — if the CDN were compromised or the URL reused for a different binary, the sha256 check would catch it for the pinned version but future updates could silently introduce malicious code. This is a legitimate medium-severity concern (prebuilt binary from unofficial/CDN host) but not an active attack.
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:40
source=("$pkgname-$pkgver.deb::https://vela-ide.cnbj3-fusion.mi-fds.com/vela-ide/ide/v1.7.0/AIoT_IDE_ubuntu.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The package downloads a prebuilt binary .deb from 'vela-ide.cnbj3-fusion.mi-fds.com', which is a Xiaomi/Mi CDN/storage subdomain (mi-fds.com is Xiaomi's file distribution service). The URL structure and package content (AIoT IDE for Xiaomi Vela/quickApp development) are consistent with an official Xiaomi developer tool. However, this is still a prebuilt, closed-source binary blob from a vendor CDN rather than a reproducible build from source, and the host is not the primary project domain (iot.mi.com). A sha256sum is provided, which mitigates substitution risk at the current version. The PKGBUILD itself is straightforward: it extracts the .deb and installs files. The main concern is the standard supply-chain risk of executing a proprietary prebuilt binary from a CDN — if the CDN were compromised or the URL reused for a different binary, the sha256 check would catch it for the pinned version but future updates could silently introduce malicious code. This is a legitimate medium-severity concern (prebuilt binary from unofficial/CDN host) but not an active attack.
PKGBUILD
1 offending line(s) highlighted# Maintainer: OrPudding <t3164473115@163.com>
pkgname=aiot-ide
pkgver=1.7.0
pkgrel=1
pkgdesc="Code editing. Redefined. AIoT IDE is the first choice for developing quickApp."
arch=('x86_64')
url="https://iot.mi.com/vela/quickapp/"
license=('custom')
options=('!debug')
depends=(
'ca-certificates'
'alsa-lib'
'at-spi2-core'
'atk'
'cairo'
'cups'
'curl'
'dbus'
'expat'
'gcc-libs'
'glib2'
'gtk3'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon'
'libxkbfile'
'libxrandr'
'mesa'
'nspr'
'nss'
'pango'
'systemd-libs'
'xdg-utils'
'vulkan-icd-loader'
)
source=("$pkgname-$pkgver.deb::https://vela-ide.cnbj3-fusion.mi-fds.com/vela-ide/ide/v1.7.0/AIoT_IDE_ubuntu.deb")
sha256sums=('37809fde16cac7838e757e81754236f235af7180a56ecf40c78ad8030f5533e6')
prepare() {
# Extract DEB package
ar x "$pkgname-$pkgver.deb"
tar -xf data.tar.*
}
package() {
# Copy all files
cp -r usr "$pkgdir"
# Create executable symlink
install -d "$pkgdir/usr/bin/"
ln -s "/usr/share/$pkgname/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
# Fix permissions
find "$pkgdir/usr/share/$pkgname" -type d -exec chmod 755 {} \;
find "$pkgdir/usr/share/$pkgname" -type f -executable -exec chmod 755 {} \;
# Fix desktop files
find "$pkgdir/usr/share/applications" -name "*.desktop" -exec chmod 644 {} \;
# Install license
if [ -f "$pkgdir/usr/share/$pkgname/LICENSE.txt" ]; then
install -Dm644 "$pkgdir/usr/share/$pkgname/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
elif [ -f "$pkgdir/usr/share/$pkgname/LICENSES.chromium.html" ]; then
install -Dm644 "$pkgdir/usr/share/$pkgname/LICENSES.chromium.html" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.html"
else
install -Dm644 /dev/null "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
echo "Proprietary license - see package source" > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
fi
# Fix icon permissions
if [ -d "$pkgdir/usr/share/pixmaps" ]; then
find "$pkgdir/usr/share/pixmaps" -type f -exec chmod 644 {} \;
fi
# Ensure sandbox is executable
if [ -f "$pkgdir/usr/share/$pkgname/chrome-sandbox" ]; then
chmod 4755 "$pkgdir/usr/share/$pkgname/chrome-sandbox"
fi
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |