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/yapo-chile/legacy-mobile-apps-premium-carousel-api
premium-carousel-api needs a description here.
Create the dir: ~/go/src/gitlab.com/yapo_team
Set the go path: export GOPATH=~/go
or add the line on your file .bash_rc
Clone this repo:
$ cd ~/go/src/gitlab.com/yapo_team
$ git clone git@github.mpi-internal.com:Yapo/premium-carousel-api.git
On the top dir execute the make instruction to clean and start:
$ cd premium-carousel-api
$ make start
To get a list of available commands:
$ make help
Targets:
test Run tests and generate quality reports
cover Run tests and output coverage reports
coverhtml Run tests and open report on default web browser
checkstyle Run gometalinter and output report as text
setup Install golang system level dependencies
build Compile the code
run Execute the service
start Compile and start the service
fix-format Run gofmt to reindent source
info Display basic service info
docker-build Create docker image based on docker/dockerfile
docker-publish Push docker image to containers.mpi-internal.com
docker-attach Attach to this service's currently running docker container output stream
docker-compose-up Start all required docker containers for this service
docker-compose-down Stop all running docker containers for this service
help This help message
If you change the code:
$ make start
How to run the tests
$ make [cover|coverhtml]
How to check format
$ make checkstyle
Reports whether the service is up and ready to respond.
When implementing a new service, you MUST keep this endpoint and update it so it replies according to your service status!
No request parameters
200 OK
{
"Status": "OK"
}
Kubernetes and Helm have to be installed in your machine.
If you haven't done it yet, you need to create a secret to reach Artifactory.
kubectl create secret docker-registry containers-mpi-internal-com -n <namespace> --docker-server=containers.mpi-internal.com --docker-username=<okta_username> --docker-password=<artifactory_api_key> --docker-email=<your_email>
helm install -n <name_of_your_release> k8s/premium-carousel-api
kubectl get pods
kubectl logs <name_of_your_pod>
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.