charles

maintainer pizzaman · 58 votes · scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged The source is a prebuilt tarball from the official project's domain (charlesproxy.com), which is not on the analyzer's whitelist but is plausibly legitimate; the package installs only data and scripts from that source without executing arbitrary remote code.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a prebuilt tarball from the official project's domain (charlesproxy.com), which is not on the analyzer's whitelist but is plausibly legitimate; the package installs only data and scripts from that source without executing arbitrary remote code.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:17 source=(http://www.charlesproxy.com/assets/release/${pkgver}/charles-proxy-${pkgver}_$arch.tar.gz)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
2# Contributor: Jiabao Lin <me at leolin dot cn>
3# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
4# Contributor: Alexander Baldeck <lex@tentriplenine.com>
5
6pkgname=charles
7_name=charles-proxy5
8pkgver=5.2.1
9pkgrel=1
10pkgdesc="Web debugging proxy application"
11arch=(x86_64)
12url="http://www.charlesproxy.com"
13license=('LicenseRef-Charles-EULA')
14depends=('java-runtime>=8' 'hicolor-icon-theme')
15provides=('charles')
16conflicts=('charles-bin')
17source=(http://www.charlesproxy.com/assets/release/${pkgver}/charles-proxy-${pkgver}_$arch.tar.gz)
18md5sums=('f2e03db5ff4445e14387bfbbc8bfaab9')
19
20build() {
21 cd "$srcdir/$pkgname"
22}
23
24package() {
25 cd "$srcdir/$pkgname"
26
27 install -D -m755 ${srcdir}/${pkgname}/bin/charles \
28 ${pkgdir}/usr/bin/charles
29
30 for fn in ${srcdir}/${pkgname}/lib/*.jar; do
31 install -D -m644 ${fn} \
32 ${pkgdir}/usr/share/java/${pkgname}/$(basename ${fn})
33 done
34
35 for dim in 16x16 32x32 64x64 128x128 256x256 512x512; do
36 install -D -m644 ${srcdir}/${pkgname}/icon/${dim}/apps/$_name.png \
37 ${pkgdir}/usr/share/icons/hicolor/${dim}/apps/charles.png
38 for mimetype in $_name-har.png $_name-pcap.png $_name-savedsession.png $_name-trace.png; do
39 install -D -m644 ${srcdir}/${pkgname}/icon/${dim}/mimetypes/$mimetype \
40 ${pkgdir}/usr/share/icons/hicolor/${dim}/mimetypes/$mimetype
41 done
42 done
43 install -D -m644 ${srcdir}/${pkgname}/icon/128x128/apps/$_name.png \
44 ${pkgdir}/usr/share/icons/charles128.png
45
46 install -D -m644 ${srcdir}/${pkgname}/etc/$_name.desktop \
47 ${pkgdir}/usr/share/applications/$_name.desktop
48
49 sed -i 's/Icon=\.\..\+/Icon=charles/' ${pkgdir}/usr/share/applications/$_name.desktop
50 #Stop ^- from appearing in home directory
51 sed -i 's/\^-/\/dev\/null/' ${pkgdir}/usr/bin/charles
52 #Use XDG_CONFIG_HOME and if unset use ~/.config/charles rather than ~/ for .charles.config
53 sed -i 's/\~\/\.charles\.config\"/$\{XDG\_CONFIG\_HOME\:\-\~\/\.config\/charles\}\"\/\.charles\.config/' ${pkgdir}/usr/bin/charles
54}
55

Changes since previous scan

--- PKGBUILD @ 2026-06-19 19:07
+++ PKGBUILD @ 2026-08-18 00:03
@@ -5,7 +5,7 @@
pkgname=charles
_name=charles-proxy5
-pkgver=5.2
+pkgver=5.2.1
pkgrel=1
pkgdesc="Web debugging proxy application"
arch=(x86_64)
@@ -15,7 +15,7 @@
provides=('charles')
conflicts=('charles-bin')
source=(http://www.charlesproxy.com/assets/release/${pkgver}/charles-proxy-${pkgver}_$arch.tar.gz)
-md5sums=('6887ce78ba5b1574ed67c7b09720627a')
+md5sums=('f2e03db5ff4445e14387bfbbc8bfaab9')
build() {
cd "$srcdir/$pkgname"

Scan history

Scanned at (UTC)SeverityRules
2026-08-18 00:03:42 LOW 2
2026-08-17 00:18:29 LOW 2
2026-08-16 00:03:42 LOW 2
2026-08-15 00:26:13 LOW 2
2026-08-14 00:03:41 LOW 2
2026-08-13 00:17:07 LOW 2
2026-08-12 05:22:53 MEDIUM 1
2026-06-19 19:07:35 CLEAN 2
2026-06-18 18:04:49 CLEAN 2
2026-06-18 16:11:54 MEDIUM 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion