
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/gagan-jasuja/youtube-api
This is a simple Go application that interacts with the YouTube API to fetch and store video data in MongoDB. The application provides a RESTful API to retrieve videos and perform searches based on titles and descriptions.
Clone the repository:
git clone https://github.com/gagan-jasuja/youtube-api.git
cd your-repo-name
Set up your environment variables in a .env
file:
MONGODB_URI=your_mongodb_uri
Install the necessary dependencies:
go mod init youtube-api
go mod tidy
Start the application:
go run ./cmd/main.go
The application will run on http://localhost:8080
.
/videos?page=1&limit=10
GET
/search?query=your_search_query
GET
You can test the API using Postman by following these steps:
Fetch Videos:
GET http://localhost:8080/videos?page=1&limit=10
Search Videos:
GET http://localhost:8080/search?query=Movies
Primary_Owner - Gagan Jasuja
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.