---
canonical: "https://firewall.lpm.dev/npm/@promptster/teams-cli"
markdown: "https://firewall.lpm.dev/npm/@promptster/teams-cli/v/0.41.5.md"
package: "@promptster/teams-cli"
report_status: "published"
title: "@promptster/teams-cli@0.41.5 npm security report"
verdict: "policy_finding"
version: "0.41.5"
---

# @promptster/teams-cli@0.41.5 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
**Blocked by LPM policy** — The tool can replace its executable with an update without the user being told before it runs.

- **Verdict:** LPM policy finding
- **Product-default install policy:** Block
- **Firewall policy:** LPM policy block
- **Public report status:** Published
- **Threat category:** Policy block: runs code the user cannot review
- **Selected version:** 0.41.5
- **Selected version is latest:** No
- **Analysis source:** AI security review (lpm-firewall-ai)

Runs code the user cannot review. An LPM review rule requires blocking this behavior, but the AI review did not find malware intent; this finding does not say the publisher attacks its users.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The JavaScript launcher and install hook install and invoke the product’s managed native binary, whose source comments state it self-updates automatically. Because the README does not disclose that update behavior, this is an undisclosed self-update on the product’s run path, which the review rules classify as malicious.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Policy block
- **Recorded analysis confidence:** 78.0%
- **Started:** 2026-11-22T18:10:33.034Z
- **Finished:** 2026-11-22T18:11:31.575Z
- **Download time:** 770 ms
- **Static scan time:** 75 ms
- **AI review time:** 57696 ms
- **Total time:** 58541 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:** Undisclosed automatic self-update by the managed native daemon.

- **Trigger:** The managed binary runs through the CLI; capture can start after the documented login command, and the source says the daemon self-updates automatically.

- **Impact:** The tool can replace its executable with an update without the user being told before it runs.

- **Evidence paths:** lib/install.js, lib/resolve.js, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-22T18:11:31.575Z

### AI review details

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

- **Mechanism:** The native Go binary is opaque in this review. The JavaScript source says it self-updates, while the README does not disclose that behavior or an off switch.

- **Attack narrative:** The package installs and runs a managed native binary. Its source says that binary self-updates automatically, but the README does not disclose updates or provide an off switch. The update implementation and destination are inside the opaque Go binary, so the endpoint could not be established from the inspected JavaScript and package metadata.

- **Rationale:** The JavaScript launcher and install hook install and invoke the product’s managed native binary, whose source comments state it self-updates automatically. Because the README does not disclose that update behavior, this is an undisclosed self-update on the product’s run path, which the review rules classify as malicious.

- **Files touched:** ~/.promptster-teams/bin/promptster-teams

### Review decision

- **Verdict:** Block (policy; no malware intent found)

- **Confidence:** 78.0%

- **Recommended action:** publish\_block

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for block:** The package registers a CLI and runs a postinstall script., For global installs, postinstall calls installManagedBinary; the launcher also checks for a managed install on invocation., The managed binary is copied to ~/.promptster-teams/bin and executed by the launcher., Source comments state that the managed Go binary self-updates automatically., The README describes login capture and opt-in autostart but does not disclose the self-update.

- **Evidence against:** The package is presented as an on-device AI coding capture CLI, and its bundled native binaries match that purpose., Project-local installs leave the shared managed binary alone., The inspected JavaScript implements copying the package’s bundled binary and repairing existing autostart entries; no network endpoint appears in that code.

## Affected versions and remediation

This report applies to @promptster/teams-cli@0.41.5.

- Avoid installing @promptster/teams-cli@0.41.5. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, review what the vendor code it ran could access, as this report describes. This finding does not establish malware intent.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

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

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node 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. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** lib/resolve.js
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/lib/resolve.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @promptster/teams-cli@0.41.2
matchedIdentity = npm:QHByb21wdHN0ZXIvdGVhbXMtY2xp:0.41.2
similarity = 0.800
summary = stored previous version shares package body but lacks this dangerous source file
```

### 8. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 78.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/package.json>)

The package registers a CLI and runs a postinstall script.

Public source snippet (untrusted):

```json
"bin": {
    "promptster-teams": "./bin/promptster-teams.js"
  },
  "scripts": {
    "build": "node scripts/build.js",
    "postinstall": "node scripts/postin
```

### 9. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 78.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/scripts/postinstall.js>)

For global installs, postinstall calls installManagedBinary; the launcher also checks for a managed install on invocation.

Public source snippet (untrusted):

```javascript
try {
  if (!isGlobalInstall()) {
    log(
      "project-local install — leaving ~/.promptster-teams/bin alone " +
        "and running the version your lockfile pins"
    );
  } else {
```

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 78.0%
- **Path:** lib/resolve.js
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/lib/resolve.js>)

The managed binary is copied to ~/.promptster-teams/bin and executed by the launcher.

Public source snippet (untrusted):

```javascript
// So the binary does not live in node_modules. postinstall.js copies it to the
// MANAGED path (~/.promptster-teams/bin — the same place install.sh writes),
// and bin/promptster-teams.js execs that. node_modules keeps a pristi
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 78.0%
- **Path:** lib/install.js
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/lib/install.js>)

Source comments state that the managed Go binary self-updates automatically.

Public source snippet (untrusted):

```javascript
// Never downgrade. The managed binary self-updates forward on its own, so it is
  // routinely NEWER than whatever version npm is installing (that is the normal
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 78.0%
- **Path:** README.md
- **Public source:** [View source](<https://unpkg.com/@promptster/teams-cli@0.41.5/README.md>)

The README describes login capture and opt-in autostart but does not disclose the self-update.

Public source snippet (untrusted):

````markdown
```sh
npm install -g @promptster/teams-cli

promptster-teams login             # paste your PSE-XXXX-XXXX key — capture starts automatically
promptster-teams autostart enable  # keep capturing across reboots (starts at login)
pr
````

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

### Published dependency entries
- @promptster/teams-cli-darwin-arm64 0.41.5 (OptionalDependency)
- @promptster/teams-cli-darwin-x64 0.41.5 (OptionalDependency)
- @promptster/teams-cli-linux-arm64 0.41.5 (OptionalDependency)
- @promptster/teams-cli-linux-x64 0.41.5 (OptionalDependency)
- @promptster/teams-cli-win32-arm64 0.41.5 (OptionalDependency)
- @promptster/teams-cli-win32-x64 0.41.5 (OptionalDependency)

## Package metadata
- **Package:** @promptster/teams-cli
- **Ecosystem:** npm
- **Version:** 0.41.5
- **License:** MIT
- **Version published:** 2026-11-18T16:14:19.807Z
- **Package first seen:** 2026-07-03T19:19:29.228Z
- **Package last seen:** 2026-11-22T18:11:31.575Z
- **Known versions:** 46
- **Latest version:** 0.42.0
- **Appeal under review:** No
- **Description:** On-device, auditable AI-coding capture for internal engineering teams
- **Keywords:** promptster, cli, teams, ai, observability, developer-productivity
- **Runtime engines:** node: \>=16
- **Artifact files:** 6
- **Artifact unpacked size:** 30,822 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@promptster/teams-cli/v/0.41.5>)
- [Repository](<https://github.com/promptster-ai/promptster-teams-cli.git>)
- [Homepage](<https://github.com/promptster-ai/promptster-teams-cli>)
- [Issues](<https://github.com/promptster-ai/promptster-teams-cli/issues>)
