kocr-gui-bin

MEDIUM
maintainer Kercy 0 votes scanned 2026-11-01 10:00:05.946014
View on AUR
Why flagged

The package installs a prebuilt binary from a GitHub release without source code availability, creating an unverifiable supply-chain risk despite the project being hosted on a legitimate platform.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Medium AI review of an ambiguous pattern llm_review

The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 90%): The package installs a prebuilt binary from a GitHub release without source code availability, creating an unverifiable supply-chain risk despite the project being hosted on a legitimate platform.

PKGBUILD

1pkgname=kocr-gui-bin
2pkgver=0.4.0
3pkgrel=1
4pkgdesc='KOCR desktop app (prebuilt binary)'
5arch=('x86_64')
6url='https://github.com/KercyDing/kocr'
7license=('Apache-2.0')
8depends=('glibc' 'gcc-libs' 'gtk3' 'libayatana-appindicator' 'libxkbcommon' 'wayland' 'mesa' 'libx11' 'libxrandr' 'libxi' 'libxcursor' 'libxinerama' 'spectacle' 'wl-clipboard' 'libnotify')
9provides=('kocr-gui')
10conflicts=('kocr-qt-bin' 'kocr-gtk-bin')
11source=("kocr-gui-0.4.0-linux-amd64.deb::https://github.com/KercyDing/kocr/releases/download/v0.4.0/kocr-gui-0.4.0-linux-amd64.deb")
12sha256sums=('f5a89560292daeb7c18f8b2d6288a8d3e2a1e4ac90949b956c071f7cb22dee2c')
13
14package() {
15 cd "${srcdir}"
16 bsdtar -xf "kocr-gui-0.4.0-linux-amd64.deb"
17 local data_tar
18 data_tar=$(find . -maxdepth 1 -type f -name 'data.tar.*' | head -n 1)
19 bsdtar -xf "${data_tar}"
20
21 install -Dm644 "usr/share/doc/kocr-gui/LICENSE" "${pkgdir}/usr/share/licenses/kocr-gui-bin/LICENSE"
22 install -Dm644 "usr/share/doc/kocr-gui/NOTICE" "${pkgdir}/usr/share/licenses/kocr-gui-bin/NOTICE"
23 install -Dm644 "usr/share/doc/kocr-gui/LICENSE-PaddleOCR" "${pkgdir}/usr/share/licenses/kocr-gui-bin/LICENSE-PaddleOCR"
24 install -Dm644 "usr/share/doc/kocr-gui/LICENSE-SourceHanSans" "${pkgdir}/usr/share/licenses/kocr-gui-bin/LICENSE-SourceHanSans"
25 install -Dm755 usr/bin/kocr-gui "${pkgdir}/usr/bin/kocr-gui"
26 install -Dm644 usr/share/applications/kocr-gui.desktop "${pkgdir}/usr/share/applications/kocr-gui.desktop"
27 install -Dm644 usr/share/pixmaps/kocr.png "${pkgdir}/usr/share/pixmaps/kocr.png"
28}
29

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 10:00:05 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