Security News
Supply Chain Attack Detected in @solana/web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@ossiana/node-libcurl
Advanced tools
* 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 |
Windows (x86) | No |
Windows (arm) | No |
Ubuntu (x86_64) | Yes |
MacOS (x86_64) | Yes |
MacOS (arm64) | No |
npm i -g @ossiana/node-libcurl
import { LibCurl, fetch, requests } from '@ossiana/node-libcurl'
fetch("https://xxx.io/api/graphql/").then(e => e.json())
const session = requests.session();
session.setCookie('ua', '123=/1a', '.baidu.com', '/');
const res = await session.get('https://www.baidu.com', {
headers: {
"user-Agent": "1"
}
});
console.log(res.headersMap);
console.log(session.getCookiesMap().get('ua'));
console.log(res.text);
const curl = new LibCurl();
curl.open('POST', 'https://xxx.io/api/graphql/');
curl.setRequestHeaders(`Host: xxx.io
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Content-Type: application/octet-stream
Referer: https://xxx.io/
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
`);
curl.send(new Uint8Array([1, 255, 188]))
.then(e => {
console.log(curl.getResponseString());
});
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 36 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 0 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.