
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).
aws-app-config-to-env
Advanced tools
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
To install the module, run the following command:
npm install aws-app-config-to-env
Or, if you prefer Yarn:
yarn add aws-app-config-to-env
import setConfigurationToEnv from 'aws-app-config-to-env';
await setConfigurationToEnv({
applicationIdentifier: 'my-app',
environmentIdentifier: 'dev',
profileIdentifier: 'my-profile',
envPath: '.env',
});
The setConfigurationToEnv() function takes an object with the following properties:
applicationIdentifier
: The ID of the AppConfig application that contains the configuration you want to fetch.
environmentIdentifier
: The ID of the AppConfig environment that contains the configuration you want to fetch.
profileIdentifier
: The ID of the AppConfig configuration profile that contains the configuration you want to fetch.
envPath
: The path where the .env file should be created.
When you call setConfigurationToEnv()
, it will fetch the latest configuration from AWS AppConfig using the GetLatestConfigurationCommand()
method. The configuration will be parsed from YAML format to a string of key-value pairs, which will then be written to a .env
file at the specified envPath.
FAQs
This Node.js module provides a function that allows you to fetch the latest configuration from AWS AppConfig and store it in a .env file.
The npm package aws-app-config-to-env receives a total of 71 weekly downloads. As such, aws-app-config-to-env popularity was classified as not popular.
We found that aws-app-config-to-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
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.