---
canonical: "https://firewall.lpm.dev/npm/@togglhq/mcp/v/1.13.282"
markdown: "https://firewall.lpm.dev/npm/@togglhq/mcp/v/1.13.282.md"
package: "@togglhq/mcp"
report_status: "published"
title: "@togglhq/mcp@1.13.282 npm security report"
verdict: "suspicious"
version: "1.13.282"
---

# @togglhq/mcp@1.13.282 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 16 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Unknown
- **Selected version:** 1.13.282
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package automatically loads dotenvx configuration, whose parser executes shell command substitutions in environment-file values. This is a real, automatically reachable command-execution risk, though the code appears to be bundled dotenvx functionality rather than a concealed attack payload.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 92.0%
- **Started:** 2026-11-15T12:48:32.258Z
- **Finished:** 2026-11-15T12:52:48.095Z
- **Download time:** 1036 ms
- **Static scan time:** 5541 ms
- **AI review time:** 249259 ms
- **Total time:** 255837 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Startup can execute shell commands specified in dotenvx-style `.env` values.

- **Trigger:** Importing the bundled entrypoint or starting either declared CLI bin from a directory with a parseable `.env` file containing an unquoted `$(...)` value.

- **Impact:** Commands in the environment file can run with the MCP process's privileges without a separate confirmation from this package.

- **Evidence paths:** package.json, build/cli.js, build/src-7f8t849Z.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-15T12:52:48.095Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The entrypoint invokes dotenvx configuration at module initialization; its parser recognizes command substitutions and passes them to `execSync`.

- **Rationale:** The package automatically loads dotenvx configuration, whose parser executes shell command substitutions in environment-file values. This is a real, automatically reachable command-execution risk, though the code appears to be bundled dotenvx functionality rather than a concealed attack payload.

- **Files touched:** build/src-7f8t849Z.js

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 92.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The package's `mcp` and `toggl-mcp` bins point to `build/cli.js`, which calls `runMcpCli` at startup., The bundled entrypoint calls dotenvx `config()` at module initialization, ignoring only a missing `.env` file., dotenvx evaluates unquoted values containing `$()` by passing the extracted command to `child_process.execSync`; this can run a command while the MCP starts.

- **Evidence against:** The command execution comes from bundled dotenvx environment-file parsing, rather than a concealed remote payload loader., The README discloses product analytics and error reporting and provides settings to disable them., The package is described as a Toggl MCP server, and its manifest declares no install lifecycle scripts.

## Affected versions and remediation

This report applies to @togglhq/mcp@1.13.282.

- Review the evidence and your use of @togglhq/mcp@1.13.282 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L9: import { createInterface } from "node:readline/promises";
L10: import { exec } from "node:child_process";
L11: import * as http from "node:http";
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L110: "eciesjs": "^0.4.10",
L111: "execa": "^5.1.1",
L112: "fdir": "^6.2.0",
```

### 4. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L9678: }
L9679: eval(key, value) {
L9680: return evalKeyValue(key, value, this.processEnv, this.runningParsed);
```

### 5. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 8. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L40126: const cmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start \"\"" : "xdg-open";
L40127: exec(`${cmd} "${url}"`, (err) => {
L40128: if (err) process.stderr.write(`Could not open browser (${cmd}): ${err.message}\n`);
L40129: });
...
L40139: function togglOAuthLocalRedirectUri(port = TOGGL_OAUTH_CALLBACK_PORT) {
L40140: return `http://localhost:${port}/callback`;
L40141: }
```

### 9. Critical: Remote Asset Decode Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L9: import { createInterface } from "node:readline/promises";
L10: import { exec } from "node:child_process";
L11: import * as http from "node:http";
L12: import "date-fns";
...
L68: //#endregion
L69: //#region ../../node_modules/.pnpm/@dotenvx+dotenvx@1.59.1/node_modules/@dotenvx/dotenvx/package.json
L70: var require_package = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
...
L163: INVALID_CONVENTION: "https://github.com/dotenvx/dotenvx/issues/761",
L164: INVALID_PRIVATE_KEY: "https://github.com/dotenvx/dotenvx/issues/465",
L165: INVALID_PUBLIC_KEY: "https://github.com/dotenvx/dotenvx/issues/756",
L166: MALFORMED_ENCRYPTED_DATA: "https://github.com/dotenvx/dotenvx/issues/467",
L167: MISPAIRED_PRIVATE_KEY: "https://github.com/dotenvx/dotenvx/issues/752",
```

### 10. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L9: import { createInterface } from "node:readline/promises";
L10: import { exec } from "node:child_process";
L11: import * as http from "node:http";
L12: import "date-fns";
...
L68: //#endregion
L69: //#region ../../node_modules/.pnpm/@dotenvx+dotenvx@1.59.1/node_modules/@dotenvx/dotenvx/package.json
L70: var require_package = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
...
L163: INVALID_CONVENTION: "https://github.com/dotenvx/dotenvx/issues/761",
L164: INVALID_PRIVATE_KEY: "https://github.com/dotenvx/dotenvx/issues/465",
L165: INVALID_PUBLIC_KEY: "https://github.com/dotenvx/dotenvx/issues/756",
L166: MALFORMED_ENCRYPTED_DATA: "https://github.com/dotenvx/dotenvx/issues/467",
L167: MISPAIRED_PRIVATE_KEY: "https://github.com/dotenvx/dotenvx/issues/752",
```

### 11. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: scripts.start -> build/cli.js -> build/src-7f8t849Z.js
L40126: const cmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start \"\"" : "xdg-open";
L40127: exec(`${cmd} "${url}"`, (err) => {
L40128: if (err) process.stderr.write(`Could not open browser (${cmd}): ${err.message}\n`);
L40129: });
...
L40139: function togglOAuthLocalRedirectUri(port = TOGGL_OAUTH_CALLBACK_PORT) {
L40140: return `http://localhost:${port}/callback`;
L40141: }
```

### 12. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** build/src-7f8t849Z.js
- **Public source:** [View source](<https://unpkg.com/@togglhq/mcp@1.13.282/build/src-7f8t849Z.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: scripts.start -> build/cli.js -> build/src-7f8t849Z.js
L40126: const cmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start \"\"" : "xdg-open";
L40127: exec(`${cmd} "${url}"`, (err) => {
L40128: if (err) process.stderr.write(`Could not open browser (${cmd}): ${err.message}\n`);
L40129: });
...
L40139: function togglOAuthLocalRedirectUri(port = TOGGL_OAUTH_CALLBACK_PORT) {
L40140: return `http://localhost:${port}/callback`;
L40141: }
```

### 13. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 14. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 15. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 16. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 2
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 7
- **Published dependency-graph edges:** 2

### Published dependency entries
- @sentry/node 10.47.0 (Dependency)
- date-fns 4.1.0 (Dependency)

## Package metadata
- **Package:** @togglhq/mcp
- **Ecosystem:** npm
- **Version:** 1.13.282
- **License:** UNLICENSED
- **Version published:** 2026-11-15T12:46:13.035Z
- **Package first seen:** 2026-08-07T22:51:51.504Z
- **Package last seen:** 2026-11-23T15:23:09.324Z
- **Known versions:** 435
- **Latest version:** 1.13.361
- **Appeal under review:** No
- **Description:** Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.
- **Maintainers:** hazem.hashad, toggl-engineering
- **Runtime engines:** node: \>=20
- **Artifact files:** 9
- **Artifact unpacked size:** 2,795,569 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@togglhq/mcp/v/1.13.282>)
