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.
A simple ruby wrapper to Titus Wormer's awesome javascript language detection called Franc.
At this time, this gem depends on a system wide npm installation of franc and runs a bash command within ruby to invoke the franc javascript.
If you do not have franc installed, this gem will install it for you on the first run by using npm. If you don't have npm installed or are not sure what it is, check out the docs.
Here are all supported languages.
$ gem install franc
require 'franc'
Franc is included in the String class and can be called on any string using the language
method:
'Alle menslike wesens word vry'.language
# => "afr"
'এটি একটি ভাষা একক IBM স্ক্রিপ্ট'.language
# => "ben"
'Alle mennesker er født frie og'.language
# => "nno"
'asdfasdf'.language
# => "und"
Copyright (c) 2015 John Mason
FAQs
Unknown package
We found that franc 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.