n1-translator

maintainer biankabudner · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD installs 'deep-translator' via pip directly from PyPI during the package() phase without any version pin or checksum verification. This is a genuine supply-chain concern: the package is fetched at build time from an external source outside AUR's normal dependency/checksum framework, meaning any version of deep-translator (including a potentially compromised one) could be installed. The correct approach would be to declare 'python-deep-translator' as a depends entry (if it exists in the AUR/repos) or to vendor/pin the dependency. Additionally, sha256sums is set to 'SKIP' for the main source tarball, removing integrity verification. These two issues together represent a real, if not clearly malicious, supply-chain risk.

Triggered rules

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:35 pip install --root="$pkgdir" --prefix=/usr --no-deps deep-translator
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD installs 'deep-translator' via pip directly from PyPI during the package() phase without any version pin or checksum verification. This is a genuine supply-chain concern: the package is fetched at build time from an external source outside AUR's normal dependency/checksum framework, meaning any version of deep-translator (including a potentially compromised one) could be installed. The correct approach would be to declare 'python-deep-translator' as a depends entry (if it exists in the AUR/repos) or to vendor/pin the dependency. Additionally, sha256sums is set to 'SKIP' for the main source tarball, removing integrity verification. These two issues together represent a real, if not clearly malicious, supply-chain risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: kurojs <kuro@kurojs.dev>
2# Contributor: kurojs <kuro@kurojs.dev>
3
4pkgname=n1-translator
5pkgver=1.0.0
6pkgrel=1
7pkgdesc="Real-time Japanese->Spanish overlay translator for KDE Plasma"
8arch=('any')
9url="https://github.com/kurojs/n1-translator"
10license=('MIT')
11depends=(
12 'pyside6'
13 'wl-clipboard'
14 'python'
15)
16makedepends=(
17 'python-build'
18 'python-installer'
19 'python-wheel'
20 'python-pip'
21 'git'
22)
23source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kurojs/${pkgname}/archive/v${pkgver}.tar.gz")
24sha256sums=('SKIP')
25
26build() {
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 python -m build --wheel --no-isolation
29}
30
31package() {
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 python -m installer --destdir="$pkgdir" dist/*.whl
34
35 pip install --root="$pkgdir" --prefix=/usr --no-deps deep-translator
36
37 install -Dm644 assets/n1-translator.desktop \
38 "$pkgdir/usr/share/applications/n1-translator.desktop"
39 install -Dm644 assets/n1-translator.png \
40 "$pkgdir/usr/share/pixmaps/n1-translator.png"
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion