chakracore-bin

maintainer eggbertx · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary tarball (containing an executable 'ch' and shared library 'libChakraCore.so') from 'chakra-core.shortdev.de', which is not the official Microsoft/chakra-core GitHub releases infrastructure. The official release artifacts for ChakraCore are hosted at github.com/chakra-core/ChakraCore/releases. This third-party mirror/redirect host introduces a genuine supply-chain risk: if the host is compromised or controlled by a malicious actor, the prebuilt binaries (which are installed as an executable and a shared library) could execute arbitrary code on the user's system. The SHA256 checksum provides some protection against in-transit tampering but does not protect against the host serving a malicious file that matches the recorded hash (if the hash was recorded from the same untrusted host). This is a textbook medium-severity supply-chain concern: executed binaries from a non-official host.

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:15 source=("https://chakra-core.shortdev.de/releases/v$pkgver/cc_linux_x64_1_11_24.tar.gz")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD downloads a prebuilt binary tarball (containing an executable 'ch' and shared library 'libChakraCore.so') from 'chakra-core.shortdev.de', which is not the official Microsoft/chakra-core GitHub releases infrastructure. The official release artifacts for ChakraCore are hosted at github.com/chakra-core/ChakraCore/releases. This third-party mirror/redirect host introduces a genuine supply-chain risk: if the host is compromised or controlled by a malicious actor, the prebuilt binaries (which are installed as an executable and a shared library) could execute arbitrary code on the user's system. The SHA256 checksum provides some protection against in-transit tampering but does not protect against the host serving a malicious file that matches the recorded hash (if the hash was recorded from the same untrusted host). This is a textbook medium-severity supply-chain concern: executed binaries from a non-official host.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: eggbertx <eggbertxdev at gmail dot com>
2# Previous maintainer: Felix Golatofski <contact at xdfr dot de>
3# Contributor: michaelchou <michaeljchou at the hotmail domain which is .com>
4
5_pkgname=chakracore
6pkgname=chakracore-bin
7pkgver=1.11.24
8pkgrel=2
9pkgdesc='ChakraCore is an open source Javascript engine with a C API. This is the pre-built binaries from Microsoft.'
10arch=('x86_64')
11url='https://github.com/chakra-core/ChakraCore'
12license=('MIT')
13provides=('libChakraCore.so' 'ch')
14conflicts=('chakracore-git' 'chakracore')
15source=("https://chakra-core.shortdev.de/releases/v$pkgver/cc_linux_x64_1_11_24.tar.gz")
16sha256sums=('939283618139D6C4223842D79C176C3691296BCE5368D54CB9805616A94EB605')
17
18_dir="ChakraCoreFiles"
19
20package() {
21 install -Dm755 "$srcdir/$_dir/bin/ch" "$pkgdir/usr/bin/ch"
22
23 install -Dm644 "$srcdir/$_dir/lib/libChakraCore.so" "$pkgdir/usr/lib/libChakraCore.so"
24
25 for file in $srcdir/$_dir/include/*; do
26 install -Dm644 "$file" "$pkgdir/usr/include/$(basename $file)"
27 done
28
29 install -Dm644 "$srcdir/$_dir/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
30}
31

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