
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.
@ossiana/node-libcurl
Advanced tools
## Different with Nodejs fetch api * The fingerprint can be customized to look like chrome or firefox ,it modified the BoringSSL extension, set the custom cipher suite with Libcurl ------------
Platform | Support |
---|---|
Windows (x64) | Yes |
Ubuntu (x86_64) | Yes |
MacOS (x86_64/arm64) | Yes |
npm i -g pnpm
pnpm i @ossiana/node-libcurl
import { LibCurl, fetch, requests } from '@ossiana/node-libcurl'
// nonstandard
fetch("https://www.google.com").then(e => e.json())
const session = requests.session({
redirect: true,
cookies: {
value: "a=1",
url: "google.com"
},
proxy: "user:pwd@ip:port",
defaultRequestHeaders: [
["sec-ch-ua-platform", '"Windows"'],
["user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"],
["sec-ch-ua", '"Chromium";v="136", "Google Chrome";v="136", "Not.A/Brand";v="99"'],
["sec-ch-ua-mobile", "?0"],
["accept", "*/*"],
["sec-fetch-site", "same-origin"],
["sec-fetch-mode", "cors"],
["sec-fetch-dest", "empty"],
["sec-fetch-storage-access", "none"],
["referer", "https://www.google.com/search?q=1"],
["accept-encoding", "gzip, deflate, br, zstd"],
["accept-language", "en-US"],
["priority", "u=1, i"],
],
httpVersion: "http2",
verbose: true,
timeout: 15, // 15 seconds
// interface: "eth0",
ja3: "auto",
akamai: "auto",
autoSortRequestHeaders: true,
requestType: "fetch",
// sslCert: {
// certBlob: ...;
// privateKeyBlob: ...;
// type: "PEM";
// password: ...;
// }
});
await session.post("https://www.google.com", {
params: {
a: "b",
},
headers: {
"Content-Type": "application/octet-stream",
},
data: new Uint8Array([1, 2, 3]),
h2config: {
weight: 220,
streamId: 13,
},
// overwrite `autoSortRequestHeaders` [[Once]]
headersOrder: [
"referer",
"Content-Type",
...
],
// overwrite `requestType` [[Once]]
requestType: "XMLHttpRequest"
})
.then(e => console.log(e.text));
FAQs
## Different with Nodejs fetch api * The fingerprint can be customized to look like chrome or firefox ,it modified the BoringSSL extension, set the custom cipher suite with Libcurl ------------
The npm package @ossiana/node-libcurl receives a total of 161 weekly downloads. As such, @ossiana/node-libcurl popularity was classified as not popular.
We found that @ossiana/node-libcurl 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
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.