Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
openfeature-meta_provider
Advanced tools
The OpenFeature::SDK::Provider::MetaProvider
is a utility provider implementation that takes multiple providers for use during flag resolution. This can be helpful when an organization is migrating or consolidating feature flag providers as they transition to OpenFeature. There are usually a combination of internal and vendor providers that are combined together to handle flag resolution. If your organization has different providers for different teams, consider looking at using domains.
Coming soon!
The MetaProvider
is initialized with a collection of Provider
s and a strategy for fetching flags from them.
# Create a MetaProvider
meta_provider = OpenFeature::SDK::Provider::MetaProvider.new(
providers: [
OpenFeature::SDK::ProviderInMemoryProvider.new,
MyCustomProvider.new
],
strategy: :first_match
)
# Use it as the default provider
OpenFeature.configure do |c|
c.set_provider(meta_provider)
end
When :first_match
is given as the strategy, each provider will be evaluated, in the order they were passed in, for the requested flag_key
. The first provider where the flag_key
is found will be returned, short-circuiting flag evaluation with the remaining providers. In the case of a provider error, or no matching flags, returns the default value.
FAQs
Unknown package
We found that openfeature-meta_provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.