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.
bring-shopping
Advanced tools
A node module for Bring! shopping lists entirely written in TypeScript.
The developers of this module are in no way endorsed by or affiliated with Bring! Labs AG, or any associated subsidiaries, logos or trademarks.
npm install bring-shopping --production
const bringApi = require(`bring-shopping`);
main();
async function main () {
// provide user and email to login
const bring = new bringApi({mail: `example@example.com`, password: `secret`});
// login to get your uuid and Bearer token
try {
await bring.login();
console.log(`Successfully logged in as ${bring.name}`);
} catch (e) {
console.error(`Error on Login: ${e.message}`);
}
// get all lists and their listUuid
const lists = await bring.loadLists();
// get items of a list by its list uuid
const items = await bring.getItems('9b3ba561-02ad-4744-a737-c43k7e5b93ec');
// get translations
const translations = await bring.loadTranslations('de-DE');
}
More important methods are getItems(listUUID)
, getItemsDetails(listUUID)
, saveItem(listUuid, itemName, specificaiton)
,
moveToRecentList(listUuid, itemName)
and getAllUsersFromList(listUuid)
.
getPendingInvitations
FAQs
Nodejs wrapper for the Bring! API
The npm package bring-shopping receives a total of 31 weekly downloads. As such, bring-shopping popularity was classified as not popular.
We found that bring-shopping 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.