
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
serverless-plugin-authorizer
Advanced tools
Normally you would define this in every function in your http event: ```yaml # Before authorizer: resultTtlInSeconds: 30 arn: arn:aws:lambda:xxxx:function:authorizer-fn type: request ```
Normally you would define this in every function in your http event:
# Before
authorizer:
resultTtlInSeconds: 30
arn: arn:aws:lambda:xxxx:function:authorizer-fn
type: request
However, now you can add authorization which will allow everything to be passed through as authorizer in your functions.
# After
custom:
authorization:
resultTtlInSeconds: 30
arn: arn:aws:lambda:xxxx:function:authorizer-fn
type: request
Using authorize: true to your http event like so:
# After
functions:
myFunction:
handler: src/myFunction.handler
events:
- http:
path: path/to/function
method: get
authorize: true
Using yarn:
yarn add serverless-plugin-authorizer
Using npm:
npm install serverless-plugin-authorizer --save-dev
Add the plugin to your serverless.yml file:
plugins:
- serverless-plugin-authorizer
FAQs
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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.