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

# ft-scout@5.0.4 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 21 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 5.0.4
- **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.

Source confirms a critical reachable RCE/auth-disclosure server, but it is activated only by an explicit command and there is no install-time behavior or concrete evidence of malicious intent.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 94.0%
- **Started:** 2026-08-14T06:41:28.297Z
- **Finished:** 2026-08-14T06:42:16.150Z
- **Download time:** 516 ms
- **Static scan time:** 844 ms
- **AI review time:** 46492 ms
- **Total time:** 47853 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:** Explicit \`scout dashboard\` starts an unauthenticated HTTP server. It discloses saved auth state and executes command text through a shell endpoint; lack of host binding makes the local-server claim unsafe.

- **Trigger:** User runs \`scout dashboard\` while the server remains active.

- **Impact:** A reachable requester can obtain stored tokens/configuration and run shell-injected commands in the current workspace.

- **Evidence paths:** bin/src/server/server.js, bin/src/commands/dashboard.js, bin/src/utils/auth.js, bin/src/engine/agentEngine.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-14T06:42:16.150Z

### AI review details

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

- **Mechanism:** Unauthenticated CORS-enabled dashboard command execution and auth disclosure.

- **Rationale:** Source confirms a critical reachable RCE/auth-disclosure server, but it is activated only by an explicit command and there is no install-time behavior or concrete evidence of malicious intent.

- **Files touched:** ~/.ft/auth.json, bin/ft.js, bin/src/index.js

- **Network endpoints:** http://localhost:9120

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 94.0%

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

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Low

- **Evidence for warning:** Dashboard enables wildcard CORS and exposes the complete auth configuration., Unauthenticated dashboard API interpolates supplied command text into child\_process.exec., Dashboard listens without a loopback host restriction., Agent feature can write files and execute commands when explicitly invoked.

- **Evidence against:** package.json has no preinstall, install, or postinstall hook., The vulnerable server starts only through the explicit dashboard command., Email code is called from the explicit signup flow and sends welcome-email content, not harvested env values.

## Affected versions and remediation

This report applies to ft-scout@5.0.4.

- Review the evidence and your use of ft-scout@5.0.4 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: High Secret
- **Category:** Secrets
- **Confidence:** 85.0%
- **Path:** bin/src/utils/firebaseAuth.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/utils/firebaseAuth.js>)

Package contains a high-severity secret pattern.

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 1
matchedText = export c...lg';
```

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/src/server/server.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/server/server.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L3: import path from 'path';
L4: import { exec } from 'child_process';
L5: import { fileURLToPath } from 'url';
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/src/commands/agent.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/commands/agent.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L15: import { promisify } from 'util';
L16: const execAsync = promisify(exec);
L17: const FT_DIR = path.join(process.cwd(), '.ft');
```

### 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. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** bin/src/utils/email.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/utils/email.js>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L5: import { FIREBASE_API_KEY, FIREBASE_TENANT_ID } from './firebaseAuth.js';
L6: const cwdEnv = path.resolve(process.cwd(), '.env');
L7: if (fs.existsSync(cwdEnv)) {
...
L80: </ul>
L81: <p>For more commands refer <a href="https://frontterrain.com/ft-scout">here</a></p><br>
L82: <p>Have any suggestion, feedback or need assistance we\'re always here on <a href="https://frontterrain.com/support">Help Center</a>
...
L94: /**
L95: * Create custom Nodemailer transport using process.env SMTP or fallback
L96: */
...
L142: },
L143: body: JSON.stringify({
L144: sender: { name: 'Scout Welcome', email: senderEmail },
```

### 9. High: Entrypoint Foreign Package Code Overwrite
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** bin/src/commands/init.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/commands/init.js>)

Manifest-reachable source overwrites another installed package with package-defined remote behavior.

Public source snippet (untrusted):

```javascript
Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
bin/src/commands/init.js:
fs.writeFileSync(envPath, content);
const res = await fetch(`https://registry.npmjs.org/${encodeURIComponent(pkgName)}`);
url = url.replace(/^git:\/\//, 'https://');
url = url.replace(/^ssh:\/\/git@github\.com\//, 'https://github.com/');
url = url.replace(/^git@github\.com:/, 'https://github.com/');
url = `https://github.com/${url.replace('github:', '')}.git`;
url = `https://gitlab.com/${url.replace('gitlab:', '')}.git`;
url = `https://bitbucket.org/${url.replace('bitbucket:', '')}.git`;
```

### 10. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** bin/src/commands/setup.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/commands/setup.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L4: import path from 'path';
L5: import { execSync } from 'child_process';
L6: import { safeNote } from '../utils/markdown.js';
...
L9: s.start('Diagnosing local runtime environment & dependencies...');
L10: const cwd = process.cwd();
L11: const passes = [];
...
L16: try {
L17: const checkCmd = process.platform === 'win32' ? `where ${cmd}` : `command -v ${cmd}`;
L18: execSync(checkCmd, { stdio: 'ignore', cwd });
...
L46: // Check 2: Node version check
L47: const pkgPath = path.join(cwd, 'package.json');
L48: if (fs.existsSync(pkgPath)) {
```

### 11. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** bin/src/utils/email.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/utils/email.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: manifest.bin -> bin/ft.js -> bin/src/index.js -> bin/src/commands/signup.js -> bin/src/utils/email.js
L5: import { FIREBASE_API_KEY, FIREBASE_TENANT_ID } from './firebaseAuth.js';
L6: const cwdEnv = path.resolve(process.cwd(), '.env');
L7: if (fs.existsSync(cwdEnv)) {
...
L80: </ul>
L81: <p>For more commands refer <a href="https://frontterrain.com/ft-scout">here</a></p><br>
L82: <p>Have any suggestion, feedback or need assistance we\'re always here on <a href="https://frontterrain.com/support">Help Center</a>
...
L94: /**
L95: * Create custom Nodemailer transport using process.env SMTP or fallback
L96: */
...
L142: },
L143: body: JSON.stringify({
L144: sender: { name: 'Scout Welcome', email: senderEmail },
```

### 12. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** bin/src/utils/email.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/utils/email.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.bin -> bin/ft.js -> bin/src/index.js -> bin/src/commands/signup.js -> bin/src/utils/email.js
L5: import { FIREBASE_API_KEY, FIREBASE_TENANT_ID } from './firebaseAuth.js';
L6: const cwdEnv = path.resolve(process.cwd(), '.env');
L7: if (fs.existsSync(cwdEnv)) {
...
L80: </ul>
L81: <p>For more commands refer <a href="https://frontterrain.com/ft-scout">here</a></p><br>
L82: <p>Have any suggestion, feedback or need assistance we\'re always here on <a href="https://frontterrain.com/support">Help Center</a>
...
L94: /**
L95: * Create custom Nodemailer transport using process.env SMTP or fallback
L96: */
...
L142: },
L143: body: JSON.stringify({
L144: sender: { name: 'Scout Welcome', email: senderEmail },
```

### 13. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** bin/src/server/server.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/server/server.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L154: else if (fs.existsSync(indexScript)) {
L155: execCmd = `npx tsx "${indexScript}" ${command}`;
L156: }
...
L159: }
L160: exec(execCmd, { cwd: process.cwd() }, (err, stdout, stderr) => {
L161: const output = (stdout || '') + (stderr || '');
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 16. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** front-terrain-cli-1.0.0.tgz
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/front-terrain-cli-1.0.0.tgz>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = front-terrain-cli-1.0.0.tgz
kind = compressed_blob
sizeBytes = 8643
magicHex = [redacted]
```

### 17. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** front-terrain-cli-1.0.0.tgz
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/front-terrain-cli-1.0.0.tgz>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = front-terrain-cli-1.0.0.tgz
kind = high_entropy_blob
sizeBytes = 8643
magicHex = [redacted]
```

### 18. Low: Nested Archive Needs Inspection
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** front-terrain-cli-1.0.0.tgz
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/front-terrain-cli-1.0.0.tgz>)

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

Public source snippet (untrusted):

```text
path = front-terrain-cli-1.0.0.tgz
kind = nested_archive_needs_inspection
sizeBytes = 8643
magicHex = [redacted]
```

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

### 20. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** bin/src/utils/firebaseAuth.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/bin/src/utils/firebaseAuth.js>)

Google API key in bin/src/utils/firebaseAuth.js

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 1
matchedText = export c...lg';
```

### 21. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** web/app.js
- **Public source:** [View source](<https://unpkg.com/ft-scout@5.0.4/web/app.js>)

Google API key in web/app.js

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 6
matchedText = apiKey: ...lg',
```

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

- **Dependencies:** 8
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 3
- **Published dependency-graph edges:** 8

### Published dependency entries
- @clack/prompts ^1.7.0 (Dependency)
- @types/nodemailer ^8.0.1 (Dependency)
- chalk ^6.0.0 (Dependency)
- commander ^15.0.4 (Dependency)
- dotenv ^17.4.2 (Dependency)
- nodemailer ^9.0.4 (Dependency)
- openai ^7.1.0 (Dependency)
- simple-git ^3.36.0 (Dependency)

## Package metadata
- **Package:** ft-scout
- **Ecosystem:** npm
- **Version:** 5.0.4
- **License:** ISC
- **Version published:** 2026-08-14T04:58:39.316Z
- **Package first seen:** 2026-08-05T17:09:29.608Z
- **Package last seen:** 2026-11-04T03:25:21.097Z
- **Known versions:** 54
- **Latest version:** 9.5.2
- **Appeal under review:** No
- **Description:** FrontTerrain — The Onboarding Co-Pilot for New Codebases
- **Author:** Front Terrain
- **Maintainers:** rishishandilya
- **Keywords:** cli, onboarding, git, llm, ai
- **Runtime engines:** node: \>=18.0.0
- **Artifact files:** 127
- **Artifact unpacked size:** 2,131,740 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/ft-scout/v/5.0.4>)
- [Repository](<https://github.com/Front-Terrain/FT-Check>)
- [Homepage](<https://github.com/Front-Terrain/FT-Check#readme>)
- [Issues](<https://github.com/Front-Terrain/FT-Check/issues>)
