
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
react-hadiths
Advanced tools
This SDK supplies easy access to Hadiths - API resources.
This is a a list of unique features this project comprise of;
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
Install NPM package
npm install react-hadiths
yarn react-hadiths
Visit to subscribe free of charge, no atm required. Hadiths API.
Usage Get all hadiths
import Hadith from "react-hadiths"
const client = new Hadith({
apiKey: "ENTER YOUR API KEY"
});
client.getAlltHadiths().then((item) =>
console.log(item)
)
Get a single Hadith by ID
import Hadith from "react-hadiths"
const client = new Hadith({
apiKey: "ENTER YOUR API KEY"
});
let id ="639b1ed040467f67664485cb"
client.getHadithById(id).then((item) =>
console.log(item)
)
Get Hadith by collection
import Hadith from "react-hadiths"
const client = new Hadith({
apiKey: "ENTER YOUR API KEY"
});
let collection ="Sahih Muslim"
client.getHadithsByCollection(collection).then((item) =>
console.log(item)
)
Get Hadith by category and collection
import Hadith from "react-hadiths"
const client = new Hadith({
apiKey: "ENTER YOUR API KEY"
});
let collection ="Sahih Muslim"
let category ="Introduction"
client.getHadithsByCategory(collection, category).then((item) =>
console.log(item)
)
Search for words
import Hadith from "react-hadiths"
const client = new Hadith({
apiKey: "ENTER YOUR API KEY"
});
let search ="food"
client.searchHadiths(search).then((item) =>
console.log(item)
)
You can learn more in the Hadiths API. Visit the Github.
FAQs
A Simple SDK to use the Hadiths API effectively and efficiently
We found that react-hadiths 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.