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.hscsec.cn/arttet/reddit-feed-api
make
and curl
tools.$ make help
Local commands
help: Show this help
all: Run the all build commands
reqs: Install requirements
deps: Build and install Go dependencies
gen: Generate Go code
build: Compile the current package and all of its dependencies
test: Execute the unit tests
bench: Execute the benchmark tests
lint: Check the current package to catch common mistakes and improve the code
tidy: Cleanup go.mod
fmt: Format *.go and *.proto files using gofmt and clang-format
cover: Show the cover report
grpcui: Run the grpcui tool
clean: Remove generated artifacts
update: Update dependencies as recorded in the go.mod and go.sum files
Docker commands
image: Build Dockerfile
debug-image: Build Dockerfile.debug
dc-build: Build docker-compose.yaml
up: Up reddit-feed-api
down: Down reddit-feed-api
rm: Remove Docker artifacts
CLI commands
run: Run reddit-feed-api locally
cli-create: Run the CreatePostsV1 handle
cli-generate: Run the GenerateFeedV1 handle
producer: Run the Kafka producer command
consumer: Run the Kafka consumer command
Method | Path | Description |
---|---|---|
POST | /v1/posts | Create new posts |
GET | /v1/feed/{page_id} | Generate a feed of posts |
http_microservice_requests_total
reddit_feed_api_feed_not_found_total
pgcli "postgresql://docker:docker@localhost:5432/reddit_feed_api"
goose -dir migrations/reddit-feed-api postgres "postgresql://docker:docker@localhost:5432/reddit_feed_api" status
goose -dir migrations/reddit-feed-api postgres "postgresql://docker:docker@localhost:5432/reddit_feed_api" up
goose -dir migrations/reddit-feed-api postgres "postgresql://docker:docker@localhost:5432/reddit_feed_api" status
admin
ADMIN
admin
admin
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.