emeditor-wine
maintainer duanluan
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source tarball from a GitHub repository and a proprietary MSI installer from the official emeditor.com domain; the MSI is installed as data, not executed during build, and the rest is a standard wrapper script and metadata, posing minimal risk despite the non-whitelisted host for the source.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source tarball from a GitHub repository and a proprietary MSI installer from the official emeditor.com domain; the MSI is installed as data, not executed during build, and the rest is a standard wrapper script and metadata, posing minimal risk despite the non-whitelisted host for the source.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:31
"${_msi}::https://download.emeditor.com/${_msi}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: duanluan <duanluan@outlook.com>
2
3
pkgname=emeditor-wine
4
pkgver=26.1.1
5
pkgrel=6
6
pkgdesc='EmEditor text editor running through Wine'
7
arch=('x86_64')
8
url='https://github.com/duanluan/emeditor-linux'
9
license=('MIT' 'custom:proprietary')
10
depends=(
11
'bash'
12
'curl'
13
'hicolor-icon-theme'
14
'noto-fonts-cjk'
15
'wine'
16
'xorg-xrandr'
17
'xorg-xrdb'
18
)
19
makedepends=(
20
'7zip'
21
)
22
optdepends=(
23
'winetricks: optional Wine prefix tuning'
24
)
25
options=('!strip')
26
_commit='3b24fedf63951c3aa8557b0212e6f9c08cc0fc8a'
27
_upstream="emeditor-linux-${_commit}"
28
_msi="emed64_${pkgver}.msi"
29
source=(
30
"${_upstream}.tar.gz::https://github.com/duanluan/emeditor-linux/archive/${_commit}.tar.gz"
31
"${_msi}::https://download.emeditor.com/${_msi}"
32
)
33
sha256sums=(
34
'271b05fbfae55372d7a4df1ac2a966c6bc19d38c99cc14fdf4e8f2bad1f84621'
35
'bc54ae3700a657c159f176b8f5ad646a4cfef3090d8097ff8dfa99067340f5b5'
36
)
37
38
package() {
39
local upstream_dir="${srcdir}/${_upstream}"
40
41
7z e -y "${srcdir}/${_msi}" 'Binary.emeditor.targetsize256.png' \
42
-o"${srcdir}" >/dev/null
43
44
install -Dm755 "${upstream_dir}/scripts/emeditor-wine" \
45
"${pkgdir}/usr/bin/emeditor-wine"
46
install -Dm644 "${upstream_dir}/assets/emeditor-wine.desktop" \
47
"${pkgdir}/usr/share/applications/emeditor-wine.desktop"
48
install -Dm644 "${srcdir}/${_msi}" \
49
"${pkgdir}/usr/share/${pkgname}/${_msi}"
50
install -Dm644 "${srcdir}/Binary.emeditor.targetsize256.png" \
51
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/emeditor-wine.png"
52
install -Dm644 "${upstream_dir}/LICENSE" \
53
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54
install -Dm644 "${upstream_dir}/README.md" \
55
"${pkgdir}/usr/share/doc/${pkgname}/README.md"
56
}
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |