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.
= webtagger
Webtagger is a simple ruby gem that uses the web intelligence to extract important terms in texts, suitable for tagging them, finding the main subject or automatically building queries.
And it's written to support any API in the future.
==Installation gem install webtagger
==Usage
require 'webtagger'
text = "Hi, I'm text"
#you simply call the appropriate method:
tags = WebTagger.tag_with_tagthe(text)
#some APIs might need an api key, pass that as the second parameter
tags = WebTagger.tag_with_yahoo(text, "YOUR-API-KEY")
#you can also "OR" results together: the first service that responds will be the overall result
tags = WebTagger.tag_with_yahoo_or_tagthe_or_alchemy text, {:yahoo=>"YOUR_YAHOO_KEY", :alchemy=>"ALCHEMY_KEY"}
#and you can of course "AND" results together: call all of the services:
tags = WebTagger.tag_with_yahoo_and_tagthe_and_alchemy text, {:yahoo=>"YOUR_YAHOO_KEY", :alchemy=>"ALCHEMY_KEY"}
#however, you can't combine them: this is EXACTLY THE SAME as above :(
tags = WebTagger.tag_with_yahoo_and_tagthe_or_alchemy text, {:yahoo=>"YOUR_YAHOO_KEY", :alchemy=>"ALCHEMY_KEY"}
WebTagger uses caching so rest assured you won't be throttled by the API providers.
If something funny happens (a 4XX or 5XX response is returned), nil will be returned.
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 lfborjas. See LICENSE for details.
FAQs
Unknown package
We found that webtagger demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.