
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@blitzjs/auth
Advanced tools
[](https://blitzjs.com)
`npm i @blitzjs/auth`
# yarn add @blitzjs/auth
# pnpm add @blitzjs/auth
You can alternatively use npx
Currently Blitz Auth usage is only documented with Next.js. We are working on adding additional support for other frameworks.
Add the following to your blitz-client.ts file:
import {AuthClientPlugin} from "@blitzjs/auth"
import {setupBlitzClient} from "@blitzjs/next"
export const authConfig = {
cookiePrefix: "testapp",
}
const {withBlitz} = setupBlitzClient({
plugins: [AuthClientPlugin(authConfig)],
})
export {withBlitz}
Then, add the following to the blitz-server.ts file:
import {setupBlitzServer} from "@blitzjs/next"
import {AuthServerPlugin, PrismaStorage, simpleRolesIsAuthorized} from "@blitzjs/auth"
import {db} from "db"
import {authConfig} from "./blitz-client"
const {gSSP, gSP, api} = setupBlitzServer({
plugins: [
AuthServerPlugin({
...authConfig,
storage: PrismaStorage(db),
isAuthorized: simpleRolesIsAuthorized,
}),
],
})
export {gSSP, gSP, api}
FAQs
[](https://blitzjs.com)
The npm package @blitzjs/auth receives a total of 3,686 weekly downloads. As such, @blitzjs/auth popularity was classified as popular.
We found that @blitzjs/auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.