v3.2.8 — Security hardening (CodeQL HIGH alerts resolved) #19
Jovancoding
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Fixed
existsSync+writeFileSyncpatterns withappendFileSync,flag:'wx', andwriteSync via fdacrosssecurity.ts,locked-blackboard.ts, andswarm-utils.ts; eliminates the window between file existence check and write where another process could intervene.*?to[\s\S]*?in the XSS script tag pattern;.doesn't match newlines in JS so multi-line<script>blocks would previously bypass the sanitizer\bword boundary to/example\.com/inblackboard-validator.ts; without it strings likenotexample.comwould incorrectly matchpermissions: contents: readto CI workflow; workflows no longer carry implicit write access they don't needAlso in this release cycle
eval()removed from distributed code (v3.2.7) — Socket supply chain score recovery315/315 tests passing
Installation
Beta Was this translation helpful? Give feedback.
All reactions