
Research
/Security News
16 Malicious Firefox Extensions Steal Cryptocurrency Wallet Credentials
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.
@xiboplayer/settings
Advanced tools
CMS display settings management for Xibo players.
Parses and applies display configuration received from the CMS RegisterDisplay response:
interval-changed and settings-applied on updatesCMS RegisterDisplay response
|
v
DisplaySettings.applySettings(raw)
+- Parse all settings (handles both camelCase and PascalCase)
+- Validate and normalize values
+- Detect changes (collectInterval)
+- Emit events
|
v
Platform Layer listens to events
+- 'interval-changed' -> update collection timer
+- 'settings-applied' -> update UI, screenshot config, etc.
npm install @xiboplayer/settings
import { DisplaySettings } from '@xiboplayer/settings';
const settings = new DisplaySettings();
// Apply settings from CMS (RegisterDisplay response)
const { changed, settings: applied } = settings.applySettings(regResult.settings);
console.log('Changed:', changed); // e.g., ['collectInterval']
// Read settings
const interval = settings.getCollectInterval(); // 300 (seconds)
const displayName = settings.getDisplayName(); // 'Lobby Display'
const { width, height } = settings.getDisplaySize(); // { width: 1920, height: 1080 }
const statsOn = settings.isStatsEnabled(); // true/false
// Check download window
if (settings.isInDownloadWindow()) {
startDownloads();
} else {
const next = settings.getNextDownloadWindow();
console.log(`Downloads paused, next window at ${next}`);
}
// Check screenshot timing
if (settings.shouldTakeScreenshot(lastScreenshotDate)) {
captureScreenshot();
}
// Listen for changes
settings.on('interval-changed', (newInterval) => {
updateCollectionTimer(newInterval);
});
settings.on('settings-applied', (allSettings, changedKeys) => {
console.log('Settings updated:', changedKeys);
});
| Key | Type | Default | Description |
|---|---|---|---|
collectInterval | number | 300 | CMS polling interval (seconds, min 60, max 86400) |
displayName | string | 'Unknown Display' | Human-readable display name |
sizeX / sizeY | number | 1920 / 1080 | Display resolution |
statsEnabled | boolean | false | Enable proof-of-play tracking |
aggregationLevel | string | 'Individual' | Stats mode: 'Individual' or 'Aggregate' |
logLevel | string | 'error' | Remote log level |
xmrNetworkAddress | string | null | XMR network address |
xmrWebSocketAddress | string | null | XMR WebSocket URL |
xmrCmsKey | string | null | XMR authentication key |
preventSleep | boolean | true | Keep screen awake |
screenshotInterval | number | 120 | Seconds between screenshots |
downloadStartWindow | string | null | Download window start (HH:MM) |
downloadEndWindow | string | null | Download window end (HH:MM) |
new DisplaySettings()
Extends EventEmitter -- supports on(), off(), emit().
| Method | Returns | Description |
|---|---|---|
applySettings(raw) | { changed, settings } | Parse and apply CMS settings |
getCollectInterval() | number | Collection interval in seconds |
getDisplayName() | string | Display name |
getDisplaySize() | { width, height } | Display resolution |
isStatsEnabled() | boolean | Stats enabled flag |
getAllSettings() | Object | All settings (copy) |
getSetting(key, default?) | any | Get specific setting |
isInDownloadWindow() | boolean | Check if downloads are allowed now |
getNextDownloadWindow() | Date | null | Next download window start |
shouldTakeScreenshot(last) | boolean | Check if screenshot interval elapsed |
| Event | Payload | Description |
|---|---|---|
interval-changed | (seconds) | Collection interval changed |
settings-applied | (settings, changedKeys) | Settings applied from CMS |
@xiboplayer/utils -- EventEmitter, loggerxiboplayer.org · Part of the XiboPlayer SDK
FAQs
CMS settings management and application for xiboplayer
The npm package @xiboplayer/settings receives a total of 20 weekly downloads. As such, @xiboplayer/settings popularity was classified as not popular.
We found that @xiboplayer/settings demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Research
/Security News
Socket uncovered two malicious VS Code themes in a GlassWorm-linked cluster with thousands of installs across VS Code Marketplace and Open VSX.