
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
hapi JSON Web Token (JWT) authentication plugin
The 'jwt' scheme takes the following options:
secret - (required) {string} secret key used to compute the signature.algorithms - (optional) {array} algorithm(s) allowed to verify tokens. Defaults to ['HS256']. Valid algorithms: ['HS256', 'HS384', 'HS512', 'RS256', 'RS384', 'RS512', 'ES256', 'ES384', 'ES512', 'none']audience - (optional) {string|integer} verify audience (aud) claim against this valuecookie - (optional) {string} cookie name. Defaults to sid. Works in tandem with hapi-auth-cookie.
Must set JWT when the cookie is set. See examples below.issuer - (optional) {string|integer} verify issuer (iss) claim against this valuetoken - (optional) {string} name of the token set in the cookie. Defaults to token.validateFunc - (optional) {function} function to validate the decoded token on every request.Note: Storing the JWT in a cookie is optional. You can always send the JWT in an Authorization header.
For examples of usage, check out the tests.
FAQs
hapi JSON Web Token (JWT) authentication plugin
The npm package jot receives a total of 4 weekly downloads. As such, jot popularity was classified as not popular.
We found that jot 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.