
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
pn-retail-whitelisting-api
Advanced tools
A backoffice api use to add users to retail whitelisting and manage permissions.
In this repo you will find code and resources that is used as a foundation in most of the software development team at TIQQE.
Visual Studio Code (OSX, Linux, Windows) is recommended as IDE
LTS
at the time of writing: 14.17.2
)Everything in Serverless Framework starts in this file. Infrastructure components such as databases and queues, IAM rights, how a function is triggered, paths to APIs and how those APIs are protected and more can all be setup in this file.
To not flood the serverless.yml file with everything we add resources such as DynamoDB databases into the environment specific files under the resources directory.
All environment params are located in this file and are loaded through the serverless.yml file.
provider
environment: ${file(env.yml):${self:custom.stage}})
The environment params can then be accessed in the lambda functions like this:
// Load environment params into env.
const env = process.env;
All the code we write goes in here. Usually each new lambda function get a new directory.
npm i
in root of project. This will install all dependencies.npm start
Will start a server on localhost:3000 that you can use like you would live. After running it you will see some output in the terminal similar to this:
Serverless: Watching for changes...
Serverless: Starting Offline: test/eu-west-1.
Serverless: Routes for ...:
Serverless: Offline [HTTP] listening on http://localhost:3000
Serverless: Enter "rp" to replay the last request
There is no need to run this command again as it will automatically update on changes in vscode. Press f5 and chose Debug to run local lambdas with debugger will also start the localhost:3000. Just like npm start.
serverless invoke local -f <functionName> -p <path to event.json>
npm t
will run all testsDebug Mocha Tests
debug task in vscode.When you push your code it will trigger a Build via CodeBuild in AWS.
If you want to deploy this project to your own AWS account you will first need to setup an AWS account can deploy it from your local machine. More info here:
FAQs
A backoffice api use to add users to retail whitelisting and manage permissions.
We found that pn-retail-whitelisting-api 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.