chakracore-bin

MEDIUM
maintainer eggbertx 2 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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