
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
algo-lambda
Advanced tools
This is a simple Serverless Framework Component that creates a Lambda wrapper to an Algorithmia function. With a Lambda wrapper, an Algorithmia function can be triggered by AWS Events - such as SNS, SQS, etc.
Install the Serverless Framework:
$ npm i -g serverless
Add the access keys of an AWS IAM Role with AdministratorAccess
in a .env
file, using this format:
AWS_ACCESS_KEY_ID=1234
AWS_SECRET_ACCESS_KEY=1234
Or, you can set these as environment variables manually before deploying.
Create a serverless.yml
in an empty directory and add the following:
name: demo
summarizer:
component: 'algo-lambda'
inputs:
env:
apiKey: 'YOUR_ALGORITHMIA_API_KEY'
algorithm: 'nlp/Summarizer/0.1.8' # See Algorithmia marketplace
In the same directory, create a package.json
file with the following contents:
{
"dependencies": {
"algo-lambda": "latest"
}
}
Run npm install
See example here.
Deploy via the serverless
command:
$ serverless
Use the --debug
flag if you'd like to learn what's happening behind the scenes:
$ serverless --debug
Checkout the Serverless Components repo for more information.
FAQs
AWS Lambda Wrapper for Algorithmia functions
The npm package algo-lambda receives a total of 0 weekly downloads. As such, algo-lambda popularity was classified as not popular.
We found that algo-lambda 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.