Skip to content

Commit 62152c8

Browse files
Fotios Tsakiridisclaude
andcommitted
Release v2.83.1 - Security Fixes & Global Context v4.0
- Fix cookie injection vulnerability in project folder names - Fix path injection in context type file paths - Enhanced AI development guidelines (Global Context v4.0) - Persistent project auth secret survives restarts - CORS headers for static files (fixes ORB/CORS errors) - Update flow improvements with better service restart handling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 13e3313 commit 62152c8

13 files changed

Lines changed: 448 additions & 139 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ All notable changes to CodeHero will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.83.1] - 2026-01-25
9+
10+
### Security
11+
- **Fixed Cookie Injection** - Sanitized project folder names in cookie names/paths
12+
- **Fixed Path Injection** - Added extra validation for context type in file paths
13+
14+
### Improved
15+
- **Global Context v4.0** - Enhanced AI development guidelines
16+
- Mandatory 7-step workflow for all tasks
17+
- Verification Protocol with syntax check, log check, and visual verification
18+
- Multi-platform visual verification (Playwright for web, ADB for Android, simctl for iOS, etc.)
19+
- Stricter code quality rules (no minified code, no CDN, relative paths only)
20+
- Mandatory project documentation (technologies.md, map.md)
21+
22+
- **Persistent Project Auth Secret** - Session cookies now last full 7 days
23+
- Secret stored in `/opt/codehero/data/project_auth_secret`
24+
- Survives server restarts (previously regenerated on each restart)
25+
26+
- **CORS Headers for Static Files** - Fixed cross-origin resource loading
27+
- Added `Access-Control-Allow-Origin: *` to static file responses
28+
- Added `Cross-Origin-Resource-Policy: cross-origin`
29+
- Added `Cross-Origin-Embedder-Policy: unsafe-none`
30+
- Fixes ORB/CORS errors when accessing projects from different origins
31+
32+
- **Update Flow Improvements** - Better handling of server restart
33+
- Increased wait time before checking server (2s → 5s)
34+
- Added 5-second wait for services after server responds
35+
- Better feedback during restart ("Waiting for services...")
36+
837
## [2.83.0] - 2026-01-24
938

1039
### Added

INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
```bash
1414
cd /root
15-
unzip codehero-2.83.0.zip
15+
unzip codehero-2.83.1.zip
1616
cd codehero
1717
```
1818

@@ -129,8 +129,8 @@ sudo systemctl restart codehero-web codehero-daemon
129129
```bash
130130
# Download and extract new version
131131
cd /root
132-
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.0.zip
133-
unzip codehero-2.83.0.zip
132+
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.1.zip
133+
unzip codehero-2.83.1.zip
134134
cd codehero
135135

136136
# Preview what will change (recommended)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<p align="center">
1313
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Dual-blue.svg" alt="License"></a>
14-
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-2.83.0-green.svg" alt="Version"></a>
14+
<a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-2.83.1-green.svg" alt="Version"></a>
1515
<img src="https://img.shields.io/badge/Ubuntu-22.04%20|%2024.04-orange.svg" alt="Ubuntu">
1616
<a href="https://anthropic.com"><img src="https://img.shields.io/badge/Powered%20by-Claude%20AI-blueviolet.svg" alt="Claude AI"></a>
1717
<a href="https://github.com/fotsakir/codehero/stargazers"><img src="https://img.shields.io/github/stars/fotsakir/codehero?style=social" alt="Stars"></a>
@@ -378,8 +378,8 @@ apt-get update && apt-get install -y unzip wget net-tools
378378

379379
# Download and extract
380380
cd /root
381-
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.0.zip
382-
unzip codehero-2.83.0.zip
381+
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.1.zip
382+
unzip codehero-2.83.1.zip
383383
cd codehero
384384

385385
# Run setup
@@ -405,7 +405,7 @@ The installer automatically sets up:
405405
```bash
406406
# Download new version
407407
cd /root
408-
unzip codehero-2.83.0.zip
408+
unzip codehero-2.83.1.zip
409409
cd codehero
410410

411411
# Preview changes (recommended)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.83.0
1+
2.83.1

0 commit comments

Comments
 (0)