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.
I like to do this in Firefox or Chrome. The output is unreadable though.
This untangles that. Type f
in your terminal, then paste the curl command.
Your command line should look like this:
$ fcurl 'http://site.com/article/new' -H 'Host: site.com' -H 'Connection:
keep-alive' -H 'Accept-Language: en-us' -d "title=Hello&body=Welcome%20to%20" ...
BAM! Now its readable!
http POST "http://site.com/article/new" \
title="Hello" \
body="Welcome to my site!"
I know. Now pass --extended
to make print more stuff that would've been supressed.
http OPTIONS "http://site.com/users" \
Connection:"keep-alive" \
Access-Control-Request-Method:"GET" \
Origin:"http://site.com" \
Accept-Encoding:"gzip, deflate" \
...
Oh and you can also install httpie. The output of curlformat
is compatible with httpie.
curlformat © 2014+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors.
ricostacruz.com · GitHub @rstacruz · Twitter @rstacruz
FAQs
CLI utility to clean up your 'Copy as cURL' strings
The npm package curlformat receives a total of 3 weekly downloads. As such, curlformat popularity was classified as not popular.
We found that curlformat 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.