fast-translate

LOW
maintainer kalew515 1 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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