onekey-bridge

maintainer jorge_barroso · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from web.onekey-asset.com, which is OneKey's own CDN/asset host (OneKey is a legitimate hardware wallet vendor, fork of Trezor). The domain is not a random personal host but an official vendor asset domain. A SHA-256 checksum is present and pinned. However, the package installs a prebuilt binary daemon (onekeyd) that runs as a systemd service with udev rules — this is executed privileged code from a binary blob, not built from source. Even with a checksum, if the vendor's asset CDN were compromised or the binary were swapped before the checksum was recorded, there is a real supply-chain risk. The pattern (prebuilt binary daemon installed as a system service) from a CDN subdomain rather than a GitHub release or official package repository warrants medium severity. This is not clearly malicious, but it is a legitimate supply-chain concern for an executed binary with elevated system integration.

Triggered rules

MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:9 source=("https://web.onekey-asset.com/bridge/v2.2.0/onekey-bridge-2.2.0-amd64.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from web.onekey-asset.com, which is OneKey's own CDN/asset host (OneKey is a legitimate hardware wallet vendor, fork of Trezor). The domain is not a random personal host but an official vendor asset domain. A SHA-256 checksum is present and pinned. However, the package installs a prebuilt binary daemon (onekeyd) that runs as a systemd service with udev rules — this is executed privileged code from a binary blob, not built from source. Even with a checksum, if the vendor's asset CDN were compromised or the binary were swapped before the checksum was recorded, there is a real supply-chain risk. The pattern (prebuilt binary daemon installed as a system service) from a CDN subdomain rather than a GitHub release or official package repository warrants medium severity. This is not clearly malicious, but it is a legitimate supply-chain concern for an executed binary with elevated system integration.

PKGBUILD

1 offending line(s) highlighted
1pkgname=onekey-bridge
2pkgver=2.2.0
3pkgrel=1
4arch=('x86_64')
5url="https://onekey.so/download/?client=bridge"
6license=('custom')
7# depends=('')
8makedepends=('dpkg')
9source=("https://web.onekey-asset.com/bridge/v2.2.0/onekey-bridge-2.2.0-amd64.deb")
10sha256sums=('75b21054d95f7c527b833913a5b227c02305b8b29ea20a1a716717e8b98c132c')
11pkgdesc="OneKey Bridge. Might be required to connect your hardware wallet"
12
13prepare() {
14 dpkg -x onekey-bridge-2.2.0-amd64.deb .
15
16 tar -xvf data.tar.xz -C "$srcdir"
17}
18
19package() {
20 install -Dm644 "${srcdir}/lib/udev/rules.d/50-onekey.rules" "${pkgdir}/usr/lib/udev/rules.d/50-onekey.rules"
21 install -Dm755 "${srcdir}/usr/bin/onekeyd" "${pkgdir}/usr/bin/onekeyd"
22 install -Dm644 "${srcdir}/usr/lib/systemd/system/onekeyd.service" "${pkgdir}/usr/lib/systemd/system/onekeyd.service"
23 install -Dm644 "${srcdir}/usr/share/doc/onekey-bridge/changelog.gz" "${pkgdir}/usr/share/doc/onekey-bridge/changelog.gz"
24}
25
26

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