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
6
pkgname=charles
7
_name=charles-proxy5
8
pkgver=5.2.1
9
pkgrel=1
10
pkgdesc="Web debugging proxy application"
11
arch=(x86_64)
12
url="http://www.charlesproxy.com"
13
license=('LicenseRef-Charles-EULA')
14
depends=('java-runtime>=8' 'hicolor-icon-theme')
15
provides=('charles')
16
conflicts=('charles-bin')
17
source=(http://www.charlesproxy.com/assets/release/${pkgver}/charles-proxy-${pkgver}_$arch.tar.gz)
18
md5sums=('f2e03db5ff4445e14387bfbbc8bfaab9')
19
20
build() {
21
cd "$srcdir/$pkgname"
22
}
23
24
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |