Scan your whole stack
From OX Research Newsroom
Are you using cc-viewer?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.9.38
cc-viewer was last scanned on 27 Nov 2026 at version 1.9.38. Risk score 0 of 100. High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 1.9.38 LATEST | 27 Nov 2026 | 1 rule fired |
| 1.9.37 | 25 Nov 2026 | 1 rule fired |
| 1.9.36 | 24 Nov 2026 | 1 rule fired |
| 1.9.35 | 22 Nov 2026 | Not shown |
| 1.9.34 | 20 Nov 2026 | Not shown |
Findings for v1.9.38. 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.
Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.
HIGHThe score describes 1.9.38; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
🌐 Website & feature tour: weiesky.github.io/cc-viewer — available in 18 languages (e.g. 简体中文, 日本語).
Based on Claude Code, a Vibe Coding tool that distills and accumulates real development experience:
English | 简体中文 | 繁體中文 | 한국어 | 日本語 | Deutsch | Español | Français | Italiano | Dansk | Polski | Русский | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська
npm install -g cc-viewer --registry=https://registry.npmjs.org
brew tap weiesky/cc-viewer
brew install cc-viewer
brew upgrade cc-viewer # use this to upgrade; do NOT use npm install -g to upgrade a brew-installed ccv
pnpm add -g cc-viewer
pnpm add -g cc-viewer@latest # use this to upgrade; do NOT use npm install -g to upgrade a pnpm-installed ccv
ccv is a drop-in replacement for claude — all arguments are passed through to claude while the Web Viewer is launched alongside it.
ccv # == claude (interactive mode)
The command I use most often is:
ccv -c --d # == claude --continue --dangerously-skip-permissions
# ccv passes through every Claude Code launch argument — feel free to combine them however you like
Once started in programming mode, the web page opens automatically.
cc-viewer also ships as a native desktop app: download page
ccv --sdk)ccv --sdk runs the session through the Agent SDK instead of an interactive terminal — no main PTY, messages are sent from the web UI, and everything else (session logs, streaming typewriter, usage stats) works the same as in terminal mode. The header still exposes a Terminal button, but it opens the standalone scratch multi-tab shell (unrelated to the SDK session), not a project PTY.
ccv --sdk # headless session; chat from the browser
ccv --sdk -c # continue the most recent session
ccv --sdk --model sonnet # pick a model
Approvals (Bash/Edit/Write/WebFetch/…) pop up in the browser with allow / deny / allow-for-session, and AskUserQuestion / plan prompts appear as modals. High-risk commands such as rm -rf (deletes files) and npm publish are hard-gated by default — even with --d; only the explicit Full auto-approve permission tier lifts this gate (intended for isolated containers). Requires the @anthropic-ai/claude-agent-sdk package (bundled with cc-viewer); falls back to terminal mode if unavailable.
On the local CCV page, open Global Settings → Claude executable to choose the
Claude Code installation used by CLI, ccv run -- claude, and the desktop app.
CCV suggests executables found in CodeFuse, PATH, npm, and common native-install
locations. You may also enter an absolute path (or a ~/... path). The selection
is saved as claudeExecutablePath in ~/.claude/cc-viewer/preferences.json and
takes effect on the next launch.
An explicit selection is authoritative: if it is later missing or not executable,
CCV stops with an error instead of silently launching another version. Clear the
field to restore automatic discovery. For headless setup, write the same absolute
path to claudeExecutablePath manually. Executable selection is a machine-local
admin setting and is not exposed to LAN clients. CCV disables Claude Code's
self-updater for processes it launches, so upgrades remain under the control of
the selected installation or its package manager.
Since 1.7.0, logs are stored in a per-session directory format (wire-format v2) instead of single .jsonl files — roughly 90% smaller on disk. Existing v1 .jsonl files are never modified or deleted; the log dialog lists v2 sessions by default, and a small “View legacy (v1) logs” entry (shown while old files exist) opens a v1 view where they can be viewed, migrated, or deleted. On startup, cc-viewer offers one-click migration when legacy logs are found (strongly recommended when continuing an old conversation with claude -c, whose first half lives in the old files). You can also migrate from the terminal:
ccv convert <project> # migrate one project
ccv convert --all # migrate every project
ccv verify <v1-file> # check a v1 file against its converted sessions
A session that fails golden verification is held in sessions-quarantine/ for inspection instead of failing the whole migration — the other sessions still migrate.
If you still prefer the native claude tool or the VS Code extension, use this mode.
In this mode, launching claude will automatically start a logging process that records request logs to per-session directories under ~/.claude/cc-viewer/yourproject/sessions/ (wire-format v2)
Enable logger mode:
ccv -logger
When the console cannot print a specific port, the default first port is 127.0.0.1:7008. If multiple instances exist, ports increment sequentially — 7009, 7010, and so on.
Uninstall logger mode:
ccv --uninstall
If you run into start-up issues, here's the ultimate troubleshooting recipe: Step 1: Open Claude Code in any directory; Step 2: Give Claude Code the following instruction:
I have installed the cc-viewer npm package, but running ccv still doesn't work properly. Check cc-viewer's cli.js and findcc.js and adapt them to the local Claude Code deployment based on the specific environment. Keep the scope of changes confined to findcc.js as much as possible.
Letting Claude Code diagnose the problem on its own is more effective than asking anyone or reading any documentation!
Once the instruction is done, findcc.js will have been updated. If your project frequently needs local deployment, or your forked code often runs into installation issues, just keep this file — next time you can simply copy it over. At this stage many projects and companies use Claude Code on server-side hosted deployments rather than on Mac, so I split out findcc.js to make it easier to keep tracking upstream cc-viewer source updates.
Note: this app conflicts with claude-code-switch and claude-code-router — there is a proxy contention problem, so make sure you turn off claude-code-switch and claude-code-router when using it. cc-viewer provides built-in proxy hot-reload that can replace them. The hot-switch dialog also supports per-role sources — Main Agent, Sub-Agents and Teammates can each use a different proxy profile (default: follow the Main Agent); when the Main Agent uses the built-in Default with the official endpoint, role assignment stays hidden and dormant.
See:
ccv -h
By default, ccv runs in silent mode when wrapping claude, keeping your terminal output clean and consistent with the native experience. All logs are captured in the background and can be viewed at http://localhost:7008.
Once configured, just use the claude command as usual. Visit http://localhost:7008 to open the monitoring UI.
Open Scheduled tasks from the (+) menu (chat input bar or terminal toolbar) to run a prompt on a schedule: a preset (hourly / daily / weekdays / weekly), a custom 5-field cron, or a one-off time. Each task either injects the prompt into the current live session (queued while busy, exactly as if you typed it) or spawns a fresh isolated headless session (SDK mode only) with a clean context. The task prompt reuses the UltraPlan input panel: pick an expert template tab (empty template by default, no wrapper) and paste/upload attachments — the wrapper and quoted paths are assembled at fire time.
Task definitions and scheduling state live in preferences.json (the scheduledTasks key) and run history (last 20 per task) in scheduled-task-runs.json under the cc-viewer data dir, scheduled in the server's local timezone with a small per-task jitter to avoid on-the-hour stampedes. The server ticks every 10s and claims each fire under a cross-process file lock, so parallel instances / Electron tabs never double-fire. After a restart or a sleep it catches up the single most recent missed run within 7 days (earlier misses are recorded as missed, never back-filled one by one).
You can Run now, pause/resume, delete, and see the last 20 runs (an isolated-session run can jump straight to its session). Fires are silent (the message just appears in the conversation); completions and failures surface as a toast. Note: a task only fires while ccv is running, and the scheduler does not run in a workspace-management (unbound) process.
Open Context compaction from the (+) menu to manage a list of compaction rules, each with a title, a custom script, a trigger threshold (a percentage of the context window, or an absolute size in K tokens), and an execution timing. When a turn-end check finds context usage above a rule's threshold, the timing decides what happens: Ask the user floats a bubble above the composer and /compact <script> is injected only after you click Compact now; after 30s / 3min shows the same bubble with a countdown and runs automatically when it ends (paused while hidden); automatically injects without any bubble. A built-in "default compaction rule" (75% / ask-the-user) is always present — it can't be deleted, but everything else (title / script / threshold / enabled / timing) is editable — and a dashed watermark line marks its threshold on the context usage bar once usage comes within 100K of it. Injection never happens mid-turn, with one exception: a built-in forced compaction fires when usage crosses 960K tokens, interrupting the current turn to inject the default rule's current script (user-edited, or the built-in fallback). Rules live in the global contextCompaction key in preferences.json and work in both SDK and PTY modes. The trigger is hardened against flapping: an over-limit reading is clamped (not fatal), hysteresis re-arms only after usage drops back below the line, a successful injection cools down for a few turns, and repeated failures open a circuit breaker.
After launching with ccv you'll see:
You can view the code diff directly right after an edit:
While you can open files and code by hand, that's not recommended — that's the old-school way!
The File Explorer panel header includes a VS Code-style Search across files toggle (the magnifier button, next to Refresh). Click it to open the search view right below the file tree in the same panel; click again to close. Type a keyword or regular expression and get matches grouped by file with the matched text highlighted; click a result to jump straight to that line with the match selected (the tree expands to reveal the file too). The usual toggles are there — Match Case, Match Whole Word, Use Regular Expression, and a "…" expander for files to include / exclude globs. Search is scoped to the current project and honors .gitignore (it uses ripgrep when it's installed for speed, and falls back to a built-in scanner otherwise, so there's nothing extra to install).
You can also replace across files: expand the replace row (the chevron next to the search box), and each match shows an inline before/after preview. Replace a single match, all matches in one file, or everywhere (replace-all asks for confirmation first). Regex mode supports $1/$& capture-group substitution. Replacements write directly to disk — files with unsaved edits open in the viewer are skipped, and there's no built-in undo, so lean on version control to revert.
You can even scan a QR code and code from a mobile device:
Everything you imagined about mobile coding — plus a plugin mechanism: if you need to customize for your own coding habits, stay tuned for plugin hook updates.
By default, remote (LAN) access requires the ?token= query that ccv prints at startup. As an alternative that's friendlier to share, scan, or bookmark, you can turn on password login:
ccv --usePassword to enable it immediately. A bare flag auto-generates a 6-character password (uppercase letters + digits) and prints it to the console; ccv --usePassword=<your-password> sets a specific one. The password is shown in uppercase but matched case-insensitively at login, so it's easy to type on a phone.127.0.0.1 is the admin: it never needs a password and is the only one allowed to view or change it. Open the QR-code popover — directly below the QR you can enable protection, edit/copy the password, or turn it back off.HttpOnly cookie and the page refreshes into the app. The existing ?token= URL keeps working in parallel.preferences.json — a global auth key plus an optional authByProject map (file mode 0600). The password itself is not kept there: it is encrypted at rest (AES-256-GCM) in credentials.json under the same data root, with the machine-local key in master.key (both mode 0600). The login cookie is tied to the per-launch token, so restarting ccv requires remote devices to log in again.cc-viewer works in a single container or on a cloud host where you reach the UI from a remote browser. The main process binds 0.0.0.0 by default, so once you map the port you can open it from anywhere.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.