
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
env-template-processor
Advanced tools
A simple template processor that replaces environment variables in files
A simple template processor that replaces environment variables in files.
SITE_NAME="Site name" KEYWORDS="keyword1 keyword2" OTHER_VARIABLE="3123" npx envtemplate config.toml.template config.toml
The package will replace all occurrences of ${VARIABLE_NAME}
in the template file with the corresponding environment variable value.
Template file (config.toml.template
):
site_name = "${SITE_NAME}"
keywords = "${KEYWORDS}"
other_variable = "${OTHER_VARIABLE}"
After running the command, the output file (config.toml
) will contain:
site_name = "Site name"
keywords = "keyword1 keyword2"
other_variable = "3123"
ISC
FAQs
A simple template processor that replaces environment variables in files
The npm package env-template-processor receives a total of 1 weekly downloads. As such, env-template-processor popularity was classified as not popular.
We found that env-template-processor 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.