Scan your whole stack
From OX Research Newsroom
Are you using foundgine?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.4.2
foundgine was last scanned on 26 Nov 2026 at version 3.4.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
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.
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.
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).
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.
@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 |
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.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.