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.
Licensed caches the licenses of dependencies and checks their status, and is available as a Ruby gem.
Licensed is not a complete open source license compliance solution. Please understand the important disclaimer below to make appropriate use of Licensed.
Licensed is currently in low maintenance mode. At this point, we're only looking to maintain this repository for security fixes.
Licensed v4 no longer provides a self-contained executable build of licensed. Please see the deprecation notice for more context.
Licensed v3 includes a breaking change if both of the following are true:
All other usages of licensed should not encounter any major changes migrating from the latest 2.x build to 3.0.
See CHANGELOG.md for more details on what's changed. See the v3 migration documentation for more info on migrating to v3.
Licensed v2 includes many internal changes intended to make licensed more extensible and easier to update in the future. While not too much has changed externally, v2 is incompatible with configuration files and cached records from previous versions. Fortunately, migrating is easy using the licensed migrate
command.
See CHANGELOG.md for more details on what's changed.
See the v2 migration documentation for more info on migrating to v2, or run licensed help migrate
.
Licensed uses the libgit2
bindings for Ruby provided by rugged
. rugged
requires cmake
and pkg-config
which you may need to install before you can install Licensed.
# Ubuntu
sudo apt-get install cmake pkg-config
# macOS
brew install cmake pkg-config
Add this line to your application's Gemfile:
gem 'licensed', :group => 'development'
And then execute:
$> bundle
brew install licensed
See getting started for guidance using Licensed as part of your developer workflow.
See the commands documentation for documentation on available commands, or run licensed -h
to see all of the current available commands.
A configuration file is required for most commands. See the configuration file documentation for more details on the configuration format and available configuration options.
Licensed can enumerate dependency for many languages, package managers, and frameworks. See the sources documentation for the list of currently available sources. Sources can be explicitly enabled and disabled as a configuration option.
To get started after checking out the repo, run
script/bootstrap
to install dependenciesscript/setup
to setup test fixtures.script/setup -f
will force a clean test fixture environmentscript/cibuild
to run the testsYou can also run script/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then create a release on GitHub.
See the documentation on adding new sources for detailed information on what's required to add a new dependency source enumerator.
Bug reports and pull requests are welcome on GitHub at https://github.com/github/licensed. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct. See CONTRIBUTING for more details.
Licensed is not a complete open source license compliance solution. Like any bug, licensing issues are far cheaper to fix if found early. Licensed is intended to provide automation around documenting the licenses of dependencies and whether they are configured to be allowed by a user of licensed, in other words, to surface the most obvious licensing issues early.
Licensed is not a substitute for human review of each dependency for licensing or any other issues. It is not the goal of Licensed or GitHub, Inc. to provide legal advice about licensing or any other issues. If you have any questions regarding licensing compliance for your code or any other legal issues relating to it, it’s up to you to do further research or consult with a professional.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that licensed 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.
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.