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.
github.com/facebookincubator/facebook-server-side-api-swagger
The server-side API (for web) allows advertisers to send web events from their servers directly to Facebook. Server-side events are linked to a pixel and are processed like browser pixel events. This means that server-side events are used in measurement, reporting, and optimization in the same way as browser pixel events. Learn More
Create the Server-side API (for Web) client SDK using Swagger codegen and quickly onboard to send the actions people take on your website when they interact with your page, such as Lead, ViewContent, AddToCart, InitiateCheckout and Purchase events.
Clone this repo with the following command:
$ git clone https://github.com/facebookincubator/Facebook-Server-Side-API-Swagger.git
swagger-codegen generate -i server-side-api.yaml -l
Example:
swagger-codegen generate -i server-side-api.yaml -l csharp
java -jar swagger-codegen-cli-2.2.1.jar generate -i server-side-api.yaml -l
Example:
java -jar swagger-codegen-cli-2.2.1.jar generate -i server-side-api.yaml -l csharp
In the above code, we pass two arguments : - i and -l. -i is used to specify the path of Server-side API’s specification. -l is used to specify the language you want to generate the code for Server-side API’s specification
The Codegen creates a README file with all the information for running and building the API. Each language creates a different README, so please go through it to learn about how to build your Swagger defined API.
See the CONTRIBUTING file for how to help out
Official Facebook Pixel is GPLv2-licensed
FAQs
Unknown package
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.