
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
This gem is a Ruby wrapper for InferKit, an AI-based text generator.
gem install inferkit-ruby
require 'inferkit'
require 'inferkit/client'
Inferkit.configure(api_key: 'YOUR_INFERKIT_API_KEY')
client = Inferkit::Client.new
puts client.generate('This is the story of',
length: 500,
start_from_beginning: true,
force_no_end: false,
top_p: 0.8,
temperature: 1.5
)
You can provide your API-key as parameter when calling Inferkit.configure
as in the example above. Or you can set the INFERKIT_API_KEY
environment variable and call Inferkit.configure
without parameter.
You generate text by calling the generate
method of Inferkit::Client
and providing a text prompt. All additional parameters, such as length, are optional.
FAQs
Unknown package
We found that inferkit-ruby 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.