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.
Phantasma - A Smart NFT Carbon Negative Blockchain for Gaming, dApp
This gem is community edition of Phantasma Blockchain SDK in Ruby.
gem "phantasma", :git => "https://github.com/MysteriousNothing/phantasma.git"
# or RubyGems
gem "phantasma"
https://testnet.phantasma.info
https://phantasma.gitbook.io/developers/overview/quick-start
The Ruby version does not use different classes, we use Ruby metaprogramming.
This means adding new endpoint means updating ALLOWED_METHOD
const in lib/phantasma/API/api.rb
api = Phantasma::API::Request.new(url: 'https://testnet.phantasma.info')
api.get_account({account: '1231313'})
api.get_accounts({accounts: ['1231313']})
api.get_addresses_by_symbol({symbol: 'SOUL', extended: false})
api.look_up_name({name: 'SOUL'})
api = Phantasma::API::Request.new(url: 'https://testnet.phantasma.info')
api.rpc({"jsonrpc": "2.0", "method": "health", "id": "1", "params": [] })
ruby lib/phantasma/documentation.rb
https://testnet.phantasma.info/swagger/index.html
Find missing or deprecated API endpoints by calling
Phantasma::API.find_missing_endpoints
Phantasma::API.find_deprecated_endpoints
# All tests
rspec spec/
# Specific
rspec spec/API/api_spec.rb
Finish tests - 233 examples, 5 failures, 228 passed
RPC or eRPC(Google RPC, http2)
Phantasma VM in Ruby
Add API command line support
Bug reports and pull requests are welcome on GitHub at https://github.com/MysteriousNothing/phantasma.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that phantasma 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.