Skip to content

Commit 24744a1

Browse files
committed
docs(changelog): tighten 5.7.0 fixed list
1 parent 14dce7f commit 24744a1

1 file changed

Lines changed: 8 additions & 30 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -368,36 +368,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
368368

369369
### Fixed
370370

371-
- **github**: Fixed JSON parsing crash vulnerability by adding try-catch around `JSON.parse()` in GitHub API responses
372-
- Prevents crashes on malformed, incomplete, or binary responses
373-
- Error messages now include the response URL for better debugging
374-
375-
- **dlx/binary**: Fixed clock skew vulnerabilities in cache validation
376-
- Cache entries with future timestamps (clock skew) are now treated as expired
377-
- Metadata writes now use atomic write-then-rename pattern to prevent corruption
378-
- Added TOCTOU race protection by re-checking binary existence after metadata read
379-
380-
- **dlx/cache cleanup**: Fixed handling of future timestamps during cache cleanup
381-
- Entries with future timestamps (due to clock skew) are now properly treated as expired
382-
383-
- **dlx/package**: Fixed scoped package parsing bug where `@scope/package` was incorrectly parsed
384-
- Changed condition from `startsWith('@')` to `atIndex === 0` for more precise detection
385-
- Fixes installation failures for scoped packages like `@socketregistry/lib`
386-
387-
- **cache-with-ttl**: Added clock skew detection to TTL cache
388-
- Far-future `expiresAt` values (>2x TTL) are now treated as expired
389-
- Protects against cache poisoning from clock skew
390-
391-
- **packages/specs**: Fixed unconditional `.git` truncation in Git URL parsing
392-
- Now only removes `.git` suffix when URL actually ends with `.git`
393-
- Prevents incorrect truncation of URLs containing `.git` in the middle
394-
395-
- **releases/github**: Fixed TOCTOU race condition in binary download verification
396-
- Re-checks binary existence after reading version file
397-
- Ensures binary is re-downloaded if missing despite version file presence
398-
399-
- **provenance**: Fixed incorrect package name in provenance workflow
400-
- Changed from `@socketregistry/lib` to `@socketsecurity/lib`
371+
- `github` — try/catch around `JSON.parse()` in API responses; error messages include the response URL
372+
- `dlx/binary` — clock-skew protection (future timestamps treated as expired); atomic metadata write-then-rename; TOCTOU re-check of binary existence after metadata read
373+
- `dlx/cache` — future-timestamped entries treated as expired during cleanup
374+
- `dlx/package` — scoped-package parsing uses `atIndex === 0` (was `startsWith('@')`); fixes `@scope/pkg` installation failures
375+
- `cache-with-ttl` — clock-skew detection (far-future `expiresAt` > 2x TTL treated as expired)
376+
- `packages/specs` — only strips `.git` when URL actually ends with it (no more mid-URL truncation)
377+
- `releases/github` — TOCTOU on binary download verification (re-checks after reading version file)
378+
- `provenance` workflow — corrected package name `@socketregistry/lib``@socketsecurity/lib`
401379

402380
## [5.6.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.6.0) - 2026-02-08
403381

0 commit comments

Comments
 (0)