fast-translate

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

The pip install is run on requirements.txt from the project's own GitHub source, which is a normal part of building the software and does not involve untrusted remote code execution.

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 pip install is run on requirements.txt from the project's own GitHub source, which is a normal part of building the software and does not involve untrusted remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:34 pip3 install -r requirements.txt

PKGBUILD

1 offending line(s) highlighted
1# This is an example PKGBUILD file. Use this as a start to creating your own,
2# and remove these comments. For more information, see 'man PKGBUILD'.
3# NOTE: Please fill out the license field for your package! If it is unknown,
4# then please put 'unknown'.
5
6# Maintainer: kalew515 <youremail@domain.com>
7pkgname=fast-translate
8pkgver=1.2.2
9pkgrel=1
10epoch=
11pkgdesc="一款适用于Linux系统的翻译软件,支持选中即翻译,方便文献阅读等"
12arch=('x86_64')
13url="https://github.com/KaleW515/fast-translate"
14license=('MIT')
15groups=(fast-translate)
16depends=(make python python-pip)
17makedepends=()
18checkdepends=()
19optdepends=()
20provides=()
21conflicts=()
22replaces=()
23backup=()
24options=()
25install=
26changelog=
27source=("https://github.com/kalew515/$pkgname/archive/refs/tags/$pkgver.tar.gz")
28noextract=()
29md5sums=('c3c6f8fb89d5200a983acc2c477d4032')
30validpgpkeys=()
31
32prepare() {
33 cd "$pkgname-$pkgver"
34 pip3 install -r requirements.txt
35}
36
37build() {
38 cd "$pkgname-$pkgver"
39 install -vd build/${pkgname}/usr/bin
40 install -vd build/${pkgname}/usr/share/applications
41 install -vd build/${pkgname}/usr/share/icons
42 install -vd build/${pkgname}/opt/${pkgname}
43 cp -r pkg/aur/ftranslate build/${pkgname}/usr/bin/
44 cp -r src/data/icon/logo.svg.png build/${pkgname}/usr/share/icons/fast-translate.png
45 cp -r pkg/aur/fast-translate.desktop build/${pkgname}/usr/share/applications/
46 cp -r src/* build/${pkgname}/opt/${pkgname}/
47}
48
49check() {
50 cd "$pkgname-$pkgver"
51}
52
53package() {
54 cd "$pkgname-$pkgver"
55 mkdir ${pkgdir}/opt/
56 mkdir ${pkgdir}/usr/
57 cp -r build/${pkgname}/opt/${pkgname}/ ${pkgdir}/opt/
58 cp -r build/${pkgname}/usr/* ${pkgdir}/usr/
59}
60
61
62

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