n1-translator

MEDIUM
maintainer biankabudner 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 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