
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).
datasette-expose-env
Advanced tools
Datasette plugin to expose selected environment variables at /-/env for debugging
Datasette plugin to expose selected environment variables at /-/env
for debugging
Install this plugin in the same environment as Datasette.
datasette install datasette-expose-env
Decide on a list of environment variables you would like to expose, then add the following to your metadata.yml
configuration:
plugins:
datasette-expose-env:
variables:
- ENV_VAR_1
- ENV_VAR_2
- ENV_VAR_3
If you are using JSON in a metadata.json
file use the following:
{
"plugins": {
"datasette-expose-env": {
"variables": [
"ENV_VAR_1",
"ENV_VAR_2",
"ENV_VAR_3"
]
}
}
}
To show a full list of redacted environment variables use "show_all_redacted": true
:
plugins:
datasette-expose-env:
show_all_redacted: true
variables:
- ENV_VAR_1
- ENV_VAR_2
This will show the values for ENV_VAR_1
and ENV_VAR_2
and then a full list of other variables with their value shown as ...
.
Visit /-/env
on your Datasette instance to see the values of the environment variables.
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-expose-env
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
FAQs
Datasette plugin to expose selected environment variables at /-/env for debugging
We found that datasette-expose-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.