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.
obsidian-http-request
Advanced tools
Helper library to download assets (ajax) directly or through a proxy
Obsidian HTTP Request is a helper library that allows you to download assets and make HTTP requests either directly or through a proxy (to avoid CORS issues, for example when using images from an other domain with a canvas).
To install Obsidian HTTP Request run the following command:
npm install obsidian-http-request
You can find the library documentation at the following address:
const httpRequest = require("obsidian-http-request");
httpRequest.getText("http://example.com/hello.txt")
.then(function(result) {
console.log(result);
})
.catch(function(error) {
console.error(error);
});
If you have any question, you can:
If you found a bug, please open an issue on Github with as much information as possible.
Please consider filing a bug before starting to work on a new feature. This will allow us to discuss the best way to do it. This is of course not necessary if you just want to fix some typo or small errors in the code.
To check coding style, run the follwoing command:
npx grunt jshint
Tu run tests, use the following command:
npx grunt test
[NEXT] (changes on master that have not been released yet):
v1.5.2:
v1.5.1:
v1.5.0:
v1.4.0:
v1.3.2:
v1.3.1:
v1.3.0:
v1.2.0:
request
and requestProxy
method (to be able to use different methods than GET, with more options) #6v1.1.4:
FAQs
Helper library to download assets (ajax) directly or through a proxy
We found that obsidian-http-request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.