Skip to content
Hidden Logic Lab

ListeningKit's log can DM and post as you. The live gate is a flag your agent can set.

Published

log is ListeningKit’s open-source CLI (log) and MCP server (logMcp), published on npm as @listeningkit/log. It is meant to let an agent — Claude Code, Cursor, Codex, Hermes, and others — read your social inboxes and, when a live tool is called, send DMs, posts, replies, likes, follows and reactions from your own accounts. The README’s promise is local and cautious: it “runs on your own machine with your own accounts,” and “nothing acts until you say so: every command that changes something is a dry run until you add --live.”

This review pins one tree:

  • 4213a94243a236134351e4fa503a13acd247c435 on matthewdonsemail-lab/log, default branch main at the time we were asked to pin it (commit date 21 November 2026, 01:51:26 Asia/Hong_Kong; committer timestamp 2026-11-20T17:51:26Z). Message: feat(inbox): pipeline labels, who and where per chat on the CPU (#236) (#242). Publisher Matthew Don (matthewdonsemail@gmail.com). MIT, copyright 2026 ListeningKit Contributors. Declared version in this commit’s package.json: 0.2.1. 4,565 tracked files. Docs: log.listeningkit.com. At research time on 21 November 2026, Asia/Hong_Kong, the GitHub API showed 70 stars and 11 forks.

That 0.2.1 is not what a default install gets today. npm dist-tags are latest=0.2.0 (published 16 November 2026, 04:53 Asia/Hong_Kong) and next=0.2.2-nightly.202611201738.77cbab0. There is no 0.2.1 tarball on the registry at all. GitHub has no Releases “latest” (the API returns 404); the only releases are prerelease nightlies, none of which point at this SHA. The advertised installer, curl -fsSL https://log.listeningkit.com/install.sh | sh, defaults to LOG_TRACK=stable, prefers GitHub’s latest release, and falls back to npm latest — so a default install on the day we reviewed this tree would resolve to 0.2.0, not this commit. During this review, main also moved one commit ahead to 8bbc12bd63411deb050d3b212fd658f995df59b3 (21 November 2026, 02:22:33 Asia/Hong_Kong), an inbox-labeling fix. We did not re-review that tip. Claims below are about 4213a94 unless we say otherwise.

How we reviewed this. Static review of the cloned tree at 4213a94, the live installers at log.listeningkit.com/install.sh and install.ps1, the npm registry metadata for @listeningkit/log, and the published 0.2.0 tarball (extracted and read, not installed). We compared the live installers to the copies in this commit (they were byte-identical), ran the installer’s dependsOn parser against fixture skill frontmatter, and keyword-scanned first-party and vendored source for classic dropper and exfiltration patterns. We did not run log or logMcp, did not pipe the installer, did not sign into any social account or paste cookies, did not send a DM, post or reply, and did not start a networked MCP server in a way that could expose cookies. We did not exercise Twenty, the hosted MCP at https://mcp.listeningkit.com/mcp, or log runtime connect. Review date 21 November 2026, Asia/Hong_Kong.

Verdict in plain language

Malware: We found no evidence of a malicious program in first-party source at 4213a94 (high confidence, not absolute). A search of src/, scripts/, python/, bin/ and the installers did not turn up classic dropper patterns — webhook exfil, obfuscated reverse shells, unexpected pastebin or ngrok calls. The only first-party discord.com/api/webhooks hit was a test fixture for the inbox judge, which is written to catch that pattern in incoming mail. This is not a runtime “confirmed clean” certificate, it is not a line-by-line audit of the vendored unofficial platform clients under vendor/ (twikit, instagrapi, endcord, fbk, openLinkedinApi and others), and it is not a promise about whatever bun add -g @listeningkit/log or the installer downloads tomorrow.

Permission scope: Once you sign accounts in, log stores real social session cookies — and, if you use the login helpers, email, password and TOTP as well — under ~/.logCli by default, in localAccounts.json written mode 0o600. X needs auth_token, ct0 and twid; LinkedIn needs li_at and JSESSIONID; Slack needs the d cookie. Those values are full account-takeover material: with them, log’s engines can read inboxes and, through the *Live tools, send DMs, posts, replies, votes and follows as you. The dry-run split is real in code. The “owner asked” gate is not a human confirmation prompt. confirmLive is a boolean the MCP client (the agent) can set; approvedBy, where it is required, is an ordinary non-empty string. Tests exercise live DMs with approvedBy: "fakeOwner". If the host auto-approves tools, or the model sets the flags, a live send goes out.

Risk points a careful user should know: a default curl | sh install is not pinned to this commit; the installer will also pipe the Bun and uv installers if those tools are missing; --skills can recurse dependsOn to a host that is not allowlisted; HTTP MCP on port 7337 may start on loopback with no token; binding 0.0.0.0 is allowed once a bearer token or Twenty OAuth is set, and the token has no minimum-length check; optional Twenty, the hosted MCP, captcha solvers and residential proxies can take session material or challenge traffic off the box.

A real product, with a dry-run story that is only half a lock

This is a large, genuine TypeScript/Bun CLI plus Python platform engines, not a template repo. CLI commands and MCP tools are generated from the same catalog. Writes are split into a dry tool and a *Live twin. guardCall does refuse a live tool unless confirmLive === true. The project’s own tests show facebookPublishLive without that flag never reaches the command, and the same check is applied over HTTP.

What the catalog copy adds — “Set true only when the owner asked for this live run” — is an instruction to the model, not a UI. There is no OS prompt and no out-of-band approval on the default stdio path. approvedBy is required on a live run for tools whose input form marks that flag as approval: true (for example twitterDmLive). The check is “a non-empty string is present,” not “a human typed this.” Some live tools do not take approvedBy at all: facebookPublishLive is accepted with only { listing, confirmLive: true }.

A second gate, playGate, can require an active “play” (a written workflow) before some send tools on the main path (twitterDmLive, discordSendLive, slackSendLive, instagramSendLive, linkedinMessageLive and a few others). That is an agent-procedure constraint, not a person clicking Allow.

The inbox judge is real, and narrower than the README’s wording can sound. It is a set of regex rules — token-stealer APIs, Discord webhooks, “ignore previous instructions,” asks for auth_token or ~/.logCli, and similar — plus an optional local model score. A held message is replaced with a placeholder and withheld from the agent; a suspect message is still passed through, with a warning prefix. Pattern filters like this are useful and evadable. They do not stop an agent that already has confirmLive from sending a reply the owner did not ask for.

Session cookies live on disk, in a form that is the account

You do not sign in to log with official OAuth connectors for X, LinkedIn or Slack. You paste session cookies into a masked terminal prompt. Those save commands are marked terminalOnly: they are not MCP tools, the cookie values are not accepted as flags, and the command refuses to run without an interactive TTY. log then checks the cookies with the platform and, only if they are accepted for the same handle, writes them to the account store. Listing commands we read redact the values: log localAccount list --json returns ids and names, not cookies; account tables say “yes” or a count, not the secrets. The X engine also substitutes *** for auth_token, ct0 and related keys in some stringified output. We did not run a live engine, so we are not certifying that cookies never appear in ~/.logCli/mcp/ logs or in every tool result.

The default store is ~/.logCli/localAccounts.json (overridable with LOG_LOCAL_ACCOUNTS or LOG_HOME), written mode 0o600. The same tree also holds ~/.logCli/.env, log.db (conversations and other local state), engine cookie files under platform state directories (also 0o600 when written), and, for the optional ListeningKit “blaster” login, ~/.logCli/auth/sessions.json (0o600). The installer creates ~/.logCli/.env with touch and does not chmod it, so it inherits the process umask (often world-readable). At install time it only writes LOG_PYTHON and LOG_ACCOUNTS=local, but this is the documented file for API keys and LOG_MCP_TOKEN.

If you set LOG_ACCOUNTS away from local and point log at Twenty — hosted or self-hosted — the same socialAccounts rows, “cookies and proxy” included, live in that CRM. log localAccount pull copies Twenty’s accounts, “cookies and login included,” into the local file. Hosted Twenty is an off-box copy of takeover material. Self-hosted Twenty keeps it on your infrastructure, but it is no longer only a 0600 file on one laptop.

The installer is not pinned to the commit under review

The README’s primary install is still:

curl -fsSL https://log.listeningkit.com/install.sh | sh
claude mcp add log -- logMcp

Windows is irm https://log.listeningkit.com/install.ps1 | iex. On 21 November 2026, Asia/Hong_Kong, both live scripts were SHA-256-identical to the copies in 4213a94. They will:

  1. Default LOG_TRACK to stable.
  2. Resolve a version: LOG_VERSION if set; else, on nightly, npm’s next tag; else GitHub releases/latest; else npm latest. Today that stable path is npm 0.2.0.
  3. If Bun is missing, curl -fsSL https://bun.sh/install | bash (PowerShell: irm bun.sh/install.ps1 | iex).
  4. bun add -g @listeningkit/log@<resolved version>.
  5. If uv is missing, curl -LsSf https://astral.sh/uv/install.sh | sh (PowerShell: the Astral install.ps1).
  6. Create a Python 3.12 venv under ~/.logCli/python, append to ~/.logCli/.env, and run scripts/update/postInstall.ts: pip-install vendored engines, migrate log.db, rebuild shipped skills, fetch pinned local models, and refresh agent harness plugins (Hermes / OpenCode when those homes already exist).
  7. Unless LOG_SETUP=0, run log launch --setup on a TTY.

You can pin with LOG_VERSION (or LOG_PACKAGE_SOURCE). A default run does not. We statically unpacked the npm 0.2.0 tarball (sha1 66f4d25660802b92f661807af9705081c1971bda, matching the registry). It is also a log / logMcp package; guardCall at that version is byte-identical to this commit’s, and the HTTP bind policy is the same. The website installer is not inside the npm tarball — it is whatever log.listeningkit.com is serving that day. The changelog in this tree already describes 0.2.1 (20 November 2026), but that version was not on npm when we looked.

--skills / LOG_SKILLS is off unless you pass it. With --skills all, the installer fetches https://log.listeningkit.com/.well-known/skills/index.json and writes each SKILL.md into every agent skills directory it finds (.claude/skills, .cursor/skills, .agents/skills, and several others). Each skill’s dependsOn line is then parsed, and a value of the form host/name is fetched from https://$host/.well-known/skills/$name/SKILL.md. The skill name is charset-checked ([a-z0-9-]); the host is not allowlisted. A fixture of dependsOn: evil.example/malicious-skill resolves to https://evil.example/.well-known/skills/malicious-skill/SKILL.md. Two names on one line recurse to both hosts. We confirmed the parser; we did not fetch a third-party skill.

HTTP MCP on 7337, and the paths that leave the machine

logMcp over stdio is the default (claude mcp add log -- logMcp). For a client that cannot start a process, logMcp --http --port 7337 serves Streamable HTTP at /mcp. In this commit (and in the 0.2.0 tarball):

  • The default host is 127.0.0.1, default port 7337.
  • If the host is loopback and no LOG_MCP_TOKEN and no Twenty OAuth are set, authorized() returns true. Loopback may start with no token. Any local process that can open that port can then call tools, including *Live with confirmLive: true.
  • Binding a non-loopback address, including 0.0.0.0, is refused unless a token or OAuth is set. A project test checks that serveLogMcpHttp({ host: "0.0.0.0", token: null }) throws “needs a token.”
  • DNS-rebinding (Host / Origin) checks are on when the bind is not loopback, or when OAuth is enabled. On default loopback with no OAuth, that protection is off.
  • LOG_MCP_TOKEN is compared with a timing-safe equals. There is no minimum-length check in the server we read. Docs tell you to use “a long random token” and not to bind a public address with only the static token; the code will still start if you do.

The hosted connector at https://mcp.listeningkit.com/mcp is a different trust boundary. Docs say ChatGPT and claude.ai cannot start a local logMcp, so they sign in with OAuth and each call is relayed to your machine over log runtime connect. That puts ListeningKit’s servers on the tool-call path even if the engines still run locally. The repo also contains python/controlService and a console operations list that includes credentialsSave / credentialsRead. We did not run the live hosted service or the bridge, and we are not treating the marketing line “your machine, your data” as true of this path.

Optional captcha solvers (CaptchaKraken, 2Captcha) and residential proxy vendors (2Captcha, Byteful) see challenge tokens and, on the Facebook path, browser traffic through a proxy “in the account’s home country.” Setup can open an AdsPower referral URL (adspower.com/share/pD25Iu). Those are documented product choices, not hidden destinations, and they still expand who can observe a session.

When this is a poor fit

  • You want an official, scoped OAuth connector for X, LinkedIn or Slack, not a paste of session cookies into a local file (or into Twenty).
  • You cannot accept an MCP client that is allowed to set confirmLive: true and approvedBy on its own — for example a host that auto-approves tools.
  • You planned to install with the README one-liner and assumed you would get this commit or the 0.2.1 in package.json.
  • You need to serve MCP over HTTP on this machine and cannot accept an unauthenticated loopback listener, or you would bind 0.0.0.0 with only a short static token.
  • You need a hard guarantee that cookies and inbox text never leave the box — skip hosted Twenty, the hosted MCP, and third-party solvers, and still assume we have not runtime-tested every log line.

Bottom line

log is a legitimate, unusually concrete agent-ops tool: unofficial platform engines, real session cookies, a catalog that really does split dry runs from *Live tools, and a README that overstates the “you said so” part of that split. No malware found in our static review of first-party source at 4213a94 — but the honest security story is permission scope, version skew, and who can flip confirmLive, not a scare headline.

If you use it, pin the version (LOG_VERSION or an inspected checkout), treat ~/.logCli/localAccounts.json like a password manager export, do not start HTTP MCP without a strong token even on loopback if other local processes are untrusted, keep Twenty and the hosted MCP off unless you intend to put cookies or tool calls on that infrastructure, and assume a live DM or post can go out when the agent sets the flags. That is the product working as designed.

Official sources: github.com/matthewdonsemail-lab/log, log.listeningkit.com, npmjs.com/package/@listeningkit/log.

More skill reviews

← All skill reviews