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.
install htto library on windows/linux
pip install htto
how to use:
# 1 import htto library
import htto
# 2 creat client to save your connections session
cn = htto.client(timeout=10)
cn_without_timeout = cn()
# 3 send http request
response = cn.get('https://httpbin.org/ip')
# 4 take response with any format
print(response.json()['origin'])
print(response.text())
print(response.body())
print(response.headers().get('User-Agent'))
# 5 close connection after finish
cn.close_host('httpbin.org')
# 6 close all connections in the client
cn.close()
send http request directly
import htto
# send http request without client
response = htto.get('https://httpbin.org')
print(response.text())
soon htto will support proxies HTTP, HTTPS, SOCKS4, SOCKS5
FAQs
simple, high performance http requests library
We found that htto 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
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.