Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@f5-sales-demo/xcsh-stats

Latest version: v25.2.6

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: robinmordasiewicz
0 Stars
0 Forks
231 Versions
7.9K Downloads
TypeScript Repo language

Scan summary

@f5-sales-demo/xcsh-stats was last scanned on 29 Nov 2026 at version 25.2.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 231 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 25.2.6.
  • Downloads: 7,939 downloads.

Versions

231 versions published
Versions and the rules that fired in each
VersionPublishedStatus
25.2.6 LATEST 29 Nov 2026 No rules fired
25.2.5 28 Nov 2026 No rules fired
25.2.4 28 Nov 2026 No rules fired
25.2.3 28 Nov 2026 Not shown
25.2.1 28 Nov 2026 Not shown

No rules fired in 25.2.6

Findings

Findings for v25.2.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 25.2.6; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@f5-sales-demo/xcsh-stats

Local observability dashboard for AI usage statistics.

Features

  • Session log parsing: Reads JSONL session logs from ~/.xcsh/agent/sessions/
  • SQLite aggregation: Efficient stats storage and querying using bun:sqlite
  • Web dashboard: Real-time metrics visualization with Chart.js
  • Incremental sync: Only processes new/modified log entries

Metrics Tracked

Metric Calculation
Tokens/s output_tokens / (duration / 1000)
Cache Rate cache_read / (input + cache_read) * 100
Error Rate count(stopReason=error) / total_calls * 100
Total Cost Sum of usage.cost.total
Avg Latency Mean of duration
TTFT Mean of ttft (time to first token)

Usage

Via CLI
# Start dashboard server (default: http://localhost:3847)
xcsh stats

# Custom port
xcsh stats --port 8080

# Print summary to console
xcsh stats --summary

# Output as JSON (for scripting)
xcsh stats --json
Programmatic
import { getDashboardStats, syncAllSessions } from "@f5-sales-demo/xcsh-stats";

// Sync session logs to database
const { processed, files } = await syncAllSessions();

// Get aggregated stats
const stats = await getDashboardStats();
console.log(stats.overall.totalCost);
console.log(stats.byModel[0].avgTokensPerSecond);

API Endpoints

Endpoint Description
GET /api/stats Overall stats with all breakdowns
GET /api/stats/models Per-model statistics
GET /api/stats/folders Per-folder/project statistics
GET /api/stats/timeseries Hourly time series data
GET /api/sync Trigger sync and return counts

Data Storage

  • Session logs: ~/.xcsh/agent/sessions/ (JSONL files)
  • Stats database: ~/.xcsh/stats.db (SQLite)

Dashboard

The web dashboard provides:

  • Overall metrics cards (requests, cost, cache rate, error rate, duration, tokens/s)
  • Time series chart showing requests and errors over time
  • Per-model breakdown table
  • Per-folder breakdown table
  • Auto-refresh every 30 seconds

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @f5-sales-demo/xcsh-stats

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229