feishu-bin

LOW
maintainer alampy 45 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt .deb from Feishu's official CDN; while the host is not on a standard whitelist, it is a legitimate vendor domain, and the binary is repackaged without executing remote code.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from Feishu's official CDN; while the host is not on a standard whitelist, it is a legitimate vendor domain, and the binary is repackaged without executing remote code.

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:23 source_x86_64=("https://sf3-cn.feishucdn.com/obj/ee-appcenter/${_pkghash_x64}/Feishu-linux_x64-${pkgver}.deb")

PKGBUILD

1 offending line(s) highlighted
1# Generated by debtap
2# Maintainer: Allen Zhong <pdev@zhoal.pw>
3# Maintainer: Xuanwo <github@xuanwo.io>
4# Maintainer: Zhou Zhiqiang <aur@strrl.dev>
5# Contributor: Feishu Linux Team <contact@feishu.cn>
6pkgname=feishu-bin
7pkgver=7.66.11
8#_pkgrel=1
9_pkgtyp=stable
10_pkghash_x64=6e3610b5
11_pkghash_arm64=36c6e858
12pkgrel=1
13pkgdesc="Linux client of Feishu (Lark) from Bytedance."
14arch=('x86_64' 'aarch64')
15url="https://www.feishu.cn/"
16license=('unknown')
17depends=('ca-certificates' 'gtk3' 'nss' 'xdg-utils')
18replaces=('bytedance-feishu-stable-bin')
19conflicts=('feishu')
20provides=('bytedance-feishu' 'feishu')
21options=('!strip' '!emptydirs')
22install=${pkgname}.install
23source_x86_64=("https://sf3-cn.feishucdn.com/obj/ee-appcenter/${_pkghash_x64}/Feishu-linux_x64-${pkgver}.deb")
24source_aarch64=("https://sf3-cn.feishucdn.com/obj/ee-appcenter/${_pkghash_arm64}/Feishu-linux_arm64-${pkgver}.deb")
25sha256sums_x86_64=('dc4f0d2c2db3cc83bb9758cf71e3e131f09a7e08eec963b378d660c534ccfd31')
26sha256sums_aarch64=('da73070ae272d9d622a24c11ddd1409084de0601fc2bda6827d82424da78d9a4')
27
28package(){
29 # Extract package data
30 tar xpvf "${srcdir}/data.tar.xz" --xattrs-include='*' --numeric-owner -C "${pkgdir}"
31
32 # Modify files
33 cd "${pkgdir}"
34 cat << EOF > usr/bin/feishu
35#!/bin/bash
36
37XDG_CONFIG_HOME=\${XDG_CONFIG_HOME:-~/.config}
38
39# Allow users to override command-line options
40if [[ -f \$XDG_CONFIG_HOME/feishu-flags.conf ]]; then
41 FEISHU_USER_FLAGS="\$(grep -v '^#' \$XDG_CONFIG_HOME/feishu-flags.conf)"
42fi
43
44# Launch
45exec /usr/bin/bytedance-feishu-${_pkgtyp} \$FEISHU_USER_FLAGS "\$@"
46EOF
47
48 chmod +x usr/bin/feishu
49
50 sed -i "s/bytedance-feishu-${_pkgtyp}/feishu/g" "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
51 sed -i 's/StartupNotify=true/StartupNotify=true\nStartupWMClass=feishu/g' "${pkgdir}/usr/share/applications/bytedance-feishu.desktop"
52
53 sed -i "s/bytedance-feishu-${_pkgtyp}/feishu/g" "${pkgdir}/usr/share/menu/bytedance-feishu.menu"
54 sed -i "s/bytedance-feishu/feishu/g" "${pkgdir}/usr/share/menu/bytedance-feishu.menu"
55
56 sed -i 's/bytedance-feishu/feishu/g' "${pkgdir}/usr/share/appdata/bytedance-feishu.appdata.xml"
57
58 sed -i 's/bytedance-feishu/feishu/g' "${pkgdir}/opt/bytedance/feishu/bytedance-feishu"
59
60 mv "${pkgdir}"/usr/share/menu/{bytedance-,}feishu.menu
61 mv "${pkgdir}"/usr/share/applications/{bytedance-,}feishu.desktop
62 mv "${pkgdir}"/usr/share/appdata/{bytedance-,}feishu.appdata.xml
63 mv "${pkgdir}"/usr/share/man/man1/{bytedance-feishu-${_pkgtyp},feishu}.1.gz
64 mv "${pkgdir}"/usr/share/doc/{bytedance-feishu-${_pkgtyp},feishu}
65
66 # Fix directory permissions
67 find "${pkgdir}" -type d | xargs chmod 755
68}
69

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion