Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/varmaexe/csv-parser
This project is a Golang-based API that parses CSV files and returns the data in JSON format. The API accepts CSV files with a header row, and it assumes that the first row contains the column names. The API uses the encoding/csv package in Golang to read the CSV file, and it returns the data as slice of structs in formatted way.
To use the API, you will need to have Golang installed on your computer. You can download and install Golang from the official website: https://golang.org/dl/
Once you have Golang installed, you can clone the repository and run the following command to install the required packages:
go get github.com/gorilla/mux
To use the API, run the following command:
go run main.go
This will start the server on port 8888. You can then make a POST request to the API with a CSV file in the request body. The API will parse the CSV file and return the data in formatted way.
API Endpoints The API has one endpoint:
POST /upload This endpoint accepts a CSV file in the request body and returns the data in slice of structs
If you would like to contribute to the project, please follow these steps:
Fork the repository.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.