Security News
Supply Chain Attack Detected in Solana's 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.
curl_transcode
Advanced tools
Transcode cURL query to various programming languages. The source directory that
contains source files .curl.sh
. Transcoding put results into the target
directory. The source file name is keep unchange, the extension is changed to
specific programming language. There are programming supported languages and
platforms:
npm install curl_transcode
mkdir source target
echo '{"replace": ["API_ENDPOINT"]}' > .curl_transcode.json
echo 'API_ENDPOINT="https://foo.bar/baz"' > .env
echo 'curl -X GET "$API_ENDPOINT"' > source/get.curl.sh
npx curl_transcode source target
curl_transcode <source_directory> <target_directory>
source_directory
- Path to directory that contains source files .curl.sh
.
It must be existed.target_directory
- Path to directory to put result files. It must be
existed.// File: ".curl_transcode.json".
// Support JSON5 format.
{
// List of tokens to replace by environment variable from source files
// `.curl.sh`.
//
// Default: []
//
// Example: `API_ENDPOINT` will replace token `$API_ENDPOINT` by value of
// environment variable `API_ENDPOINT`.
"replace": ["API_ENDPOINT"]
}
# File: ".env"
# Contains environment variables for replacing source files `.curl.sh`.
API_ENDPOINT="https://foo.bar/baz
FAQs
Transcode cURL query to various programming languages
The npm package curl_transcode receives a total of 0 weekly downloads. As such, curl_transcode popularity was classified as not popular.
We found that curl_transcode 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.
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.