You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-30Lines changed: 8 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,36 +368,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
368
368
369
369
### Fixed
370
370
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
0 commit comments