---
canonical: "https://firewall.lpm.dev/npm/@flowselections/logistiek-engine"
markdown: "https://firewall.lpm.dev/npm/@flowselections/logistiek-engine/v/1.0.219.md"
package: "@flowselections/logistiek-engine"
report_status: "published"
title: "@flowselections/logistiek-engine@1.0.219 npm security report"
verdict: "malicious"
version: "1.0.219"
---

# @flowselections/logistiek-engine@1.0.219 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 & quarantined** — A Supabase session credential can be disclosed to the editor service without explicit user consent.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Credential exfiltration
- **Selected version:** 1.0.219
- **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: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The package wires a preview auth broker into Supabase session storage, which automatically sends stored values to a separate editor origin. Because those values can include Supabase credentials and the transfer has no explicit user consent, this is credential exfiltration.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-09T13:14:37.059Z
- **Finished:** 2026-11-09T13:15:53.297Z
- **Download time:** 780 ms
- **Static scan time:** 1608 ms
- **AI review time:** 73850 ms
- **Total time:** 76238 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:** Supabase auth storage values are automatically sent to a Lovable editor origin from preview pages.

- **Trigger:** Supabase auth reads or writes storage in a framed browser on a recognized preview domain.

- **Impact:** A Supabase session credential can be disclosed to the editor service without explicit user consent.

- **Evidence paths:** dist-lib/integrations/supabase/client.js, dist-lib/integrations/supabase/previewAuthStorage.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-09T13:15:53.297Z

### AI review details

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

- **Mechanism:** The storage broker puts the key and value in a postMessage sent to the parent at a validated lovable.dev or gptengineer.app origin.

- **Attack narrative:** When the Supabase client uses persisted auth storage in a framed Lovable preview, the broker forwards storage values to the parent editor through postMessage. The target is restricted to Lovable or gptengineer editor origins, but the forwarded value can be a Supabase session credential and the transfer occurs automatically without explicit user consent.

- **Rationale:** The package wires a preview auth broker into Supabase session storage, which automatically sends stored values to a separate editor origin. Because those values can include Supabase credentials and the transfer has no explicit user consent, this is credential exfiltration.

- **Files touched:** dist-lib/integrations/supabase/client.js, dist-lib/integrations/supabase/previewAuthStorage.js

- **Network endpoints:** https://lovable.dev, https://\*.lovable.dev, https://gptengineer.app, https://\*.gptengineer.app, http://localhost:3000

### Review decision

- **Verdict:** Malicious

- **Confidence:** 91.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The Supabase client automatically uses brokeredPreviewStorage for persisted auth sessions., On preview domains, auth storage reads forward the existing local value, and writes forward the new value., The broker message includes the storage key and value and is posted to the parent using editorOrigins; the production fallback is https://lovable.dev., The helper validates editor origins against lovable.dev and gptengineer.app domains.

- **Evidence against:** The broker is limited to recognized Lovable preview domains and framed browser contexts., The code describes the behavior as sharing a login across preview surfaces and restricts message targets to editor origins.

## Affected versions and remediation

This report applies to @flowselections/logistiek-engine@1.0.219.

- Avoid installing @flowselections/logistiek-engine@1.0.219. 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist-lib/lib/handlers/logistics-plan-now.server.js
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/lib/handlers/logistics-plan-now.server.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L58: const modName = "cloudflare:workers";
L59: const mod = (await import(/* @vite-ignore */ modName));
L60: if (typeof mod.waitUntil === "function")
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

Package manifest does not declare a clear license.

### 8. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist-lib/styles.css
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/styles.css>)

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

Public source snippet (untrusted):

```css
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
```

### 9. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist-lib/integrations/supabase/previewAuthStorage.js
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/integrations/supabase/previewAuthStorage.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 = @flowselections/logistiek-engine@1.0.53
matchedIdentity = npm:[redacted]:1.0.53
similarity = 0.357
summary = stored previous version shares package body but lacks this dangerous source file
```

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist-lib/integrations/supabase/client.js
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/integrations/supabase/client.js>)

The Supabase client automatically uses brokeredPreviewStorage for persisted auth sessions.

Public source snippet (untrusted):

```javascript
return createClient(SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, {
        global: {
            fetch: createSupabaseFetch(SUPABASE_PUBLISHABLE_KEY),
        },
        auth: {
            storage: brokeredPreviewStorage(),
            persistSession: true,
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist-lib/integrations/supabase/previewAuthStorage.js
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/integrations/supabase/previewAuthStorage.js>)

On preview domains, auth storage reads forward the existing local value, and writes forward the new value.

Public source snippet (untrusted):

```javascript
getItem: async (key) => {
            // Sent with GET and REMOVE so an editor that never cached this session can check or revoke it.
            const local = readLocal(key);
            let res = await request('lovable-preview-auth:get', key, local ?? undefined);
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist-lib/integrations/supabase/previewAuthStorage.js
- **Public source:** [View source](<https://unpkg.com/@flowselections/logistiek-engine@1.0.219/dist-lib/integrations/supabase/previewAuthStorage.js>)

On preview domains, auth storage reads forward the existing local value, and writes forward the new value.

Public source snippet (untrusted):

```javascript
setItem: (key, value) => {
            localStorage.setItem(key, value);
            return request('lovable-preview-auth:set', key, value).then((res) => {
                if (res?.ok && res.value !== null && localStorage.getItem(key) === value) {
                    if (res.value === '')
```

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

- **Dependencies:** 4
- **Optional dependencies:** 0
- **Peer dependencies:** 9
- **Development dependencies:** 35
- **Published dependency-graph edges:** 13

### Published dependency entries
- @dagrejs/dagre ^3.1.1 (Dependency)
- @flowselections/floriday-authenticatie-module ^1.0.51 (Dependency)
- @supabase/supabase-js ^2.111.0 (Dependency)
- @xyflow/react ^12.11.6 (Dependency)
- @flowselections/core \* (PeerDependency)
- @flowselections/floriday-authenticatie-module ^1.0.51 (PeerDependency)
- @tanstack/react-query ^5.0.0 (PeerDependency)
- @tanstack/react-router ^1.0.0 (PeerDependency)
- @tanstack/react-start ^1.0.0 (PeerDependency)
- lucide-react ^0.400.0 (PeerDependency)
- react ^18 || ^19 (PeerDependency)
- react-dom ^18 || ^19 (PeerDependency)
- sonner ^2.0.0 (PeerDependency)

## Package metadata
- **Package:** @flowselections/logistiek-engine
- **Ecosystem:** npm
- **Version:** 1.0.219
- **Version published:** 2026-10-28T23:09:01.582Z
- **Package first seen:** 2026-08-06T21:54:47.204Z
- **Package last seen:** 2026-11-20T13:24:25.807Z
- **Known versions:** 98
- **Latest version:** 1.0.258
- **Appeal under review:** No
- **Description:** blank project start
- **Artifact files:** 566
- **Artifact unpacked size:** 7,488,749 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@flowselections/logistiek-engine/v/1.0.219>)
