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.
aws-param-env
Advanced tools
Module for synchronously loading AWS SSM Parameter Store values into environment variables
Module for loading parameter-store values from AWS SSM into environment variables
Install via npm.
npm install aws-param-env --save
Note: aws-param-env
does not contain a dependency on aws-sdk
and it should be installed within your application.
const awsParamEnv = require( 'aws-param-env' );
awsParamEnv.load( '/my-service-path-in-ssm/env' );
If your AWS region is not set in your environment variables, then it can be set programmatically by supplying
options when calling load()
:
const awsParamEnv = require( 'aws-param-env' );
awsParamEnv.load( '/my-service-path-in-ssm/env', { region: 'us-east-1' } );
To load the environment variables automatically from a path, set the AWS_SSM_ENV_PATH
to the SSM path and the
AWS_REGION
to the correct AWS region.
// AWS_SSM_ENV_PATH = '/my-services/service1/env', AWS_REGION='us-east-1'
require( 'aws-param-env' );
// environment variables are automatically loaded from the SSM parameter store
We'd love to get feedback on how to make this tool better. Feel free to contact us at feedback@vandium.io
2.1.0 (2019-12-04)
Updated:
aws-sdk
peer dependency removed. Will use peer dependency set in aws-param-store
Internal:
FAQs
Module for synchronously loading AWS SSM Parameter Store values into environment variables
The npm package aws-param-env receives a total of 8,156 weekly downloads. As such, aws-param-env popularity was classified as popular.
We found that aws-param-env 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.
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.