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.
This rubygem provides an easy way to interact with a Minecraft (bukkit) server running the JSONAPI plugin. It uses the v2-API, so it has full support for permissions.
Calling multiple methods is not yet implemented, but is planned for the 1.0 release.
Add this line to your application's Gemfile
:
gem 'mcjsonapi', '~> 0.9.0'
(Don't forget to run $ bundle install
)
Or install it manually:
$ gem install mcjsonapi
require "mcjsonapi"
# Create a new API instance
api = Mcjsonapi::API.new username: "username", password: "password", host: "localhost", port: 20059
# localhost:20059 is assumed as default host/port
# Call a single method
api.call "server.version"
# => "git-Bukkit-1.6.4-R2.0-b2918jnks (MC: 1.6.4)"
# Call a method with arguments
api.call { name: "players.online.send_message", arguments: ["Player", "Hello World"] }
# Generate a call key
api.generate_key("server.version")
# => "8433478ce05d331c743ff69cad00792039396d222d304545bd40f2ccecd714c9"
# Calling multiple methods at once is not yet implemented.
This project is available under the permissive MIT license. (See LICENSE.md for details). Any type of contribution is appreciated.
FAQs
Unknown package
We found that mcjsonapi 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.
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.