
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
eslint-plugin-undocumented-env
Advanced tools
eslint plugin to detect undocumented environment variables
eslint plugin to detect use of undocumented environment variables
This looks for usage of process.env.VARIABLE_NAME in your code, and checks that the environment variable is mentioned in your README file.
Add undocumented-env to the plugins section of your ESLint configuration file. You can omit the eslint-plugin- prefix:
plugins:
- undocumented-env
Then configure the plugin under the rules section.
rules:
- undocumented-env/no-undocumented: error
By default undocumented-env will look for references to environment variables in the first README.md file it finds while traversing up the file tree.
To use a filename for documentation other than README.md then specify it as a readme option in your eslint config:
rules:
- undocumented-env/no-undocumented:
- error
- readme: configuration.md
This plugin will only detect variables accessed directly via process.env.VARIABLE. It will not detect any dynamic or programmatic references to process.env.
This plugin won't detect bad documentation, only completely absent documentation. You should still document your code.
FAQs
eslint plugin to detect undocumented environment variables
We found that eslint-plugin-undocumented-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.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.