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

# ambiguous@0.9.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
**Flagged — allowed with a warning** — Allowed by default policy, but 12 finding(s) warrant review before installing.

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

This is conditional credential exposure: AMBI\_API\_URL is unrestricted, and the shared request client forwards existing bearer tokens, including in an activity beacon. The default is the product API and selecting another base requires configuration, so warn rather than block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 85.0%
- **Started:** 2026-10-16T19:33:17.842Z
- **Finished:** 2026-10-16T19:34:59.131Z
- **Download time:** 1026 ms
- **Static scan time:** 5687 ms
- **AI review time:** 94574 ms
- **Total time:** 101289 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:** A configured API base can receive an existing Ambiguous account token. If AMBI\_API\_URL points to another host, authenticated requests and a background activity beacon send the token there.

- **Trigger:** Set AMBI\_API\_URL to another host and run an authenticated API command; human account activity can also trigger the beacon.

- **Impact:** The configured recipient can obtain a valid account token and may be able to use the associated account.

- **Evidence paths:** dist/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-16T19:34:59.131Z

### AI review details

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

- **Mechanism:** The CLI builds request URLs from the configured base and adds the existing token as a bearer credential without checking the destination host.

- **Rationale:** This is conditional credential exposure: AMBI\_API\_URL is unrestricted, and the shared request client forwards existing bearer tokens, including in an activity beacon. The default is the product API and selecting another base requires configuration, so warn rather than block.

- **Files touched:** dist/index.js

- **Network endpoints:** https://api.ambiguous.ai, https://api.devambi.cc

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 85.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** AMBI\_API\_URL replaces the API base URL without host validation; the default is the product API., The CLI can load a token from the environment or saved local, global, and legacy configuration, then build authenticated requests using that base URL., Authenticated requests attach the token as a bearer credential and send it to the constructed URL., Human account activity triggers a background beacon through the same authenticated request path., The user-invoked whoami command also sends the current token to the selected API base.

- **Evidence against:** The default API base is the package’s product API; the source does not choose an unrelated recipient by default., Using an alternate API base requires configuring AMBI\_API\_URL or the CLI’s API URL setting.

## Affected versions and remediation

This report applies to ambiguous@0.9.8.

- Review the evidence and your use of ambiguous@0.9.8 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: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

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

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

Package declares npm scripts.

### 3. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/ambiguous@0.9.8/dist/index.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L10756: sourceCode = this.opts.code.process(sourceCode, sch);
L10757: const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
L10758: const validate = makeValidate(this, this.scope.get());
```

### 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. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 7. High: Browser Session Account Hijack
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/ambiguous@0.9.8/dist/index.js>)

Browser source reuses an authenticated session to collect identity data and mutate account settings while reporting externally.

Public source snippet (untrusted):

```javascript
L49: * Constructs the CommanderError class
L50: * @param {number} exitCode suggested exit code which could be used with process.exit
L51: * @param {string} code an id string representing the error
...
L1164: var EventEmitter = __require("events").EventEmitter;
L1165: var childProcess2 = __require("child_process");
L1166: var path12 = __require("path");
...
L1214: this._outputConfiguration = {
L1215: writeOut: (str) => process15.stdout.write(str),
L1216: writeErr: (str) => process15.stderr.write(str),
...
L1253: * @returns {Command[]}
L1254: * @private
L1255: */
```

### 8. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/ambiguous@0.9.8/dist/index.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
trigger: "a person approves an OAuth client on the consent screen and its authorization code is written",
API_KEY_CREATED = "API Key Created";
{ event: API_KEY_CREATED, module: "admin", owner: "platform", properties: [], ppiPosture: "none", description: "An API key was created" },
writeFile: retryify_async_default(promisify(fs.writeFile), RETRYIFY_OPTIONS),
writeFileSync: retryify_sync_default(fs.writeFileSync, RETRYIFY_OPTIONS)
function writeFileSync(filePath, data, options = DEFAULT_WRITE_OPTIONS) {
return writeFileSync(filePath, data, { encoding: options });
fs2.writeFileSync(this.path, data, { mode: this.#options.con
```

### 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: Wildcard Dependency
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest contains a wildcard dependency.

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

Package manifest does not declare a clear license.

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

### Published dependency entries
- @modelcontextprotocol/sdk ^1.31.0 (Dependency)
- chalk ^5.4.0 (Dependency)
- commander ^13.1.0 (Dependency)
- conf ^13.1.0 (Dependency)
- https-proxy-agent ^7.0.6 (Dependency)
- mime-types ^3.0.2 (Dependency)
- open ^10.1.0 (Dependency)
- ora ^9.4.0 (Dependency)
- proxy-from-env ^2.1.0 (Dependency)
- tinyglobby ^0.2.16 (Dependency)
- undici ^6.27.0 (Dependency)
- ws ^8.21.0 (Dependency)

## Package metadata
- **Package:** ambiguous
- **Ecosystem:** npm
- **Version:** 0.9.8
- **License:** UNLICENSED
- **Version published:** 2026-10-16T19:31:09.215Z
- **Package first seen:** 2026-09-04T05:06:01.495Z
- **Package last seen:** 2026-11-01T04:38:45.525Z
- **Known versions:** 13
- **Latest version:** 0.9.12
- **Appeal under review:** No
- **Description:** CLI for Ambiguous Workspace — manage docs, tasks, mail, calendar, CRM, and more from the terminal
- **Maintainers:** phill33t
- **Keywords:** ambiguous, workspace, cli, productivity, ai
- **Runtime engines:** node: \>=20
- **Artifact files:** 4
- **Artifact unpacked size:** 2,426,424 bytes
- **Artifact signatures:** 2
- **Attestations:** No

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