onekey-bridge
Triggered rules
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")
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) highlightedpkgname=onekey-bridge
pkgver=2.2.0
pkgrel=1
arch=('x86_64')
url="https://onekey.so/download/?client=bridge"
license=('custom')
# depends=('')
makedepends=('dpkg')
source=("https://web.onekey-asset.com/bridge/v2.2.0/onekey-bridge-2.2.0-amd64.deb")
sha256sums=('75b21054d95f7c527b833913a5b227c02305b8b29ea20a1a716717e8b98c132c')
pkgdesc="OneKey Bridge. Might be required to connect your hardware wallet"
prepare() {
dpkg -x onekey-bridge-2.2.0-amd64.deb .
tar -xvf data.tar.xz -C "$srcdir"
}
package() {
install -Dm644 "${srcdir}/lib/udev/rules.d/50-onekey.rules" "${pkgdir}/usr/lib/udev/rules.d/50-onekey.rules"
install -Dm755 "${srcdir}/usr/bin/onekeyd" "${pkgdir}/usr/bin/onekeyd"
install -Dm644 "${srcdir}/usr/lib/systemd/system/onekeyd.service" "${pkgdir}/usr/lib/systemd/system/onekeyd.service"
install -Dm644 "${srcdir}/usr/share/doc/onekey-bridge/changelog.gz" "${pkgdir}/usr/share/doc/onekey-bridge/changelog.gz"
}
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 |