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/reficul31/codechef-photo-gallery
A photo gallery app made for codechef recruitments 2018
This section describes how the app can be viewed in action.
Step 1: Download and setup GoLang
Install GoLang. Official documentation installation is prefect and will work seamlessly. Please be wary to setup the directory structure as specified in the docs.
Step 2: Download the App to your local machine
Once golang is installed run the following command
go get github.com/reficul31/codechef-photo-gallery
This would fetch the entire application to the following path $GOPATH/src/github.com/reficul31/codechef-photo-gallery
go run main.go
Once the application is running, go to the following link. The dummy account's username and password is
Username: test@test.com
Password: password
This section describes the API made for and utilized by this app.
HTTP Verb | CRUD | PARAMS(JSON) | RETURNS(JSON) | ENDPOINT |
---|---|---|---|---|
GET | Read | List of Albums | /album | |
PUT | Update | Album ID | /album | |
POST | Create | Album Object | /album | |
DELETE | Delete | Album ID | /album |
HTTP Verb | CRUD | PARAMS(JSON) | RETURNS(JSON) | ENDPOINT |
---|---|---|---|---|
GET | Read | List of Photos | /photo | |
PUT | Update | Photo ID | /photo | |
POST | Create | Photo Object | /photo | |
DELETE | Delete | Photo ID | /photo |
HTTP Verb | CRUD | PARAMS(JSON) | RETURNS(JSON) | ENDPOINT |
---|---|---|---|---|
GET | Read | User Details | /user | |
PUT | Update | User ID | /user | |
POST | Create | User Object | /register | |
DELETE | Delete | User ID | /user |
This section contains all the landmarks that have to be hit in order to complete the challenge successfully
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.