
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
serverless-typescript
Advanced tools
A Serverless plugin improving typescript developer experience. Lambda related configuration should be as close as possible from actually executed source code. Target typical lambda structure :
import { Event, parseBody } from 'serverless-typescript/lib/api/input-validation';
interface MyHTTPBody {
param1: string;
param2: number;
}
/*
* @Security({'custom:role': Role.Superadmin})
* @Path('GET', '/api/{myParam}/list')
*/
export const main = async (event: Event<MyHTTPBody>): Promise<APIGatewayProxyResult> => {
const input = parseBody(event);
console.log(input.param1);
//...
};
$ npm install serverless-typescript --save-dev
Add the plugin to your serverless.yml file:
plugins:
- serverless-typescript
FAQs
[![Serverless][ico-serverless]][link-serverless]
The npm package serverless-typescript receives a total of 401 weekly downloads. As such, serverless-typescript popularity was classified as not popular.
We found that serverless-typescript 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.