
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
aws-lambda-sdk
Advanced tools
AWS Lambda is a serverless compute service that runs your code in response to events, automatically managing the underlying infrastructure.
Run the following command from your project directory to install the package from npm:
npm install aws-lambda-sdk@1.0.0
For additional package details, see the Npm page for the aws-lambda-sdk@1.0.0 npm.
To validate the functionality of this SDK, you can execute all tests located in the test
directory. This SDK utilizes Jest
as both the testing framework and test runner.
To run the tests, navigate to the root directory of the SDK and execute the following command:
npm run test
Or you can also run tests with coverage report:
npm run test:coverage
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
Parameter | Type | Description |
---|---|---|
environment | Environment | The API environment. Default: Environment.Production |
timeout | number | Timeout for API calls. Default: 0 |
httpClientOptions | Partial<HttpClientOptions> | Stable configurable http client options. |
unstableHttpClientOptions | any | Unstable configurable http client options. |
The API client can be initialized as follows:
import { Client, Environment } from 'aws-lambda-sdk';
const client = new Client({
timeout: 0,
environment: Environment.Production,
});
FAQs
AWS Lambda is a serverless compute service that runs your code in response to events, automatically managing the underlying infrastructure.
The npm package aws-lambda-sdk receives a total of 65 weekly downloads. As such, aws-lambda-sdk popularity was classified as not popular.
We found that aws-lambda-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.