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.
bruhapi-fixed
Advanced tools
Gives random jokes, words, images and more. Also has a text to image feature. Fixed by AizakkuDev.
Welcome to the fixed version of the BruhAPI NPM package! This package has many things to play around with such as text to image, random jokes & facts, random subreddit images, and more! A documentation of how to use each feature can be found below.
This package can be used if the main package is currently broken, but you can use this anytime.
npm install bruhapi
will install the package.
const bruh = require("bruhapi-fixed")
will reference the package.
*Each function using BruhAPI should be async.
Using the BruhAPI NPM module is very easy! Just use bruh('/endpoint')
and it'll return the res
query from the endpoint response. Most responses return res
for the most important query. Created by WILLM4937
, fixed by AizakkuDev
.
const bruh = require("bruhapi-fixed") //require the package
test() //call the function
async function test()
{console.log(await bruh('/fact'))} //declare the function
This will return a fact to the console. Here is an example output: Washington, DC is the capital of the United States of America.
const bruh = require("bruhapi-fixed")
client.on("message", message => {
if (message.author.bot) return; // Just to make sure the bot doesn't respond to itself
const response = await bruh('/cb/Never gonna give you up') // You can change "Never gonna give you up" to the message you want to input for the bot to respond.
message.channel.send(response) // Bot sends response to "Never gonna give you up"
})
This will return a chatbot response in Discord. Since I inputted "Never gonna give you up", the bot will respond: Never gonna let you down.
If you have any questions, please join the Discord server!
FAQs
Gives random jokes, words, images and more. Also has a text to image feature. Fixed by AizakkuDev.
The npm package bruhapi-fixed receives a total of 0 weekly downloads. As such, bruhapi-fixed popularity was classified as not popular.
We found that bruhapi-fixed 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.