
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/minh-dng/openfigi-go
A client for the OpenFIGI API.
Construct a builder.
BaseItemBuilder
, then construct a BaseItem
.MappingItemBuilder
, then construct a MappingItem
. MappingRequest
is []MappingItem
.Set the properties through setters. (.Set[...](...)
)
Build the item (.Build()
). The package will validate the content of the item, reducing bad API calls.
[optional] API Key, set with SetAPIKey(string)
.
Use the client to make the request.
BaseItem
use .[Search|Filter](query string, start string)
returning SearchResponse
or FilterResponse
MappingRequest
use .Fetch()
returning []SingleMappingResponse
SearchResponse
and FilterResponse
have a .Next()
method to fetch the next page.make generate
to generate the constants and hashset for validationmake test
for testing, will run make generate
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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.