
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@hicksy/enhance-csrf
Advanced tools
import { createCsrfToken, verifyCsrfToken } from '@hicksy/enhance-csrf/server/csrf.js'
export let get = [createCsrfToken, two]
export let post = [verifyCsrfToken, two]
async function two (req) {
console.log('hi from two')
console.log(req)
return {
session: req.session,
json: {test: 'one', csrf_token: req.session.csrf}
}
}
FAQs
A CSRF component for enhance projects
The npm package @hicksy/enhance-csrf receives a total of 10 weekly downloads. As such, @hicksy/enhance-csrf popularity was classified as not popular.
We found that @hicksy/enhance-csrf 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.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.