Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@amanda-mitchell/esv-api
Advanced tools
This is a Javascript client for Crossway's ESV API.
yarn add @amanda-mitchell/esv-api
import { createEsvApiClient } from '@amanda-mitchell/esv-api';
// This can be any method that is compatible with the Fetch interface.
import fetch from 'node-fetch';
const apiKey =
'Go to https://api.esv.org/ to register an application and get an API key.';
const client = createEsvApiClient({ apiKey, fetch });
client
.content({
passage: 'Genesis 1:1',
format: 'txt',
bible: 'leb',
})
.then(console.log)
.catch(console.error);
Each of these methods takes two parameters: a query
string, and an optional options
hash containing the keys corresponding to the official API docs.
To make consumption in JS easier, each option has been converted to camel case.
For example, rather than include-passage-references
, this client accepts an includePassageReferences
key.
With the exception of passageAudio
, each endpoint returns a Javascript object representing the parsed JSON of the response.
passageText
: retrieve Bible text as plain text.passageHtml
: retrieve Bible text as html.passageAudio
: retrieve Bible text as an MP3.passageSearch
: search for specific text in the Bible.FAQs
A client for interacting with Crossway's ESV API.
The npm package @amanda-mitchell/esv-api receives a total of 20 weekly downloads. As such, @amanda-mitchell/esv-api popularity was classified as not popular.
We found that @amanda-mitchell/esv-api 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.