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

kogwistar

Latest version: v0.8.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: humblemat
23 Stars
1 Forks
14 Versions
1.7K Downloads
Python Repo language

Scan summary

kogwistar was last scanned on 29 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 14 versions; the latest was published on 29 Nov 2026.
  • Findings: 1 rule fired in version 0.8.0 (1 medium). The score describes this version only.
  • Downloads: 1,748 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 29 Nov 2026 1 rule fired
0.7.2 22 Nov 2026 1 rule fired
0.7.1 22 Nov 2026 1 rule fired
0.7.0 15 Nov 2026 Not shown
0.6.15 20 Oct 2026 Not shown

Rules fired in 0.8.0: 1

Findings

1 Medium

Findings for v0.8.0. 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.

Encoded string decodes to a command or instruction

An encoded string in the package decodes, without being run, to a shell command, a network call, a code-execution call or an instruction aimed at an AI agent. The content was hidden from a plain read of the code. Encoding has legitimate uses, so the decoded content needs review.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

Supported Python Runtimes

Kogwistar's tested runtime support is:

  • CPython 3.12, 3.13, and 3.14 in the current CI matrix. Package metadata has a lower bound of >=3.12; that declaration alone does not claim testing on future CPython releases.
  • PyPy 3.11 for the supported Python-authority compatibility profile. This profile runs the provider-free CI suite with KOGWISTAR_IMPL_MODE=python.
  • PyPy 3.12 remains an experimental, best-effort native-extension profile.

To run the supported PyPy 3.11 profile from a checkout, use a PyPy 3.11 interpreter:

pypy3.11 scripts/pypy311_profile.py --import-package
pypy3.11 scripts/run_pypy311_ci.py

The current published package metadata still declares Requires-Python >=3.12. Until that metadata is changed in a future release, install the PyPy 3.11 profile from the source checkout rather than from the published wheel.

What This Is

  • A substrate for storing knowledge, conversations, workflows, provenance, spans, and receipts in one graph-oriented model with full fine grained access control.
  • A runnable harness for workflow execution, replay, resume, and evented projection.
  • A security- and governance-aware foundation with auth, RBAC/namespaces, and policy seams for agent systems.

What This Is Not

  • Not just another GraphRAG demo.
  • Not an agent framework with a fixed opinionated loop.
  • Not a finished enterprise product.

See docs/positioning.md for the full architectural framing and docs/LEARNING_PATH.md for the learning order.

Real Use Case

This substrate is not only about memory, conversation, or workflow in isolation. It can also sit underneath a security and governance layer for agent systems.

A concrete example is humblemat810/cloistar, which uses Kogwistar as the substrate for an OpenClaw governance semantics layer. That repo shows a real integration shape where the substrate is used for governed tool execution, approval flows, graph-backed receipts, and bridge/runtime semantics rather than only chat memory or workflow authoring.

At a lighter layer, humblemat810/kogwistar-chat shows the same substrate supporting an application-facing chat experience. Taken together, these examples show that Kogwistar can support multiple layers of implementation, from higher-level application surfaces down to deeper governance and security semantics.

Another related example is humblemat810/kogwistar-tokensafe, the MonkeyGuard / ModelKeyGuard repo, which also uses Kogwistar primitives for token-safe and guarded execution patterns.

Glossary

  • substrate: the shared graph-oriented foundation for knowledge, conversation, memory, workflow, execution, and provenance.
  • harness: the execution layer that runs workflows on top of the substrate.
  • provenance: the trace back to the source data, steps, or spans behind a node or answer.
  • replay: rebuilding state or views from stored history.
  • projection: turning authoritative history into queryable views or materialized state.
  • authoritative evented path: the event-history-driven path that carries the strongest replay and provenance guarantees.

Example

Run the graph-native artifact demo to see the full loop end to end:

python -m kogwistar.demo.graph_native_artifact_demo

What it does:

  1. takes raw notes as input
  2. validates and normalizes them into graph artifacts
  3. links related artifacts
  4. commits the result into history
  5. rebuilds usable views from that history
  6. explains results with provenance

This is the quickest way to see how execution becomes reusable state in the same graph.

See docs/graph_native_artifact_demo.md for the short design note and docs/positioning.md for the deeper architectural framing.

If you want the closer agent-loop comparison, the older framework_then_agent_demo remains available as a companion example.

Today the repo implements graph memory and query, workflow design/runtime, provenance and replay-oriented surfaces, evented/CDC-style patterns, MCP/REST tooling, and self-hostable development paths.

This repo is a substrate with reusable building blocks for replayability, provenance tracking, auth boundaries, governance semantics, and projection along the authoritative evented path.

Mental Model In Pseudocode

If the terminology feels abstract, read this first. It is the simplest way to understand the design:

input = user message, document, or workflow definition

events = capture(input)
validated = validate(events)
graph = normalize_to_nodes_and_edges(validated)
connected = link_related_graph_artifacts(graph)
commit(connected)                  # writes authoritative history

projection = rebuild_views_from_history()
answer = retrieve_with_provenance(projection, question)

In plain words:

  • execution and governance decisions are recorded as durable history
  • durable history is projected into graph state
  • graph state can be replayed or repaired later
  • provenance links answers back to the source steps and source spans

More Details

For the layer model, guarantees, and comparisons, see docs/positioning.md and docs/LEARNING_PATH.md.

Graph-Native Artifact Pipeline

This is the clearest demo if you want to see how execution, memory, conversation, provenance, and governance-friendly structure are unified in one graph.

Run the full suite with:

python -m kogwistar.demo.graph_native_artifact_demo

Use --summary-only if you want the one-screen proof view instead of the full report.

The demo runs three small scenarios:

  1. execution becomes memory
  2. conversation and workflow live in the same graph
  3. provenance answers “why” from stored execution history

These are not separate features; they come from the same underlying graph model.

The example stages raw notes, validates them, normalizes them into graph artifacts, links related notes, and commits the result into the same graph store that also holds workflow runs, step executions, and conversation turns. That makes the substrate point visible: execution is not just logged, it becomes graph memory; conversation and workflow are linked in one graph; and provenance queries can explain a result from stored history.

See docs/graph_native_artifact_demo.md for the short design note.

If you want the closer agent-loop comparison, the older framework_then_agent_demo remains available as a companion example.

Quickstart

  • As this is a substrate, you can pick anywhere you immediately want to start with e.g. hypergraphrag, runtime, mcp server, conversation primitives, workflow design, or governance-oriented integration. As your needs grow, you can compose more consistently and coherently.

  • Standalone setup then run simple flow in 2 minutes. (no frontend integration): QUICKSTART.md

  • Rust workspace build commands and Cargo artifact-size guidance: rust/BUILDING.md

  • Application-layer example on top of this substrate: humblemat810/kogwistar-chat

  • OpenClaw governance example built on this substrate: humblemat810/cloistar

  • Token-safe / guard-pattern example using the same primitives: humblemat810/kogwistar-tokensafe

  • Detailed comparison with adjacent products/frameworks: docs/llm-generated-comparison.md

  • Author notes, build context, and design history: docs/author-notes.md

  • Agent security architecture and trust boundaries: docs/security_model.md

  • PostgreSQL projection read and unlimited-read security contract: docs/postgres_projection_read_contract.md

  • Runtime rationale: kogwistar/docs/ARD-custom-runtime-rationale.md

  • Local conversation walkthrough: docs/tutorials/conversation-pipeline-basics.md

  • Async runtime tutorial ladder: docs/tutorials/runtime-ladder-overview.md

  • ACL / visibility tutorial path: docs/tutorials/16_leakage_prevention_with_model_slicing.md and docs/visibility_viewing_auditing.md

  • New ACL notebook tutorial: scripts/tutorial_sections/24_acl_visibility_tutorial.py

  • New async runtime notebook tutorial: scripts/tutorial_sections/25_async_runtime_tutorial.py

  • Roadmap and research direction: docs/roadmap.md

  • Alternatively, let your AI agent read through and set up the credential/ keys and environment variables for you, and run the appropriate commands.

Core Features

  • Graph/hypergraph-oriented memory and query surfaces.
  • Knowledge, conversation, workflow, and provenance all live in same graph model.
  • Workflow design stored as graph structure, with runtime, replay, and event-oriented execution seams.
  • Conversation execution events stored as graph artifacts.
  • CDC-oriented graph updates and replay workflows.
  • Provenance-first primitives with lifecycle-aware and temporal retrieval support.
  • Multiple storage backends, including Chroma and PostgreSQL/pgvector paths, with dual-store eventual consistency or transactional atomicity.
  • MCP and REST tooling for graph query, extraction, and admin operations.
  • Visualization helpers for D3 payloads.
  • Security and governance primitives, including RBAC/namespaces, privacy guards for LLM paths, slice guards to prevent data leakage, and workflow seams that can host policy or approval logic.
  • Nodes carry provenance and embeddings, so graph search can trace source spans, design nodes, and conversation nodes back to stored history.

How This Differs

  • Unlike typical agent products, this repo centers a unified graph/hypergraph substrate, more than only chat, skills, or tool orchestration.
  • Unlike workflow-first frameworks, it treats provenance, replay, and event history (event source) as part of the core data model rather than secondary runtime features.
  • Unlike memory-only agent stacks, it can also act as the substrate beneath a policy, approval, and governance semantics layer.
  • It can support multiple product layers on top of the same core, from application-facing chat surfaces to deeper governance backplanes.
  • Compared with local/self-hosted agent products, it emphasizes graph-native memory, replay, and workflow design seams more than channel breadth or app-registry breadth.
  • It spans retrieval, memory, runtime, and provenance concerns together, so it maps less cleanly to a single existing OSS category.

Application Best Fit

  • A base platform for audit-heavy systems, from local personal agents to AI backends.
  • A substrate for governed agent systems where tool execution, approvals, receipts, and replayable history matter.
  • Best suited for use cases where provenance, replay, lifecycle-aware retrieval, and workflow history matter.
  • Designed to run on normal local machines via SQLite/Chroma or lightweight Docker with PostgreSQL/pgvector.
  • A foundation repo, not a finished enterprise product.
  • Personal use that needs robustness and stability.
  • Collect data for future AI wisdom on what and how to do things.

Security Support

  • Role- and namespace-based access control across API and MCP surfaces.
  • OIDC/PKCE support for authenticated deployments, with simpler dev-mode auth for local work.
  • Sandboxable runtime paths, including container-based execution with networking disabled by default.
  • Security-aware boundaries are part of the design, but this repo should still be treated as a foundation platform rather than a fully hardened security product.

Research Direction

  • Move toward privacy-first personal agents with stronger local-first memory and execution.
  • Distill conversation and workflow traces into a future wisdom layer.
  • Explore agents that can propose and revise their own workflow graphs under human-auditable constraints.
  • These are research directions and design seams, not completed product claims. Runtime design rationale: kogwistar/docs/ARD-custom-runtime-rationale.md
  • Research application note: docs/research-applications.md

Why This Repo Exists

  • Raise the engineering bar for graph-native agent systems.
  • Lower the barrier to entry for building high-quality agent memory and execution layers on normal local hardware.
  • Provide a reusable foundation where retrieval, memory, workflow, and provenance are already structurally integrated. Additional motivation, build-cost context, and design history: docs/author-notes.md

Important Tool Sets

  • Graph substrate and provenance toolkit for storing nodes, edges, grounding, lifecycle state, and replayable graph changes as first-class primitives.
  • Conversation and retrieval orchestration toolkit for building local conversation flows, memory retrieval, KG retrieval, evidence pinning, and workflow-driven v2 turn execution.
  • Workflow runtime and replay toolkit for graph-defined execution, checkpoints, joins, suspend/resume flows, and inspectable run traces.
  • LLM task abstraction and strategy toolkit for provider-neutral extraction, filtering, summarization, answering, citation repair, verification, and merge/adjudication behavior.
  • Server and MCP integration toolkit for exposing conversations, workflow runs, admin operations, and graph tooling through app and tool boundaries.
  • Tutorial, CDC, and debugging toolkit for local development ladders, event-stream inspection, CDC viewers, and operational debugging workflows.

Run (Development)

  1. Clone the repo and enter it.
    • git clone git@github.com:humblemat810/kogwistar.git
    • Or HTTPS: git clone https://github.com/humblemat810/kogwistar.git
    • cd kogwistar
  2. Create and activate a CPython 3.12, 3.13, or 3.14 environment. Python 3.13 is the default example used by the full test workflow.
  3. Install dependencies for local work.
  4. Pick a development mode:
    • Server-style MCP app:
      • Install with pip install -e ".[server,chroma]" and start the app with knowledge-mcp (defaults to port 28110).
    • CLI-style workflow/runtime loop:
      • Use the standalone tutorial/runtime script in QUICKSTART.md under scripts/claw_runtime_loop.py.
      • This mode is useful for local development when you want to iterate on workflow execution, CDC flow, and event-loop behavior without running the full server surface.

Development and Test Install

  • Minimal engine core:
    • pip install -e .
  • Lightweight local development:
    • pip install -e ".[server,chroma,test]"
  • Development with LangGraph-related tests:
    • pip install -e ".[server,chroma,test,langgraph]"
  • PostgreSQL parity/integration work:
    • pip install -e ".[server,pgvector,test]"
  • Full local contributor setup:
    • pip install -e ".[full,test]"

Run Tests

  • Run the default test suite:
    • pytest
  • Run a specific test file:
    • pytest tests/workflow/test_save_load_progress.py -q
  • Real Keycloak OIDC end-to-end test:
    • pytest tests/server/test_oidc_keycloak_e2e.py -q
  • Browser-visible manual Keycloak OIDC test:
    • pytest tests/server/test_oidc_keycloak_manual.py::test_oidc_keycloak_browser_manual --run-manual -q -s
  • Some integration tests may require Docker/testcontainers or optional extras such as langgraph.

Install Options

  • Base/core only:
    • pip install -e .
  • Server/MCP runtime:
    • pip install -e ".[server]"
  • Chroma backend:
    • pip install -e ".[chroma]"
  • PostgreSQL + pgvector backend:
    • pip install -e ".[pgvector]"
  • LLM provider (OpenAI):
    • pip install -e ".[openai]"
  • LLM provider (Gemini):
    • pip install -e ".[gemini]"
  • Ingestion with OpenAI:
    • pip install -e ".[ingestion-openai]"
  • Ingestion with Gemini:
    • pip install -e ".[ingestion-gemini]"
  • LangGraph converter:
    • pip install -e ".[langgraph]"
  • Everything:
    • pip install -e ".[full]"

GitHub Install

  • Use the package name, not the repo name, when installing with extras from a repository.
  • Examples:
    • pip install "kogwistar[chroma] @ git+ssh://git@github.com/humblemat810/kogwistar.git@v0.6.2"
    • pip install "kogwistar[pgvector,openai] @ git+ssh://git@github.com/humblemat810/kogwistar.git@v0.6.2"
  • For HTTPS-based installs, use the same direct-reference form with a token-authenticated git+https://... URL.

Runtime Configuration

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 kogwistar

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

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

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

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

Frame 2085668439 (1)
Group 1261154229