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>
7
pkgname=fast-translate
8
pkgver=1.2.2
9
pkgrel=1
10
epoch=
11
pkgdesc="一款适用于Linux系统的翻译软件,支持选中即翻译,方便文献阅读等"
12
arch=('x86_64')
13
url="https://github.com/KaleW515/fast-translate"
14
license=('MIT')
15
groups=(fast-translate)
16
depends=(make python python-pip)
17
makedepends=()
18
checkdepends=()
19
optdepends=()
20
provides=()
21
conflicts=()
22
replaces=()
23
backup=()
24
options=()
25
install=
26
changelog=
27
source=("https://github.com/kalew515/$pkgname/archive/refs/tags/$pkgver.tar.gz")
28
noextract=()
29
md5sums=('c3c6f8fb89d5200a983acc2c477d4032')
30
validpgpkeys=()
31
32
prepare() {
33
cd "$pkgname-$pkgver"
34
pip3 install -r requirements.txt
35
}
36
37
build() {
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
49
check() {
50
cd "$pkgname-$pkgver"
51
}
52
53
package() {
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) | 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 |