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/vanng822/go-solr
Solr v4, required v4.4 if you want use all supported features.
Json only
No schema checking
Please go to http://wiki.apache.org/solr/ for how to write solr query.
Search, Add, Update, Delete, Commit, Rollback, Optimize
Core admin, Schema REST API
go get github.com/vanng822/go-solr/solr
package main
import (
"github.com/vanng822/go-solr/solr"
"fmt"
)
func main() {
si, _ := solr.NewSolrInterface("http://localhost:8983/solr", "collection1")
query := solr.NewQuery()
query.Q("*:*")
s := si.Search(query)
r, _ := s.Result(nil)
fmt.Println(r.Results.Docs)
}
export MOCK_LOGGING=1
for the mock logging
unset MOCK_LOGGING
to remove this environment variable
MIT
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.