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.
[] (https://codecov.io/gh/patiOne/Ayanami) [] (https://circleci.com/gh/patiOne/Ayanami) [] (https://gitter.im/patiwan/Ayanami?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
"If I die, I can be replaced" - Rei Ayanami
A Telegram Bot API for Ruby that focuses on simplicity. Ayanami is meant to be a simple interface to Telegram's Bot API.
The Goal of Ayanami is to keeping it simple and barebone, so other people can use it for their own purposes/needs.
Add this line to your application's Gemfile:
gem 'Ayanami'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ayanami
You can start by creating a Bot object.
b = Ayanami::Bot.new('YOUR_BOT_TOKEN_GOES_HERE')
To confirm the connection, You can invoke the get_me
function to see your bot identity.
puts b.get_me
To get received messages or other updates, You can invoke the get_updates
function to
receive updates.
puts b.get_updates()
You can also send a simple message to a group/user by invoking the send_message
function.
puts b.send_message(chat_id: USER_OR_CHAT_ID_GOES_HERE, text: 'Hello :)')
For more information about the included functions, Please consult Telegram's Bot API documentation
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow
you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Bug reports and pull requests are welcome on GitHub at https://github.com/patiOne/Ayanami.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that ayanami 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.