v2.1.3
Security hardening: project hooks now require trust before they run, the web-fetch tool blocks internal/metadata addresses, and usage stats are sent with your sync token.
Security
- Hooks now require trust-on-first-use. Project-local
.codeep/hooks/*run
arbitrary shell, so a freshly-cloned repo could previously execute its scripts
on your first tool call. Hooks in an unapproved workspace are now skipped
until you run/hooks trust(revoke with/hooks untrust)./hooksand the
welcome banner show the trust state. Your own already-set-up projects just need
a one-time/hooks trust. - SSRF guard on the
fetch_urlweb tool. The agent can no longer be steered
(e.g. via prompt injection) into fetchinglocalhost, private/RFC1918, or
link-local addresses — including the cloud metadata endpoint
169.254.169.254. Onlyhttp/httpsare allowed, on the initial request and
redirects. Your configured provider endpoints (Ollama, custom vLLM/Tailscale)
are unaffected — they don't go through this tool.
Changed
- Stats reporting now sends the
x-sync-tokenheader. The dashboard derives
your GitHub id from the token instead of trusting thegithubIdin the request
body, closing a spoofing gap where anyone could forge usage events (or unarchive
projects) for another user. Stats keep working on older CLIs — they're just
recorded anonymously until you upgrade. No behavior change for you locally.