Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Python libraries to ease development of APIs and event driven apps for AWS serverless architecture
The Jugaad libraries are designed to be minimalist but effective in providing essential frameworks to help build multi-tenant SaaS platforms.
The python libraries in this package ease development of APIs and event driven apps for AWS serverless architecture and is primarily tested with AWS Chalice framework.
from jugaad_aws import log
logger = log.STLogger.getLogger(__name__)
logger.info("useful logs...")
The logger instance created above is same as the logger instance available from the package logging
from jugaad_aws import config
testvalue = config.getStaticConfig("testKey","DEFAULT_VALUE")
testDynValue = config.getDynamicConfig("testDynKey","DEFAULT_VALUE")
The config instance has two main methods:
getStaticConfig
- This method looks for the provided configuration key (testKey
in the example above) in the following sequence:
/APP_CONFIG_STATIC/<App Name>/
. The app name is read from a config.ini
file present under the app root folder.config.ini
under the root folder of the app.
An optional DEFAULT_VALUE
can be provided to the method to return the default if the configuration is not found in any of the mentioned locations.getDynamicConfig
- This method looks for the provided configuration key (testDynKey
in the example above) from the AWS Parameter Store - /APP_CONFIG_DYNAMIC/<App Name>
. The app name is read from a config.ini
file present under the app root folder.
FAQs
Python libraries to ease development of APIs and event driven apps for AWS serverless architecture
We found that py-jugaad-aws 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.