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

calmonkey

Latest version: v0.2.4

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: calmonkey-dev
0 Stars
0 Forks
5 Versions
92 Downloads
TypeScript Repo language

Scan summary

calmonkey was last scanned on 24 Nov 2026 at version 0.2.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.2.4.
  • Downloads: 92 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.4 LATEST 24 Nov 2026 No rules fired
0.2.3 10 Oct 2026 No rules fired
0.2.2 10 Oct 2026 No rules fired
0.2.0 9 Oct 2026 Not shown
0.0.0-stage 8 Oct 2026 Not shown

No rules fired in 0.2.4

Findings

Findings for v0.2.4. 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 0.2.4; other versions have their own rules, not their own score.

README

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

calmonkey

The command line tool for CalMonkey, one calendar API for your users' Google Calendar, Microsoft 365, Outlook.com and Apple iCloud calendars.

One command sets CalMonkey up in a project:

npx calmonkey init

From then on you, and the AI coding agent you run in that folder, work with the calendar API by running calmonkey commands:

calmonkey status
calmonkey calendars open-test
calmonkey events put demo-1 --title Demo --start 2026-11-03T10:00 --duration 1h
calmonkey events list --from 2026-11-03 --to 2026-11-10
calmonkey freebusy --free --duration 45m --from 2026-11-03 --to 2026-11-10
calmonkey logs requests --errors
calmonkey docs search webhook signature

Node 20.12 or later. Nothing to configure, no telemetry, no runtime dependencies. In a project with a package.json, init adds it as a devDependency, so npx calmonkey runs the project's own copy.

Built for AI coding agents

  • Short text by default, the same for a person and a program; --json on request. A list of 20 events is about 785 tokens as text and 1,400 as --json (measured in test/budgets.test.ts, numbers in docs/BUDGETS.md). The first line says what the answer is and what was resolved; when there is more, the last line is the exact command that gets it.
  • An error carries its fix: what is wrong, whether anything changed, and a corrected command. calmonkey explain <code> says more.
  • The tool does the arithmetic: counts (--count), free slots for several people (freebusy --free), the weekday and UTC time of every date it prints.
  • A time needs a zone (--tz, or CALMONKEY_TZ in the env file). The machine's own zone is never used silently.
  • Deleting, emailing guests and writing to a live application are confirmed first: the command prints NOT DONE: confirmation needed, what it would do and the exact command to run once a person agrees, and exits with code 10. No flag skips it.
  • Other people's text is marked: event titles in quotes on one line, everything else behind | inside a block whose mark changes on every call. No command prints a secret.
  • It never waits for someone who is not there: a signed-out command fails at once with what to do; nothing opens a browser or asks a question when an agent, CI or a pipe runs it.
  • calmonkey agent-guide is the nine rules in twenty lines; calmonkey --help is one screen; every command has --help with examples.

Every command, with samples of its output: https://calmonkey.com/docs/cli.

Data commands reach CalMonkey through your sign-in and run the same functions as CalMonkey's MCP server, so what they may read and change is decided by the server: test-mode applications, unless live ones were included when signing in.

What init does

Run it in your project folder. In order, it:

  1. Signs you in through the browser. It opens app.calmonkey.com, where you sign in (or sign up) with Google or Microsoft, pick the organization and press Connect. The tool then shows in the dashboard under AI clients as "CalMonkey CLI", where it can be disconnected.
  2. Picks or creates a test-mode application. It never uses a live application.
  3. Writes the environment file: CALMONKEY_CLIENT_ID, CALMONKEY_API_URL, CALMONKEY_APP_URL, CALMONKEY_TZ (the time zone dates are read in: your machine's, shown first, or --tz) and CALMONKEY_CLIENT_SECRET into .env.local (or an existing .env when the project has no .env.local), and makes sure the file is git-ignored.
  4. Adds calmonkey to package.json as a devDependency at its own version, when the project has a package.json, with the project's package manager (npm, pnpm, Yarn or Bun, from the lock file): exactly one package is added and nothing else is changed; a project that already lists it keeps its version. Skip it with --no-install; --dry-run prints the command. Without a package.json this step does not happen.
  5. Installs the CalMonkey skill into the project and adds a short marked section to AGENTS.md (and to CLAUDE.md when the project has one: Claude Code reads AGENTS.md only in a project without a CLAUDE.md). They tell an AI coding agent to use the calmonkey command.
  6. Prints what to say to your AI assistant.

With --mcp it also registers the MCP server https://mcp.calmonkey.com/mcp in the AI coding tools it finds. That is for tools that cannot run a command; an agent with a shell does not need it.

It shows what it will write and asks before writing. It never overwrites: a variable that already has a value, a server entry that points somewhere else and a skill file you edited are left as they are and reported. Running it again changes nothing.

  -y, --yes             ask nothing; take the safe default for every question
      --dry-run         show what would be written and change nothing
      --app <id|name>   use this test-mode application
      --name <name>     name for a new test-mode application
      --env-file <path> the environment file to write
      --no-secret       never fetch a client secret
      --rotate-secret   replace an existing application's client secret without asking
      --tz <zone>       the zone written as CALMONKEY_TZ (default: this machine's)
      --no-skills       skip the skill and AGENTS.md
      --no-install      do not add calmonkey to package.json
      --mcp             also register the MCP server in the AI tools found
      --client <tool>   with --mcp, only these tools (repeatable): claude-code, cursor, vscode, codex, gemini, windsurf
      --no-browser      print the sign-in address instead of opening a browser
      --wait            without a terminal: print the address and wait for you to approve

Signing in needs a person at a browser. Without a terminal, in CI, or when an AI agent runs the command, init and login say so at once and stop (exit code 3); --wait makes them print the address and wait five minutes for you to press Connect.

The client secret

The secret goes from CalMonkey into your environment file. It is never printed and never passes through an AI model.

  • For an application init has just created, the secret is written straight into the file.
  • For an existing application, a secret can only be shown when it is made. init asks "Replace the client secret?" first; saying yes makes a new one, and the old one keeps working for 24 hours. With --yes it is only replaced when you add --rotate-secret.
  • Saying no leaves the line out and prints the page in the dashboard where the secret is.

This needs an owner or admin of the organization, and the tick "Client secrets of test applications" on the Connect page.

Where the MCP server is registered
Tool File (in the project) Entry
Claude Code .mcp.json "mcpServers": { "calmonkey": { "type": "http", "url": "https://mcp.calmonkey.com/mcp" } }
VS Code (GitHub Copilot) .mcp.json, or .vscode/mcp.json under "servers" when the project already has that file { "type": "http", "url": "…" }
Cursor .cursor/mcp.json "mcpServers": { "calmonkey": { "url": "…" } }
Codex .codex/config.toml [mcp_servers.calmonkey] with url = "…"
Gemini CLI .gemini/settings.json "mcpServers": { "calmonkey": { "httpUrl": "…" } }
Windsurf (Devin Desktop) .devin/mcp_config.json "mcpServers": { "calmonkey": { "url": "…" } }

A Windsurf from before it became Devin Desktop has no project file: there the entry goes into ~/.codeium/windsurf/mcp_config.json (as serverUrl), and init says so before writing.

Existing files are added to, not rewritten: other servers, comments, indentation and line endings stay exactly as they were. No entry carries a key or a token: each tool signs in to CalMonkey itself the first time it uses the server.

  • Claude Code: start claude in the folder, approve the project's MCP server, then run /mcp.
  • Codex: start codex in the folder and trust the project (Codex reads a project's .codex/config.toml only then), then run codex mcp login calmonkey.
  • Gemini CLI: start gemini in the folder, trust the folder when it asks, then run /mcp auth calmonkey.
  • Cursor, VS Code, Windsurf: open the project and sign in when the tool asks.

Formats and locations are each vendor's own, from their documentation as of October 2026: Claude Code, Cursor, VS Code, Codex, Gemini CLI, Devin Desktop.

The skill

init copies the calmonkey-api skill (from calmonkey/skills, bundled with this package) to:

  • .agents/skills/calmonkey-api/, which Codex, Cursor, GitHub Copilot, Gemini CLI and Windsurf read;
  • .claude/skills/calmonkey-api/, when Claude Code is in use.

The package also bundles calmonkey-migration, for moving an existing integration to CalMonkey's compatibility mode; init does not install it, so add it with npx skills add calmonkey/skills --skill calmonkey-migration when you need it. In AGENTS.md init keeps one section between <!-- BEGIN:calmonkey --> and <!-- END:calmonkey -->; nothing outside the markers is touched.

Other commands

calmonkey listen

Brings a test-mode application's webhook notifications to your machine.

calmonkey listen
calmonkey listen --forward-to http://localhost:3000/webhooks/calmonkey

A test-mode application may register a callback URL on your own machine, such as http://localhost:3000/webhooks/calmonkey, exactly as your code will register the https one in production. CalMonkey does not send those notifications itself: it holds them for up to 24 hours, and calmonkey listen collects them and posts each one to its callback URL with the body and every header as CalMonkey made them (Calmonkey-Signature, Calmonkey-HMAC-SHA256, Calmonkey-Delivery-Id, Calmonkey-Delivery-Attempt). The signatures are CalMonkey's own, so your verification code is exercised for real.

What your endpoint answers is reported back: 2xx is delivered, anything else is retried on the normal schedule, 410 closes the channel. --forward-to sends every notification to one address instead of each channel's own. The application is the project's CALMONKEY_CLIENT_ID unless you pass --app. It needs an owner or admin.

✓ Ready. Listening for test-mode notifications of “booking-app (dev)” (Ctrl+C to stop)
19:04:11  -->  verification [whd_5ba21743f408617d1269ea1e]
19:04:11  <--  [200] POST http://localhost:3000/webhooks/calmonkey
calmonkey doctor

Checks, one line each: the Node version, the environment file, that the client credentials are accepted (with a token request that cannot succeed, so nothing is created or changed), the sign-in, that the MCP server answers, which AI tools have it registered, and the skill. Exit code 1 when something needs fixing.

calmonkey mcp add [--client <tool>]…

Registers the MCP server in AI tools: what init --mcp adds. For tools that cannot run a command.

calmonkey login, calmonkey logout

Sign in through the browser; end the connection at CalMonkey and remove the stored sign-in.

Agents with no browser: CALMONKEY_TOKEN

A cloud coding agent or a CI job cannot sign in: nobody is there to press Connect. A person makes it a token instead, in the dashboard under AI clients, or in their own terminal while signed in:

calmonkey token create --name "Codex cloud"            # shown once
calmonkey token create --name CI --days 30 --app <client id> --may-write
calmonkey token list
calmonkey token revoke <id>

Set it as CALMONKEY_TOKEN in the agent's environment (its secret settings, never a file in the repository). Every command then uses it instead of a stored sign-in, and calmonkey status says so. The tool reads it from the environment only, never prints it and never writes it to a file.

What such a token can do is fixed by CalMonkey: test-mode applications only, whatever else is ticked, and never a client secret; it expires after 7, 30 or 90 days; it can be limited to one application; it is free/busy only unless --event-details, and reads only unless --may-write. Nobody is behind it to agree, so a delete or a change that emails guests is refused: that needs a person who is signed in. It acts as the person who made it and stops working when they leave the organization. Owners and admins can make one; token create runs only in a person's own terminal, never under an AI agent, so the token never passes through a model.

Your own brand on the sign-in screen: calmonkey brand

On the Scale plan, Google's and Microsoft's sign-in screens can name your app instead of CalMonkey's, on a connect address of your own. The dashboard's Own brand tab walks through it; these commands do the same steps from the terminal, for an owner or admin who is signed in (not with CALMONKEY_TOKEN):

calmonkey brand status                              # where the set-up stands, and what is next
calmonkey brand domain set calendar.yourcompany.com # prints the DNS records to add
calmonkey brand domain verify
calmonkey brand google upload client_secret_….json  # the secret is sent, never printed
calmonkey brand check                               # the pre-flight: each failure with its fix
calmonkey brand kit                                 # wording and shot list for Google's review
calmonkey brand switch own                          # described first; --confirm after you agree

A live application is reached only when the sign-in included live applications (chosen on the approval page of calmonkey login). Google shows your app's name and logo once it has reviewed your brand; until then it shows your web address. Switching changes only new connections: people already connected keep working. Details: https://calmonkey.com/docs/own-brand

How sign-in works

The tool is a public OAuth client: authorization code flow with PKCE (S256), the answer delivered to a port on 127.0.0.1 that exists for the length of the sign-in. It identifies itself with a client metadata document that CalMonkey publishes for it. No secret exists, and none is put in an address or on the command line.

The sign-in (an access token for an hour and a refresh token that is replaced each time it is used) is kept in one file readable by you only: ~/.config/calmonkey/credentials.json, or %APPDATA%\calmonkey\credentials.json on Windows. The connection reaches test-mode applications, with your role in the organization and never more.

Environment

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 calmonkey

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229