
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@acryps/environment
Advanced tools
Environment variable manager for local development
npm install @acryps/environment --save-dev
Active environment by adding environment
before launching your application in your scripts (will work with any tool)
tsc && node index.js
→ tsc && environment node index.js
Define environment variables in your package.json
{
"name": "my-application",
"environment": {
"host": "Application Host",
"database": {
"host": "Database Host",
"+port?5432": "Database Port"
}
}
}
You'll automatically be prompted to enter the values required for your project. The following environment variables will automatically be passed as environment variables to the application launched by environment:
HOST
DATABASE_HOST
DATABASE_PORT
Access them as usual with process.env.HOST
- no changes to the code required.
Modifiers may be added to the names in the package configuration
…?default
: Set a default value which will be accepted when the user does not provide a value+…
: Require a numeric valueAdding an uppercase letter in the variables name will automatically be expanded with a _
: accessKey
→ ACCESS_KEY
Export the current environment for another user by using
environment --export
The current settings can be exported for vlcluster by running
environment --export-cluster
More exporters will be added at some point :)
FAQs
Environment variable manager for local development
We found that @acryps/environment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.