Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@hishprorg/officia-incidunt
Advanced tools
This packages lets you autoload your environment variables from your `.env` file, no code changes required.
This packages lets you autoload your environment variables from your .env
file, no code changes required.
Similar to dotenv
, but with zero-dependencies and less verbose.
Easy as:
yarn add @hishprorg/officia-incidunt
node -r @hishprorg/officia-incidunt index.js # autoloads .env file
Features:
.env.<NODE_ENV>
or .env
file.env
filename with ENVK
environment variable"SECRET=hello\nworld"
#
You can see what's happening inspecting index.js
.
Nothing more, nothing less.
Load envs from .env
:
node -r @hishprorg/officia-incidunt index.js
Load envs from .env.production
file, otherwise .env
:
NODE_ENV=production node -r @hishprorg/officia-incidunt index.js
Load envs from specific file:
ENVK=file.env node -r @hishprorg/officia-incidunt index.js
Log to console imported variables:
ENVK_DEBUG=1 node -r @hishprorg/officia-incidunt index.js
FAQs
This packages lets you autoload your environment variables from your `.env` file, no code changes required.
The npm package @hishprorg/officia-incidunt receives a total of 0 weekly downloads. As such, @hishprorg/officia-incidunt popularity was classified as not popular.
We found that @hishprorg/officia-incidunt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.