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.
@social-network/ui-settings
Advanced tools
Manages app settings including endpoints, themes and prefixes
User preferences are set as a settings object in the browser's local storage.
import settings from '@polkadot/ui-settings';
render () {
// get api endpoint for the selected chain
const WS_URL = settings.apiUrl();
// get the selected il8n language
const language = settings.il8nLang();
// get all available il8n languages
const languages = settings.availableLanguages();
// update settings
const updatedSettings = {
...settings,
i18nLang: 'Arabic'
}
settings.set(updatedSettings);
// NOTE: API currently does not handle hot reconnecting properly,
so you need to manually reload the page after updating settings.
window.location.reload();
}
Apps that currently use the settings package
FAQs
Manages app settings
We found that @social-network/ui-settings 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.