fast-translate

maintainer kalew515 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion