dimagent-bin

MEDIUM
maintainer zerob13 0 votes scanned 2026-10-17 00:21:55.226236
View on AUR
Why flagged

The package downloads a prebuilt .deb binary from a non-standard, project-specific host (dimcode.echooai.com) which is not the project's main domain and could allow silent replacement of the executable; this creates a supply-chain risk despite the checksum.

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:14 source=("$_deb::https://dimcode.echooai.com/updates/stable/linux/x64/DimAgent-$pkgver.deb")
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt .deb binary from a non-standard, project-specific host (dimcode.echooai.com) which is not the project's main domain and could allow silent replacement of the executable; this creates a supply-chain risk despite the checksum.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: DimAgent <app@fazhitech.com>
2# Generated by scripts/generate-desktop-aur-package.mjs — do not edit by hand.
3pkgname=dimagent-bin
4pkgver=0.9.33
5pkgrel=1
6pkgdesc="DimAgent desktop client — AI coding agent"
7arch=('x86_64')
8url="https://dimagent.cn"
9license=('LicenseRef-DimAgent-EULA')
10depends=('gtk3' 'nss' 'alsa-lib' 'libcups' 'libxtst' 'libxss' 'libsecret' 'libnotify' 'at-spi2-core' 'mesa' 'xdg-utils')
11optdepends=('libappindicator-gtk3: tray icon on desktops without StatusNotifier')
12options=('!strip' '!debug' '!lto')
13_deb=DimAgent-$pkgver.deb
14source=("$_deb::https://dimcode.echooai.com/updates/stable/linux/x64/DimAgent-$pkgver.deb")
15sha512sums=('329f0b651b9c364043377c0993dd9ec607633299b23d6192a118314813378c78f9cecd706f572535ec0bab701f7ae71825973a8d4305cce4b86b786db353f755')
16# makepkg has no extractor for .deb, and the payload is unpacked in package()
17# straight into $pkgdir anyway.
18noextract=("$_deb")
19
20package() {
21 bsdtar -O -xf "$srcdir/$_deb" data.tar.xz | bsdtar -C "$pkgdir" -xf -
22
23 # Debian's changelog has no meaning in a pacman package.
24 rm -rf "$pkgdir/usr/share/doc"
25
26 # Electron's sandbox helper has to be setuid root or the app refuses to start
27 # with "SUID sandbox helper binary was found, but is not configured correctly".
28 # The .deb sets this from its postinst, which pacman never runs.
29 chmod 4755 "$pkgdir/opt/DimAgent/chrome-sandbox"
30
31 # The .deb ships no launcher on PATH; its desktop entry runs the binary by
32 # absolute path.
33 install -d "$pkgdir/usr/bin"
34 ln -s "/opt/DimAgent/DimAgent" "$pkgdir/usr/bin/dimagent-desktop"
35
36 install -Dm644 "$pkgdir/opt/DimAgent/LICENSE.electron.txt" \
37 "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt"
38}
39

Scan history

Scanned at (UTC)SeverityRules
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
2026-10-12 00:18:51 Medium 2
2026-10-11 00:26:05 Medium 2
2026-10-10 00:11:52 Medium 2
2026-10-09 00:05:33 Medium 2
2026-10-08 00:28:03 Medium 2
2026-10-07 00:21:34 Medium 2
2026-10-06 00:13:36 Medium 2
2026-10-05 00:08:03 Medium 2
2026-10-04 00:18:08 Medium 2
2026-10-03 00:23:04 Medium 2
2026-10-02 00:00:32 Medium 2
2026-10-01 00:02:06 Medium 2
2026-09-30 00:20:07 Medium 2
2026-09-29 00:07:46 Medium 2
2026-09-28 00:28:32 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