
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
tornado-xsrf
Advanced tools
Basically reimplemented for node.js algorithm from tornado. Allows to interop between tornado and node.js services.
XSRF tokens in tornado cosist of 4 parts separated by pipe symbol |: version (this lib supports only version 2), bit mask, token itself (masked by, well, a mask) and timestamp: $version|$mask|$token|$timestamp, for example 2|c6f1fb92|756729199a209536ffcfab54893adf63|1686129179.
decodeToken(tokenStr: string): [number, Buffer, number] parses string token into parts: version, token and timestampmakeToken(existingToken?: string): string creates or updates token. If existingToken is passed it will be updated with the new maskcompareTokens(token1: string, token2: string): boolean — parses and compares tokensFAQs
xsrf token library compatible with tornado
The npm package tornado-xsrf receives a total of 127 weekly downloads. As such, tornado-xsrf popularity was classified as not popular.
We found that tornado-xsrf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.