Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

foundgine

Latest version: v3.4.2

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: foundginepypi
3 Versions
237 Downloads

Scan summary

foundgine was last scanned on 26 Nov 2026 at version 3.4.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published within 5 days (22–26 Nov 2026).
  • Findings: No rules fired in version 3.4.2.
  • Downloads: 237 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.4.2 LATEST 26 Nov 2026 No rules fired
3.4.1 22 Nov 2026 No rules fired
3.4.0 18 Nov 2026 No rules fired

No rules fired in 3.4.2

Findings

Findings for v3.4.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 3.4.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

foundgine (Python)

A thin Python client for Foundgine MCP and Temporal workflow HTTP transports.

Part of the Foundgine repository. This client talks to a running Foundgine server (the .NET or Java implementation hosting the MCP and Temporal endpoints); it does not contain the semantic runtime. See the client SDK overview and the source layout.

Requires Python 3.11+ and httpx.

Local install and checks

Run from src/python/:

pip install -e ".[dev]"
ruff check . && mypy && pytest

The project metadata names the distribution foundgine. This repository snapshot documents the editable source install; it does not claim that a PyPI release is available.

MCP client

import asyncio
import json
from foundgine import FoundgineClient


async def main() -> None:
    async with FoundgineClient("https://example.invalid", token=lambda: "tok") as client:
        tools = await client.list_capabilities()
        # Query tools take one `intentJson` string; names come from foundgine_capabilities.
        intent = {"rootEntity": "Customer", "selections": [{"field": "Name"}], "limit": 20}
        result = await client.execute("foundgine_query_semantic", {"intentJson": json.dumps(intent)})
        print([t.name for t in tools], result.content, result.is_error)


asyncio.run(main())

token may be a string or a sync/async callable; it is resolved for every request. Redirects are not followed. If you pass http_client=, the SDK never closes it. Without one, the SDK creates its own client with explicit timeouts (connect 10 s, read 60 s; DEFAULT_TIMEOUT) because httpx's 5 s default would break slow tool calls.

Synchronous client (scripts and notebooks)
from foundgine import FoundgineSyncClient

with FoundgineSyncClient("https://example.invalid", token="tok") as client:
    print([t.name for t in client.list_capabilities()])
    print(client.workflows.wait_for_completion("order-approval", "order-1042", timeout=60).temporal_status)

Same methods and exceptions as the async client, run on a private event-loop thread (so it also works inside Jupyter). watch and the cancel event are async-only; Ctrl-C cancels the in-flight call. notifications() is a blocking generator: wrap it in contextlib.closing if you stop early.

Notifications

import asyncio
import contextlib

cancel = asyncio.Event()
async with contextlib.aclosing(client.notifications(cancel=cancel)) as stream:
    async for message in stream:
        print(message)

The stream resumes using Last-Event-ID after the server closes it. Setting cancel ends the iteration cleanly. If you stop early, close the iterator (contextlib.aclosing, as above) so the server's single stream slot is released. There is no read timeout on the stream (heartbeats keep it alive).

Temporal workflows

The workflow client follows the HTTP routes exposed by Foundgine Temporal:

started, watch = await client.workflows.start_and_watch(
    "order-approval", "order-1042", {"orderId": "order-1042"}, interval=1.0, timeout=120.0
)
print(started.workflow_id)
async for status in watch.updates():
    print(status.temporal_status)
final = await watch.done

The catalog can also be inspected before starting work:

names = await client.workflows.processes()
definition = await client.workflows.describe(names[0])
print([(step.name, step.requires_approval) for step in definition.steps])

Also available: processes, describe, start, status, decide, cancel, wait_for_completion, and watch. Catalog descriptions expose safe step metadata only; internal operation identifiers are not returned by the server. watch() returns immediately and must be called inside a running event loop. updates() replays distinct observed states to late consumers. stop() aborts polling (done and updates() then raise FoundgineAbortError); async with watch: stops it on exit. on_update and on_error may be plain functions or coroutine functions, and their failures never kill the poll loop. Process and business-key path segments are percent-encoded. decide has no caller-identity argument: the server stamps the decision subject from its trusted security context.

Deliberate differences from @foundgine/typescript

TypeScript Python Why
camelCase, intervalMs, timeoutMs, notFoundGraceMs, reconnectDelayMs snake_case, interval, timeout, not_found_grace, reconnect_delay in seconds Python convention
AbortSignal (signal) optional asyncio.Event named cancel; task cancellation also works and sends notifications/cancelled no AbortSignal in Python
new FoundgineClient({ baseUrl }) FoundgineClient(base_url), usable as async with idiom
watch() object literal WorkflowWatch class (done is an asyncio.Task) idiom
watch.stop() after finishing makes updates() throw stop() is a no-op once finished avoids a completed watch turning into an error
abort during a status poll is counted as a poll error and reaches onError FoundgineAbortError is re-raised immediately an abort is not a failure
workflow transport failures surface as raw fetch errors wrapped in FoundgineError (as MCP calls already are) consistent error surface
400-without-session CORS hint not applicable no browser CORS in Python

Status and known limits

Implemented and tested: typed errors, SSE parser (including shared conformance vectors), MCP session initialization (once, even under concurrency), JSON-RPC requests, paged list_capabilities, execute, cancellation, resumable notification streaming, Temporal start/status/decision/cancel routes, wait_for_completion, watch, start_and_watch, and the workflow catalog (processes(), describe()). As in @foundgine/typescript, watch retries other polling errors up to max_consecutive_errors, but a 401 is fatal at once.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases foundgine

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229