n1-translator
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-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 |