Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
The Bower config (
.bowerrc
) reader and writer.
The config spec can be read here.
$ npm install --save bower-config
Loads the bower configuration from the configuration files.
Configuration is overwritten (after camelcase normalisation) with overwrites
argument.
This method overwrites following environment variables:
HTTP_PROXY
with proxy
configuration variableHTTPS_PROXY
with https-proxy
configuration variableNO_PROXY
with no-proxy
configuration variableIt also clears http_proxy
, https_proxy
, and no_proxy
environment variables.
To restore those variables you can use restore
method.
Restores environment variables overwritten by .load
method.
Returns a deep copy of the underlying configuration object. The returned configuration is normalised. The object keys will be camelCase.
Obtains a instance where cwd
is the current working directory (defaults to process.cwd
);
var config = require('bower-config').create();
// You can also specify a working directory
var config2 = require('bower-config').create('./some/path');
Alias for:
var configObject = (new Config(cwd)).load(overrides).toJson();
Released under the MIT License.
FAQs
The KSA config
The npm package ksa-config receives a total of 0 weekly downloads. As such, ksa-config popularity was classified as not popular.
We found that ksa-config 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.