
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@doctormckay/proxy-agent
Advanced tools
This is a module which simply provides an HTTP(S) Agent
which allows for requests/connections to be made through an
HTTP(S) proxy.
secure
- true
if this agent will be used for secure (HTTPS) requests, or false
if notproxyUrl
- The URL to your proxy, or something falsy to just get false
returned (indicating no agent)proxyTimeout
- The timeout for connecting to the proxy in milliseconds; default 5000
(5 seconds)const ProxyAgent = require('@doctormckay/proxy-agent');
const HTTPS = require('https');
HTTPS.get({
"host": "icanhazip.com",
"port": 443,
"agent": ProxyAgent.getAgent(true, "http://user:pass@1.2.3.4:12345", 10000)
}, (res) => {
if (res.statusCode != 200) {
console.log("HTTP error: " + res.statusCode);
}
res.on('data', (chunk) => {
console.log(chunk.toString('utf8'));
});
}).on('error', (err) => {
console.log(err);
});
FAQs
An HTTP Agent that connects to an HTTP proxy
The npm package @doctormckay/proxy-agent receives a total of 748 weekly downloads. As such, @doctormckay/proxy-agent popularity was classified as not popular.
We found that @doctormckay/proxy-agent 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.