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

# agent-takkub@2.2.52 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 14 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Persistence
- **Selected version:** 2.2.52
- **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 postinstall hook performs persistent PATH and desktop-launcher setup without a separate user request. The inspected code ties these actions to the cockpit’s setup and shows no credential theft or agent-control hijack, so this warrants a warning rather than a block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-11-10T03:39:24.878Z
- **Finished:** 2026-11-10T03:39:56.937Z
- **Download time:** 779 ms
- **Static scan time:** 145 ms
- **AI review time:** 31134 ms
- **Total time:** 32059 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:** Install-time setup persistently changes the user’s PATH and creates desktop launchers.

- **Trigger:** npm install, through the postinstall lifecycle script.

- **Impact:** Shell sessions inherit the modified PATH, and launcher files are created in user directories. These changes are related to the package’s stated purpose but happen without a separate user request.

- **Evidence paths:** package.json, npm/scripts/postinstall.js, npm/scripts/pathfix.js, npm/scripts/providers.js, npm/scripts/shortcut.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-10T03:39:56.937Z

### AI review details

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

- **Mechanism:** The script adds npm’s global bin directory to the Windows user PATH or POSIX shell startup files, and creates a desktop launcher; it may also install missing Claude and Codex CLIs.

- **Rationale:** The postinstall hook performs persistent PATH and desktop-launcher setup without a separate user request. The inspected code ties these actions to the cockpit’s setup and shows no credential theft or agent-control hijack, so this warrants a warning rather than a block.

- **Files touched:** ~/.zshrc, ~/.bashrc, HKCU\\Environment\\Path, ~/Desktop/Takkub Cockpit.app, ~/Applications/Takkub Cockpit.app, ~/.agent-takkub

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest runs npm/scripts/postinstall.js on install., The postinstall persistently adds npm’s global bin directory to the user’s PATH., On macOS, the postinstall can append a PATH block to ~/.zshrc and ~/.bashrc., The postinstall may install missing Claude and Codex CLIs and create desktop launchers as part of the cockpit setup.

- **Evidence against:** The install provisions the package’s cockpit into an isolated Python environment and uses its bundled wheel., The inspected install code does not show credential collection, agent instruction edits, or unrelated network destinations.

## Affected versions and remediation

This report applies to agent-takkub@2.2.52.

- Review the evidence and your use of agent-takkub@2.2.52 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. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node npm/scripts/postinstall.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node npm/scripts/postinstall.js
```

### 3. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

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

Package declares npm scripts.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. Critical: Ai Agent Control Hijack
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** npm/scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/npm/scripts/postinstall.js>)

Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.

Public source snippet (untrusted):

```javascript
Install-time code directly mutates a foreign AI-agent control surface:
L76: 
L77: fs.mkdirSync(agentTakkubHome(), { recursive: true });
L78: 
...
L129: }
L130: console.log('   Left untouched: ~/.claude plugins, ~/.takkub config (nothing overwritten).');
L131: // #574: the migration itself never runs here (postinstall stays a plain
...
L139: console.log('\n   Next steps:');
L140: if (!providers.claude) {
L141: console.log('     • install the claude CLI: npm i -g @anthropic-ai/claude-code');
L142: }
L143: if (!providers.codex) {
L144: console.log('     • install the codex CLI: npm i -g @openai/codex');
Write operation from npm/scripts/postinstall.js:
L76: 
L77: fs.mkdirSync(agentTakkubHome(), { recursive: true });
L78: 
...
L129: }
L130: console.log('   Left untouched: ~/.claude plugins, ~/.
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/agent\_takkub-2.2.52-py3-none-any.whl
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/dist/agent_takkub-2.2.52-py3-none-any.whl>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = dist/agent_takkub-2.2.52-py3-none-any.whl
kind = compressed_blob
sizeBytes = 5463596
magicHex = [redacted]
```

### 11. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** dist/agent\_takkub-2.2.52-py3-none-any.whl
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/dist/agent_takkub-2.2.52-py3-none-any.whl>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = dist/agent_takkub-2.2.52-py3-none-any.whl
kind = high_entropy_blob
sizeBytes = 5463596
magicHex = [redacted]
```

### 12. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** dist/agent\_takkub-2.2.52-py3-none-any.whl
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/dist/agent_takkub-2.2.52-py3-none-any.whl>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = dist/agent_takkub-2.2.52-py3-none-any.whl
kind = nested_archive_needs_inspection
sizeBytes = 5463596
magicHex = [redacted]
```

### 13. 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.

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 95.0%
- **Path:** npm/scripts/shortcut.js
- **Public source:** [View source](<https://unpkg.com/agent-takkub@2.2.52/npm/scripts/shortcut.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = token_shingles
matchedPackage = agent-takkub@2.1.44
matchedPath = npm/scripts/shortcut.js
matchedIdentity = npm:YWdlbnQtdGFra3Vi:2.1.44
similarity = 0.750
shingleOverlap = 36
summary = source token shingles overlapped finalized malicious source
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepublishOnly
- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** agent-takkub
- **Ecosystem:** npm
- **Version:** 2.2.52
- **License:** MIT
- **Version published:** 2026-11-10T03:37:24.948Z
- **Package first seen:** 2026-07-05T09:26:29.004Z
- **Package last seen:** 2026-11-22T22:47:23.460Z
- **Known versions:** 140
- **Latest version:** 2.2.60
- **Appeal under review:** No
- **Description:** Desktop cockpit for orchestrating a team of Claude Code agents (Windows + macOS). Install globally: npm i -g agent-takkub
- **Author:** takkub
- **Maintainers:** monchai.m
- **Keywords:** claude, claude-code, ai-agents, agent-orchestration, cockpit, desktop, cli, developer-tools
- **Runtime engines:** node: \>=18
- **Supported OS:** win32, darwin
- **Artifact files:** 16
- **Artifact unpacked size:** 6,239,759 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/agent-takkub/v/2.2.52>)
- [Repository](<https://github.com/takkub/agent-takkub>)
- [Homepage](<https://github.com/takkub/agent-takkub#readme>)
- [Issues](<https://github.com/takkub/agent-takkub/issues>)
