
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A lightweight utility to fetch AWS SSM parameters and inject them as environment variables using JSON.
Fetch environment configurations from AWS SSM Parameter Store as JSON. Supports both AWS environments and local development via IAM role assumption.
pip install aws-ssm-env
String
(not StringList
or SecureString
unless you're decrypting).{
"DB_HOST": "localhost",
"DB_USER": "admin",
"DB_PASS": "secret"
}
If your code is running in an AWS environment with appropriate IAM permissions, you only need to provide the region and parameter name:
from aws_ssm_env.ssm import get_env_parameters_from_ssm
env_config = get_env_parameters_from_ssm(
account_id="", # Optional
region="us-west-2",
role_name="", # Optional
parameter_name="/my/app/env"
)
print(env_config["DB_HOST"])
Use this method when working locally and you need to access parameters from another AWS account:
from aws_ssm_env.ssm import get_env_parameters_from_ssm
env_config = get_env_parameters_from_ssm(
account_id="123456789012",
region="us-west-2",
role_name="MyRole",
parameter_name="/my/app/env"
)
print(env_config["DB_HOST"])
MIT
FAQs
A lightweight utility to fetch AWS SSM parameters and inject them as environment variables using JSON.
We found that aws-ssm-env 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.