ci: security review: bump claude model 4.7 -> 4.8
What changed, and why it matters
This commit only changes the version number of an AI model used in an optional continuous-integration (CI) security-review script, from Claude 4.7 to Claude 4.8. It does not touch Electrum's wallet code, networking, cryptography, or any code that end users run. There is no security issue here.
No action needed. The change is benign CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a single-line change in contrib/ci/claude_security_review.py: CLAUDE_MODEL is updated from ‘claude-opus-4-7’ to ‘claude-opus-4-8’. This is a CI helper that sends diffs to Anthropic’s API for automated review. It is not part of Electrum’s runtime, does not alter application behavior, and introduces no code paths an attacker could influence.
Changed components
contrib/ci/claude_security_review.pyInspect captured patch +1 / −1
diff --git a/contrib/ci/claude_security_review.py b/contrib/ci/claude_security_review.py
index b066310..0982656 100644
--- a/contrib/ci/claude_security_review.py
+++ b/contrib/ci/claude_security_review.py
@@ -37,7 +37,7 @@ PROMPT_FILE = os.path.join(SCRIPT_DIR, "security_review_prompt.md")
MAX_DIFF_CHARS = 800_000
CLAUDE_TIMEOUT_SECONDS = 60 * 60
-CLAUDE_MODEL = "claude-opus-4-7"
+CLAUDE_MODEL = "claude-opus-4-8"
CLAUDE_EFFORT = "max"
VERDICT_PASS = "PASS"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.