free-claude-code-bin
maintainer matskuijpers
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a public git repository of the project itself, uses a SKIP'd checksum due to recent changes, and installs a Python application into a virtual environment; while the orphaned/re-adopted status raises mild supply-chain concerns, there is no evidence of malicious behavior or execution of untrusted 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 package builds from a public git repository of the project itself, uses a SKIP'd checksum due to recent changes, and installs a Python application into a virtual environment; while the orphaned/re-adopted status raises mild supply-chain concerns, there is no evidence of malicious behavior or execution of untrusted remote code.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Vitaliy VVS Star <vitaliy <dot> star <at> Gmail-DOT-Com>
2
3
pkgname=free-claude-code-bin
4
pkgver=2.0.0.r631.23e409c
5
pkgrel=1
6
pkgdesc="Proxy to use Claude Code CLI with free alternative providers (NVIDIA NIM, OpenRouter, DeepSeek, etc.)"
7
arch=('x86_64')
8
url="https://github.com/Alishahryar1/free-claude-code"
9
license=('MIT')
10
depends=('python>=3.14')
11
makedepends=('git' 'uv')
12
provides=('free-claude-code')
13
conflicts=('free-claude-code')
14
install="$pkgname.install"
15
source=("git+${url}.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
19
cd "$srcdir/free-claude-code"
20
local ver
21
ver=$(grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
22
printf "%s.r%s.%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
23
}
24
25
build() {
26
cd "$srcdir/free-claude-code"
27
uv venv --python /usr/bin/python3 --python-preference only-system "$srcdir/venv"
28
source "$srcdir/venv/bin/activate"
29
uv pip install .
30
deactivate
31
}
32
33
package() {
34
local venv_dir="/opt/free-claude-code"
35
36
install -dm755 "$pkgdir$venv_dir"
37
cp -a "$srcdir/venv/." "$pkgdir$venv_dir/"
38
39
sed -i "s|$srcdir/venv|$venv_dir|g" "$pkgdir$venv_dir/pyvenv.cfg"
40
find "$pkgdir$venv_dir/bin" -type f -exec sed -i "s|$srcdir/venv|$venv_dir|g" {} +
41
find "$pkgdir$venv_dir/lib" -name '*.pth' -exec sed -i "s|$srcdir/venv|$venv_dir|g" {} +
42
find "$pkgdir$venv_dir/lib" -name 'direct_url.json' -delete
43
44
install -dm755 "$pkgdir/usr/bin"
45
for cmd in fcc-server free-claude-code fcc-init fcc-claude; do
46
if [ -f "$pkgdir$venv_dir/bin/$cmd" ]; then
47
ln -sf "$venv_dir/bin/$cmd" "$pkgdir/usr/bin/$cmd"
48
fi
49
done
50
51
install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE" <<'EOF'
52
MIT License
53
54
Copyright (c) 2026 Ali Khokhar
55
56
Permission is hereby granted, free of charge, to any person obtaining a copy
57
of this software and associated documentation files (the "Software"), to deal
58
in the Software without restriction, including without limitation the rights
59
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
60
copies of the Software, and to permit persons to whom the Software is
61
furnished to do so, subject to the following conditions:
62
63
The above copyright notice and this permission notice shall be included in all
64
copies or substantial portions of the Software.
65
66
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
72
SOFTWARE.
73
EOF
74
}
75
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 17:15:21 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |