n1-translator
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
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
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# Maintainer: kurojs <kuro@kurojs.dev>
# Contributor: kurojs <kuro@kurojs.dev>
pkgname=n1-translator
pkgver=1.0.0
pkgrel=1
pkgdesc="Real-time Japanese->Spanish overlay translator for KDE Plasma"
arch=('any')
url="https://github.com/kurojs/n1-translator"
license=('MIT')
depends=(
'pyside6'
'wl-clipboard'
'python'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-pip'
'git'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kurojs/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
pip install --root="$pkgdir" --prefix=/usr --no-deps deep-translator
install -Dm644 assets/n1-translator.desktop \
"$pkgdir/usr/share/applications/n1-translator.desktop"
install -Dm644 assets/n1-translator.png \
"$pkgdir/usr/share/pixmaps/n1-translator.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |