---
canonical: "https://firewall.lpm.dev/npm/bumper-guard/v/0.2.8"
markdown: "https://firewall.lpm.dev/npm/bumper-guard/v/0.2.8.md"
package: "bumper-guard"
report_status: "published"
title: "bumper-guard@0.2.8 npm security report"
verdict: "policy_finding"
version: "0.2.8"
---

# bumper-guard@0.2.8 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
**Soft block: AI-agent control surface** — Warn by default; block when configured. The package gains control over broad AI-agent tool-call approval paths and records intercepted request data locally.

- **Verdict:** AI-agent control-surface policy finding
- **Product-default install policy:** Warn by default; block when configured
- **Firewall policy:** Warn by default
- **Public report status:** Published
- **Threat category:** Soft block: AI-agent control surface
- **Selected version:** 0.2.8
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This finding concerns changes to an AI agent's instructions or configuration without explicit user action. It does not by itself establish malware intent. The CLI warns by default and blocks when configured for this policy.

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

LPM flags this version as an AI-agent control-surface risk. On installation, the package modifies detected users' AI-agent configuration to run its hook for future tool calls. It also starts and persists a background daemon without an explicit user command.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-09-16T18:17:02.803Z
- **Finished:** 2026-09-16T18:18:10.371Z
- **Download time:** 780 ms
- **Static scan time:** 168 ms
- **AI review time:** 66620 ms
- **Total time:** 67568 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:** On installation, the package modifies detected users' AI-agent configuration to run its hook for future tool calls. It also starts and persists a background daemon without an explicit user command.

- **Trigger:** npm installation when one of the detected agent directories exists.

- **Impact:** The package gains control over broad AI-agent tool-call approval paths and records intercepted request data locally.

- **Evidence paths:** package.json, src/installers/postinstall.js, src/installers/claude-code.js, src/installers/autostart.js, src/hook-scripts/core.js, src/daemon.js, src/account.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-16T18:18:10.371Z

### AI review details

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

- **Mechanism:** Postinstall hook injection, detached daemon startup, and login persistence.

- **Attack narrative:** Installing the package runs postinstall automatically. It identifies existing Claude, Cursor, Copilot, and Codex installations, changes their global configuration, starts a background daemon, and creates an operating-system startup entry. The injected hooks send future agent tool-call details, including commands and editable content, to that daemon, which writes audit records. This is unconsented install-time mutation of foreign, broad AI-agent control surfaces.

- **Rationale:** The package performs the policy-defined malicious chain: automatic postinstall mutation of foreign AI-agent controls plus detached persistence. Its stated safety purpose does not establish consent for those installation-time changes.

- **Files touched:** ~/.claude/settings.json, ~/.cursor/hooks.json, ~/.copilot/hooks/bumper.json, ~/.codex/config.toml, ~/.bumper/audit.jsonl, ~/Library/LaunchAgents/com.bumper.autostart.plist, ~/.config/systemd/user/bumper.service, Windows Startup/BumperAutostart.vbs

- **Network endpoints:** https://bumper-usage-server.fly.dev

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for policy risk:** Installation automatically runs a postinstall program., The postinstall program detects several installed AI agents and globally wires them without an explicit command., It adds wildcard Claude tool hooks and Cursor shell/MCP hooks., It starts a detached daemon and enables login-time persistence., Hook payloads include commands, file paths, and edit content, which the daemon records locally., A default remote service receives account and usage requests.

- **Evidence against:** No inspected code sends captured hook payloads or audit logs to the remote service., The remote requests shown are limited to login, session, and usage-account data.

## Affected versions and remediation

This report applies to bumper-guard@0.2.8.

- Avoid installing bumper-guard@0.2.8. 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, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

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

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node src/installers/postinstall.js || true
```

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

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

Public source snippet (untrusted):

```json
scripts.postinstall = node src/installers/postinstall.js || true
```

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

Package declares npm scripts.

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

Package source references network APIs.

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

Package source references environment variables.

### 6. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** src/installers/autostart.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/installers/autostart.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L3: const path = require("path");
L4: const { execFileSync } = require("child_process");
L5: 
...
L10: 
L11: const BIN_PATH = path.join(__dirname, "..", "..", "bin", "bumper.js");
L12: const LAUNCH_AGENT_LABEL = "com.bumper.autostart";
...
L26: const WIN_STARTUP_DIR = () =>
L27: path.join(process.env.APPDATA || path.join(os.homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup");
L28: const WIN_LAUNCHER_PATH = () => path.join(WIN_STARTUP_DIR(), "BumperAutostart.vbs");
...
L79: fs.writeFileSync(LAUNCH_AGENT_PATH, plistContents());
L80: run("launchctl", ["load", "-w", LAUNCH_AGENT_PATH]);
L81: return { platform: "darwin", mechanism: "launchd LaunchAgent", ref: LAUNCH_AGENT_PATH };
```

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

Package source references filesystem APIs.

### 8. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** src/installers/autostart.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/installers/autostart.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: scripts.postinstall -> src/installers/postinstall.js -> src/installers/autostart.js
L3: const path = require("path");
L4: const { execFileSync } = require("child_process");
L5: 
...
L10: 
L11: const BIN_PATH = path.join(__dirname, "..", "..", "bin", "bumper.js");
L12: const LAUNCH_AGENT_LABEL = "com.bumper.autostart";
...
L26: const WIN_STARTUP_DIR = () =>
L27: path.join(process.env.APPDATA || path.join(os.homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup");
L28: const WIN_LAUNCHER_PATH = () => path.join(WIN_STARTUP_DIR(), "BumperAutostart.vbs");
...
L79: fs.writeFileSync(LAUNCH_AGENT_PATH, plistContents());
L80: run("launchctl", ["load", "-w", LAUNCH_AGENT_PATH]);
L81: return { platform: "darwin", mechanism: "
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

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

Package manifest does not declare a clear license.

### 13. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/package.json>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```json
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 2
```

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** bin/bumper.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/bin/bumper.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = bumper-guard@0.2.9
matchedPath = bin/bumper.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.9
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/installers/autostart.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/installers/autostart.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = bumper-guard@0.2.13
matchedPath = src/installers/autostart.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.13
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 16. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/daemon.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/daemon.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = bumper-guard@0.2.9
matchedPath = src/daemon.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.9
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 17. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/account.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/account.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = bumper-guard@0.2.13
matchedPath = src/account.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.13
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 18. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** src/policy.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/src/policy.js>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = bumper-guard@0.2.9
matchedPath = src/policy.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.9
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 19. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** bin/bumper.js
- **Public source:** [View source](<https://unpkg.com/bumper-guard@0.2.8/bin/bumper.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 7eff58f1ceb22e76
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = bumper-guard@0.2.9
matchedPath = bin/bumper.js
matchedIdentity = npm:YnVtcGVyLWd1YXJk:0.2.9
similarity = 1.000
shingleOverlap = 20
summary = package final verdict is malicious
```

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

### Published dependency entries
- @modelcontextprotocol/sdk ^1.12.0 (Dependency)
- commander ^12.1.0 (Dependency)
- express ^4.21.2 (Dependency)
- js-yaml ^4.1.0 (Dependency)
- zod ^3.23.8 (Dependency)

## Package metadata
- **Package:** bumper-guard
- **Ecosystem:** npm
- **Version:** 0.2.8
- **License:** SEE LICENSE IN LICENSE
- **Version published:** 2026-08-28T13:31:03.004Z
- **Package first seen:** 2026-08-28T12:08:31.962Z
- **Package last seen:** 2026-10-05T02:43:04.078Z
- **Known versions:** 12
- **Latest version:** 0.2.13
- **Appeal under review:** No
- **Description:** A plain-language safety net for vibe coders. Pauses risky things your AI assistant (Claude Code, Cursor, Codex CLI, Copilot CLI) is about to do, explains them in plain English, and lets you decide.
- **Runtime engines:** node: \>=18
- **Artifact files:** 24
- **Artifact unpacked size:** 86,249 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/bumper-guard/v/0.2.8>)
- [Homepage](<https://bumper-guard.pages.dev/>)
