panoptis 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- panoptis-0.3.1/.gitignore +48 -0
- panoptis-0.3.1/CHANGELOG.md +77 -0
- panoptis-0.3.1/LICENSE +201 -0
- panoptis-0.3.1/PKG-INFO +657 -0
- panoptis-0.3.1/README.md +558 -0
- panoptis-0.3.1/panopti/__init__.py +166 -0
- panoptis-0.3.1/panopti/__main__.py +8 -0
- panoptis-0.3.1/panopti/_banner.py +37 -0
- panoptis-0.3.1/panopti/attest.py +175 -0
- panoptis-0.3.1/panopti/attest_keys.py +202 -0
- panoptis-0.3.1/panopti/bench.py +127 -0
- panoptis-0.3.1/panopti/cli.py +324 -0
- panoptis-0.3.1/panopti/contracts.py +228 -0
- panoptis-0.3.1/panopti/court.py +149 -0
- panoptis-0.3.1/panopti/demo.py +383 -0
- panoptis-0.3.1/panopti/doctor.py +90 -0
- panoptis-0.3.1/panopti/egress.py +66 -0
- panoptis-0.3.1/panopti/guard.py +260 -0
- panoptis-0.3.1/panopti/killswitch.py +85 -0
- panoptis-0.3.1/panopti/mesh.py +122 -0
- panoptis-0.3.1/panopti/playground.html +791 -0
- panoptis-0.3.1/panopti/playground.py +71 -0
- panoptis-0.3.1/panopti/presets/__init__.py +35 -0
- panoptis-0.3.1/panopti/presets/profiles.py +87 -0
- panoptis-0.3.1/panopti/presets/rules.py +307 -0
- panoptis-0.3.1/panopti/replay.py +197 -0
- panoptis-0.3.1/panopti/reports.py +143 -0
- panoptis-0.3.1/panopti/shield.py +53 -0
- panoptis-0.3.1/panopti/synth.py +147 -0
- panoptis-0.3.1/panopti/themes.py +205 -0
- panoptis-0.3.1/panoptis/__init__.py +19 -0
- panoptis-0.3.1/panoptis/__main__.py +6 -0
- panoptis-0.3.1/panoptis/_version.py +30 -0
- panoptis-0.3.1/panoptis/adapters/__init__.py +22 -0
- panoptis-0.3.1/panoptis/adapters/autogen.py +188 -0
- panoptis-0.3.1/panoptis/adapters/autogpt.py +55 -0
- panoptis-0.3.1/panoptis/adapters/base.py +62 -0
- panoptis-0.3.1/panoptis/adapters/claude_code.py +516 -0
- panoptis-0.3.1/panoptis/adapters/crewai.py +119 -0
- panoptis-0.3.1/panoptis/adapters/generic.py +143 -0
- panoptis-0.3.1/panoptis/adapters/langchain.py +276 -0
- panoptis-0.3.1/panoptis/adapters/langgraph.py +191 -0
- panoptis-0.3.1/panoptis/adapters/openai_agents.py +117 -0
- panoptis-0.3.1/panoptis/adapters/openclaw.py +32 -0
- panoptis-0.3.1/panoptis/adapters/smolagents.py +189 -0
- panoptis-0.3.1/panoptis/alerting/__init__.py +6 -0
- panoptis-0.3.1/panoptis/alerting/channels.py +124 -0
- panoptis-0.3.1/panoptis/alerting/engine.py +220 -0
- panoptis-0.3.1/panoptis/analysis/__init__.py +0 -0
- panoptis-0.3.1/panoptis/analysis/base.py +53 -0
- panoptis-0.3.1/panoptis/analysis/capabilities.py +164 -0
- panoptis-0.3.1/panoptis/analysis/entropy.py +174 -0
- panoptis-0.3.1/panoptis/analysis/maturity.py +80 -0
- panoptis-0.3.1/panoptis/analysis/registry.py +19 -0
- panoptis-0.3.1/panoptis/api/__init__.py +1 -0
- panoptis-0.3.1/panoptis/api/auth.py +214 -0
- panoptis-0.3.1/panoptis/api/entitlement.py +102 -0
- panoptis-0.3.1/panoptis/api/limits.py +172 -0
- panoptis-0.3.1/panoptis/api/middleware/__init__.py +0 -0
- panoptis-0.3.1/panoptis/api/middleware/rate_limiter.py +288 -0
- panoptis-0.3.1/panoptis/api/protect_api.py +450 -0
- panoptis-0.3.1/panoptis/api/protect_approvals.py +103 -0
- panoptis-0.3.1/panoptis/api/protect_control.py +100 -0
- panoptis-0.3.1/panoptis/api/protect_rbac.py +109 -0
- panoptis-0.3.1/panoptis/api/server.py +2355 -0
- panoptis-0.3.1/panoptis/api/tenancy.py +105 -0
- panoptis-0.3.1/panoptis/api/tenant_auth.py +265 -0
- panoptis-0.3.1/panoptis/api/tenant_store_sql.py +529 -0
- panoptis-0.3.1/panoptis/api/v3.py +838 -0
- panoptis-0.3.1/panoptis/behaviour/__init__.py +0 -0
- panoptis-0.3.1/panoptis/behaviour/drift.py +186 -0
- panoptis-0.3.1/panoptis/behaviour/motifs.py +603 -0
- panoptis-0.3.1/panoptis/behaviour/profile.py +247 -0
- panoptis-0.3.1/panoptis/causality/__init__.py +23 -0
- panoptis-0.3.1/panoptis/causality/cones.py +181 -0
- panoptis-0.3.1/panoptis/causality/decay.py +302 -0
- panoptis-0.3.1/panoptis/causality/hypotheses.py +218 -0
- panoptis-0.3.1/panoptis/circuit_breaker/__init__.py +34 -0
- panoptis-0.3.1/panoptis/circuit_breaker/breaker.py +470 -0
- panoptis-0.3.1/panoptis/circuit_breaker/loop_detector.py +134 -0
- panoptis-0.3.1/panoptis/circuit_breaker/thresholds.py +66 -0
- panoptis-0.3.1/panoptis/cli/__init__.py +11 -0
- panoptis-0.3.1/panoptis/cli/_utils/__init__.py +11 -0
- panoptis-0.3.1/panoptis/cli/_utils/run_cmd.py +170 -0
- panoptis-0.3.1/panoptis/cli/animator.py +117 -0
- panoptis-0.3.1/panoptis/cli/demo.py +606 -0
- panoptis-0.3.1/panoptis/cli/init.py +124 -0
- panoptis-0.3.1/panoptis/cli/main.py +3218 -0
- panoptis-0.3.1/panoptis/cli/mcp.py +201 -0
- panoptis-0.3.1/panoptis/cli/protect_ops.py +513 -0
- panoptis-0.3.1/panoptis/cli/v3.py +1212 -0
- panoptis-0.3.1/panoptis/cli/verify_env.py +151 -0
- panoptis-0.3.1/panoptis/compare/__init__.py +0 -0
- panoptis-0.3.1/panoptis/compare/runs.py +405 -0
- panoptis-0.3.1/panoptis/contracts/__init__.py +149 -0
- panoptis-0.3.1/panoptis/contracts/coverage.py +190 -0
- panoptis-0.3.1/panoptis/contracts/evaluator.py +528 -0
- panoptis-0.3.1/panoptis/contracts/irreversible.py +178 -0
- panoptis-0.3.1/panoptis/contracts/mfotl.py +1614 -0
- panoptis-0.3.1/panoptis/contracts/order.py +496 -0
- panoptis-0.3.1/panoptis/contracts/remedies.py +44 -0
- panoptis-0.3.1/panoptis/contracts/schema.py +198 -0
- panoptis-0.3.1/panoptis/contracts/streaming.py +751 -0
- panoptis-0.3.1/panoptis/core/__init__.py +37 -0
- panoptis-0.3.1/panoptis/core/blast_radius.py +170 -0
- panoptis-0.3.1/panoptis/core/config.py +72 -0
- panoptis-0.3.1/panoptis/core/event_bus.py +384 -0
- panoptis-0.3.1/panoptis/core/http_forwarder.py +87 -0
- panoptis-0.3.1/panoptis/core/injection.py +145 -0
- panoptis-0.3.1/panoptis/core/loop_detector.py +93 -0
- panoptis-0.3.1/panoptis/core/models.py +835 -0
- panoptis-0.3.1/panoptis/core/policy_dsl.py +373 -0
- panoptis-0.3.1/panoptis/core/policy_loader.py +161 -0
- panoptis-0.3.1/panoptis/core/recursion_depth_detector.py +78 -0
- panoptis-0.3.1/panoptis/core/risk.py +101 -0
- panoptis-0.3.1/panoptis/core/safety.py +933 -0
- panoptis-0.3.1/panoptis/core/schema.py +501 -0
- panoptis-0.3.1/panoptis/core/watcher.py +1131 -0
- panoptis-0.3.1/panoptis/cost/__init__.py +8 -0
- panoptis-0.3.1/panoptis/cost/anomaly.py +74 -0
- panoptis-0.3.1/panoptis/cost/caching.py +13 -0
- panoptis-0.3.1/panoptis/cost/comparator.py +80 -0
- panoptis-0.3.1/panoptis/cost/complexity_router.py +213 -0
- panoptis-0.3.1/panoptis/cost/governance.py +189 -0
- panoptis-0.3.1/panoptis/cost/predictor.py +97 -0
- panoptis-0.3.1/panoptis/cost/reporting.py +166 -0
- panoptis-0.3.1/panoptis/cost/roi.py +100 -0
- panoptis-0.3.1/panoptis/cost/router.py +16 -0
- panoptis-0.3.1/panoptis/cost/semantic_cache.py +102 -0
- panoptis-0.3.1/panoptis/cost/tracker.py +176 -0
- panoptis-0.3.1/panoptis/entities/__init__.py +0 -0
- panoptis-0.3.1/panoptis/entities/resolve.py +150 -0
- panoptis-0.3.1/panoptis/eval/__init__.py +35 -0
- panoptis-0.3.1/panoptis/eval/retrieval_drift.py +171 -0
- panoptis-0.3.1/panoptis/eval/runner.py +258 -0
- panoptis-0.3.1/panoptis/events/__init__.py +0 -0
- panoptis-0.3.1/panoptis/events/codec.py +64 -0
- panoptis-0.3.1/panoptis/events/model.py +289 -0
- panoptis-0.3.1/panoptis/events/normalize.py +298 -0
- panoptis-0.3.1/panoptis/events/normalizers/__init__.py +0 -0
- panoptis-0.3.1/panoptis/events/normalizers/anthropic.py +3 -0
- panoptis-0.3.1/panoptis/events/normalizers/claude_code.py +299 -0
- panoptis-0.3.1/panoptis/events/normalizers/langchain.py +223 -0
- panoptis-0.3.1/panoptis/events/normalizers/legacy.py +230 -0
- panoptis-0.3.1/panoptis/events/normalizers/llm_api.py +221 -0
- panoptis-0.3.1/panoptis/events/normalizers/mcp.py +185 -0
- panoptis-0.3.1/panoptis/events/normalizers/native.py +297 -0
- panoptis-0.3.1/panoptis/events/normalizers/openai.py +3 -0
- panoptis-0.3.1/panoptis/events/normalizers/otel.py +355 -0
- panoptis-0.3.1/panoptis/events/registry.py +44 -0
- panoptis-0.3.1/panoptis/evidence/__init__.py +36 -0
- panoptis-0.3.1/panoptis/evidence/attestation.py +465 -0
- panoptis-0.3.1/panoptis/evidence/blobs.py +89 -0
- panoptis-0.3.1/panoptis/evidence/canonical.py +63 -0
- panoptis-0.3.1/panoptis/evidence/crypto.py +81 -0
- panoptis-0.3.1/panoptis/evidence/ids.py +41 -0
- panoptis-0.3.1/panoptis/evidence/merkle.py +186 -0
- panoptis-0.3.1/panoptis/evidence/model.py +275 -0
- panoptis-0.3.1/panoptis/evidence/recursive_proof.py +193 -0
- panoptis-0.3.1/panoptis/evidence/redaction.py +149 -0
- panoptis-0.3.1/panoptis/evidence/segments.py +160 -0
- panoptis-0.3.1/panoptis/evidence/shredding.py +169 -0
- panoptis-0.3.1/panoptis/evidence/verifier.py +238 -0
- panoptis-0.3.1/panoptis/forecasting/__init__.py +0 -0
- panoptis-0.3.1/panoptis/forecasting/trajectory.py +196 -0
- panoptis-0.3.1/panoptis/governance/__init__.py +14 -0
- panoptis-0.3.1/panoptis/governance/audit_log.py +272 -0
- panoptis-0.3.1/panoptis/governance/causal.py +108 -0
- panoptis-0.3.1/panoptis/governance/compliance_reporter.py +129 -0
- panoptis-0.3.1/panoptis/governance/engine.py +360 -0
- panoptis-0.3.1/panoptis/governance/eu_ai_act.py +146 -0
- panoptis-0.3.1/panoptis/governance/gdpr.py +423 -0
- panoptis-0.3.1/panoptis/governance/hipaa.py +107 -0
- panoptis-0.3.1/panoptis/governance/iso42001.py +131 -0
- panoptis-0.3.1/panoptis/governance/rbac.py +213 -0
- panoptis-0.3.1/panoptis/governance/reports.py +134 -0
- panoptis-0.3.1/panoptis/governance/residency.py +92 -0
- panoptis-0.3.1/panoptis/graph/__init__.py +0 -0
- panoptis-0.3.1/panoptis/graph/build.py +248 -0
- panoptis-0.3.1/panoptis/graph/information.py +890 -0
- panoptis-0.3.1/panoptis/graph/model.py +177 -0
- panoptis-0.3.1/panoptis/graph/traverse.py +266 -0
- panoptis-0.3.1/panoptis/hitl/__init__.py +31 -0
- panoptis-0.3.1/panoptis/hitl/decisions.py +102 -0
- panoptis-0.3.1/panoptis/hitl/feedback.py +154 -0
- panoptis-0.3.1/panoptis/hitl/orchestrator.py +295 -0
- panoptis-0.3.1/panoptis/hitl/thresholds.py +53 -0
- panoptis-0.3.1/panoptis/infrastructure/__init__.py +1 -0
- panoptis-0.3.1/panoptis/infrastructure/config.py +51 -0
- panoptis-0.3.1/panoptis/infrastructure/router.py +176 -0
- panoptis-0.3.1/panoptis/instrument.py +210 -0
- panoptis-0.3.1/panoptis/lab/__init__.py +0 -0
- panoptis-0.3.1/panoptis/lab/branch.py +252 -0
- panoptis-0.3.1/panoptis/lab/observe.py +84 -0
- panoptis-0.3.1/panoptis/lab/replay.py +237 -0
- panoptis-0.3.1/panoptis/lab/replay_runtime.py +117 -0
- panoptis-0.3.1/panoptis/lattice/__init__.py +29 -0
- panoptis-0.3.1/panoptis/lattice/attention_scatter.py +198 -0
- panoptis-0.3.1/panoptis/lattice/shadow_filesystem.py +200 -0
- panoptis-0.3.1/panoptis/memory/__init__.py +15 -0
- panoptis-0.3.1/panoptis/memory/causal_graph.py +130 -0
- panoptis-0.3.1/panoptis/memory/decay.py +189 -0
- panoptis-0.3.1/panoptis/memory/engine.py +636 -0
- panoptis-0.3.1/panoptis/memory/governance.py +199 -0
- panoptis-0.3.1/panoptis/memory/graph_query.py +403 -0
- panoptis-0.3.1/panoptis/memory/health.py +118 -0
- panoptis-0.3.1/panoptis/memory/identity.py +87 -0
- panoptis-0.3.1/panoptis/memory/nlquery.py +183 -0
- panoptis-0.3.1/panoptis/memory/resolver.py +76 -0
- panoptis-0.3.1/panoptis/memory/temporal_decay.py +58 -0
- panoptis-0.3.1/panoptis/memory/visualization.py +93 -0
- panoptis-0.3.1/panoptis/models/__init__.py +0 -0
- panoptis-0.3.1/panoptis/models/cache.py +14 -0
- panoptis-0.3.1/panoptis/models/tenant.py +229 -0
- panoptis-0.3.1/panoptis/monitoring/__init__.py +0 -0
- panoptis-0.3.1/panoptis/monitoring/context_guard.py +363 -0
- panoptis-0.3.1/panoptis/monitoring/metrics.py +122 -0
- panoptis-0.3.1/panoptis/orchestration/__init__.py +19 -0
- panoptis-0.3.1/panoptis/orchestration/consensus.py +84 -0
- panoptis-0.3.1/panoptis/orchestration/crew_context.py +86 -0
- panoptis-0.3.1/panoptis/orchestration/dag.py +119 -0
- panoptis-0.3.1/panoptis/orchestration/deadlock.py +52 -0
- panoptis-0.3.1/panoptis/orchestration/engine.py +418 -0
- panoptis-0.3.1/panoptis/orchestration/handoff_tracker.py +91 -0
- panoptis-0.3.1/panoptis/orchestration/propagation.py +57 -0
- panoptis-0.3.1/panoptis/orchestration/race_condition.py +134 -0
- panoptis-0.3.1/panoptis/orchestration/shapley.py +76 -0
- panoptis-0.3.1/panoptis/orchestration/spawning.py +80 -0
- panoptis-0.3.1/panoptis/orchestration/trust.py +61 -0
- panoptis-0.3.1/panoptis/platform/__init__.py +1 -0
- panoptis-0.3.1/panoptis/platform/cloud.py +105 -0
- panoptis-0.3.1/panoptis/platform/eval_builder.py +90 -0
- panoptis-0.3.1/panoptis/platform/intelligence.py +176 -0
- panoptis-0.3.1/panoptis/platform/prompts.py +140 -0
- panoptis-0.3.1/panoptis/platform/sharing.py +204 -0
- panoptis-0.3.1/panoptis/plugins/__init__.py +6 -0
- panoptis-0.3.1/panoptis/plugins/registry.py +102 -0
- panoptis-0.3.1/panoptis/plugins/sandbox.py +155 -0
- panoptis-0.3.1/panoptis/protect/__init__.py +230 -0
- panoptis-0.3.1/panoptis/protect/approvals.py +433 -0
- panoptis-0.3.1/panoptis/protect/arguments.py +1699 -0
- panoptis-0.3.1/panoptis/protect/claude_hook.py +284 -0
- panoptis-0.3.1/panoptis/protect/claude_hook_entry.py +21 -0
- panoptis-0.3.1/panoptis/protect/control.py +268 -0
- panoptis-0.3.1/panoptis/protect/counterfactual.py +306 -0
- panoptis-0.3.1/panoptis/protect/crescendo_drift.py +255 -0
- panoptis-0.3.1/panoptis/protect/discovery.py +621 -0
- panoptis-0.3.1/panoptis/protect/enclave_attestation.py +255 -0
- panoptis-0.3.1/panoptis/protect/enforce.py +290 -0
- panoptis-0.3.1/panoptis/protect/formal_verifier.py +544 -0
- panoptis-0.3.1/panoptis/protect/ifc_lattice.py +198 -0
- panoptis-0.3.1/panoptis/protect/integrations.py +317 -0
- panoptis-0.3.1/panoptis/protect/integrity.py +89 -0
- panoptis-0.3.1/panoptis/protect/intent.py +674 -0
- panoptis-0.3.1/panoptis/protect/kernel_sandbox.py +271 -0
- panoptis-0.3.1/panoptis/protect/ledger.py +263 -0
- panoptis-0.3.1/panoptis/protect/loops.py +460 -0
- panoptis-0.3.1/panoptis/protect/ltl_trajectory.py +232 -0
- panoptis-0.3.1/panoptis/protect/mcp_gateway.py +1012 -0
- panoptis-0.3.1/panoptis/protect/memory_sentry.py +257 -0
- panoptis-0.3.1/panoptis/protect/model.py +272 -0
- panoptis-0.3.1/panoptis/protect/output.py +485 -0
- panoptis-0.3.1/panoptis/protect/pipeline.py +1493 -0
- panoptis-0.3.1/panoptis/protect/pqc_attestation.py +464 -0
- panoptis-0.3.1/panoptis/protect/rag_sanitizer.py +185 -0
- panoptis-0.3.1/panoptis/protect/rbac.py +946 -0
- panoptis-0.3.1/panoptis/protect/registry.py +62 -0
- panoptis-0.3.1/panoptis/protect/stego_neutralizer.py +182 -0
- panoptis-0.3.1/panoptis/protect/support.py +208 -0
- panoptis-0.3.1/panoptis/protect/taint_tracker.py +152 -0
- panoptis-0.3.1/panoptis/protect/temporal_simulator.py +615 -0
- panoptis-0.3.1/panoptis/protect/threats.py +234 -0
- panoptis-0.3.1/panoptis/protect/transactor.py +100 -0
- panoptis-0.3.1/panoptis/protect/wasi_sandbox.py +374 -0
- panoptis-0.3.1/panoptis/protocol/__init__.py +1 -0
- panoptis-0.3.1/panoptis/protocol/badge.py +81 -0
- panoptis-0.3.1/panoptis/protocol/benchmark.py +104 -0
- panoptis-0.3.1/panoptis/protocol/mcp_server.py +295 -0
- panoptis-0.3.1/panoptis/protocol/schema_v1.py +132 -0
- panoptis-0.3.1/panoptis/provenance/__init__.py +0 -0
- panoptis-0.3.1/panoptis/provenance/ambiguity.py +103 -0
- panoptis-0.3.1/panoptis/provenance/lineage.py +268 -0
- panoptis-0.3.1/panoptis/query/__init__.py +0 -0
- panoptis-0.3.1/panoptis/query/engine.py +368 -0
- panoptis-0.3.1/panoptis/query/workspace.py +360 -0
- panoptis-0.3.1/panoptis/reasoning/__init__.py +8 -0
- panoptis-0.3.1/panoptis/reasoning/adversarial.py +97 -0
- panoptis-0.3.1/panoptis/reasoning/auditor.py +359 -0
- panoptis-0.3.1/panoptis/reasoning/benchmark.py +148 -0
- panoptis-0.3.1/panoptis/reasoning/calibration.py +109 -0
- panoptis-0.3.1/panoptis/reasoning/dual_eval.py +73 -0
- panoptis-0.3.1/panoptis/reasoning/explainer.py +88 -0
- panoptis-0.3.1/panoptis/reasoning/fingerprint.py +105 -0
- panoptis-0.3.1/panoptis/reasoning/goal_drift.py +86 -0
- panoptis-0.3.1/panoptis/reasoning/hallucination.py +122 -0
- panoptis-0.3.1/panoptis/reasoning/quality.py +117 -0
- panoptis-0.3.1/panoptis/reasoning/semantic_drift.py +92 -0
- panoptis-0.3.1/panoptis/reasoning/trust_score.py +132 -0
- panoptis-0.3.1/panoptis/replay/__init__.py +68 -0
- panoptis-0.3.1/panoptis/replay/causal_scoring.py +186 -0
- panoptis-0.3.1/panoptis/replay/counterfactual.py +459 -0
- panoptis-0.3.1/panoptis/replay/divergence.py +293 -0
- panoptis-0.3.1/panoptis/replay/engine.py +499 -0
- panoptis-0.3.1/panoptis/replay/interventions.py +219 -0
- panoptis-0.3.1/panoptis/replay/invariants.py +310 -0
- panoptis-0.3.1/panoptis/replay/shadow.py +649 -0
- panoptis-0.3.1/panoptis/rollback/__init__.py +11 -0
- panoptis-0.3.1/panoptis/rollback/engine.py +507 -0
- panoptis-0.3.1/panoptis/runs/__init__.py +0 -0
- panoptis-0.3.1/panoptis/runs/segment.py +157 -0
- panoptis-0.3.1/panoptis/runtime/__init__.py +0 -0
- panoptis-0.3.1/panoptis/runtime/engine.py +472 -0
- panoptis-0.3.1/panoptis/runtime/killswitch.py +7 -0
- panoptis-0.3.1/panoptis/scoring/__init__.py +15 -0
- panoptis-0.3.1/panoptis/scoring/confidence.py +354 -0
- panoptis-0.3.1/panoptis/scoring/drift.py +170 -0
- panoptis-0.3.1/panoptis/scoring/silence.py +143 -0
- panoptis-0.3.1/panoptis/security/__init__.py +6 -0
- panoptis-0.3.1/panoptis/security/abuse_detection.py +97 -0
- panoptis-0.3.1/panoptis/security/checkout.py +50 -0
- panoptis-0.3.1/panoptis/security/egress.py +7 -0
- panoptis-0.3.1/panoptis/security/entitlement_store.py +96 -0
- panoptis-0.3.1/panoptis/security/exfiltration.py +125 -0
- panoptis-0.3.1/panoptis/security/license.py +176 -0
- panoptis-0.3.1/panoptis/security/owasp.py +191 -0
- panoptis-0.3.1/panoptis/security/payloads.json +72 -0
- panoptis-0.3.1/panoptis/security/redaction.py +193 -0
- panoptis-0.3.1/panoptis/security/redteam.py +224 -0
- panoptis-0.3.1/panoptis/security/report.py +125 -0
- panoptis-0.3.1/panoptis/security/sandbox.py +153 -0
- panoptis-0.3.1/panoptis/security/shield.py +7 -0
- panoptis-0.3.1/panoptis/security/webhook_signing.py +140 -0
- panoptis-0.3.1/panoptis/sensors/__init__.py +58 -0
- panoptis-0.3.1/panoptis/sensors/base.py +215 -0
- panoptis-0.3.1/panoptis/sensors/claude_code/__init__.py +109 -0
- panoptis-0.3.1/panoptis/sensors/groq_sensor.py +388 -0
- panoptis-0.3.1/panoptis/sensors/langchain/__init__.py +418 -0
- panoptis-0.3.1/panoptis/sensors/legacy/__init__.py +0 -0
- panoptis-0.3.1/panoptis/sensors/legacy/translator.py +177 -0
- panoptis-0.3.1/panoptis/sensors/llm_clients.py +168 -0
- panoptis-0.3.1/panoptis/sensors/mcp.py +48 -0
- panoptis-0.3.1/panoptis/sensors/mcp_error.py +74 -0
- panoptis-0.3.1/panoptis/sensors/native/__init__.py +3 -0
- panoptis-0.3.1/panoptis/sensors/native/launch.py +76 -0
- panoptis-0.3.1/panoptis/sensors/native/recorder.py +493 -0
- panoptis-0.3.1/panoptis/sensors/openrouter_sensor.py +421 -0
- panoptis-0.3.1/panoptis/sensors/otel/__init__.py +223 -0
- panoptis-0.3.1/panoptis/state/__init__.py +0 -0
- panoptis-0.3.1/panoptis/state/latent.py +215 -0
- panoptis-0.3.1/panoptis/storage/__init__.py +23 -0
- panoptis-0.3.1/panoptis/storage/hyperedge.py +417 -0
- panoptis-0.3.1/panoptis/storage/migration.py +189 -0
- panoptis-0.3.1/panoptis/storage/schema.py +381 -0
- panoptis-0.3.1/panoptis/storage/store.py +1833 -0
- panoptis-0.3.1/panoptis/tasks.py +120 -0
- panoptis-0.3.1/panoptis/telemetry/__init__.py +1 -0
- panoptis-0.3.1/panoptis/telemetry/collector.py +271 -0
- panoptis-0.3.1/panoptis/telemetry/execution_logger.py +189 -0
- panoptis-0.3.1/panoptis/telemetry/exporter.py +139 -0
- panoptis-0.3.1/panoptis/telemetry/otel.py +653 -0
- panoptis-0.3.1/panoptis/tracing/__init__.py +8 -0
- panoptis-0.3.1/panoptis/tracing/audit.py +136 -0
- panoptis-0.3.1/panoptis/tracing/collector.py +367 -0
- panoptis-0.3.1/panoptis/tracing/live.py +149 -0
- panoptis-0.3.1/panoptis/tracing/otel.py +1 -0
- panoptis-0.3.1/panoptis/tracing/sampling.py +128 -0
- panoptis-0.3.1/panoptis/tracing/spans.py +186 -0
- panoptis-0.3.1/panoptis/tracing/trajectory.py +147 -0
- panoptis-0.3.1/panoptis/validation/__init__.py +0 -0
- panoptis-0.3.1/panoptis/validation/schema_validator.py +36 -0
- panoptis-0.3.1/pyproject.toml +191 -0
- panoptis-0.3.1/scripts/check_imports.py +113 -0
- panoptis-0.3.1/tests/benchmarks/test_awbench_sufficiency.py +196 -0
- panoptis-0.3.1/tests/causality/test_confidence_decay.py +377 -0
- panoptis-0.3.1/tests/circuit_breaker/test_cli_config.py +175 -0
- panoptis-0.3.1/tests/circuit_breaker/test_loop_detector.py +142 -0
- panoptis-0.3.1/tests/cli_surface.txt +852 -0
- panoptis-0.3.1/tests/conftest.py +44 -0
- panoptis-0.3.1/tests/contracts/test_evidence_sufficiency.py +214 -0
- panoptis-0.3.1/tests/contracts/test_happens_before_order.py +658 -0
- panoptis-0.3.1/tests/contracts/test_irreversible_invariants.py +273 -0
- panoptis-0.3.1/tests/contracts/test_mfotl_engine.py +419 -0
- panoptis-0.3.1/tests/contracts/test_out_of_order_simulation.py +333 -0
- panoptis-0.3.1/tests/contracts/test_sequence_gaps.py +575 -0
- panoptis-0.3.1/tests/contracts/test_streaming_evaluator.py +388 -0
- panoptis-0.3.1/tests/e2e_claude/test_claude_code_hook_e2e.py +131 -0
- panoptis-0.3.1/tests/e2e_dashboard/__init__.py +0 -0
- panoptis-0.3.1/tests/e2e_dashboard/test_dashboard_e2e.py +304 -0
- panoptis-0.3.1/tests/eval/test_retrieval_drift.py +146 -0
- panoptis-0.3.1/tests/integration/__init__.py +0 -0
- panoptis-0.3.1/tests/integration/test_connectivity.py +42 -0
- panoptis-0.3.1/tests/load/.gitignore +3 -0
- panoptis-0.3.1/tests/load/locustfile.py +171 -0
- panoptis-0.3.1/tests/load/run_load_test.sh +24 -0
- panoptis-0.3.1/tests/memory/test_memory_diff.py +137 -0
- panoptis-0.3.1/tests/monitoring/test_context_guard.py +450 -0
- panoptis-0.3.1/tests/orchestration/test_handoff_deadlock.py +86 -0
- panoptis-0.3.1/tests/protect/conftest.py +64 -0
- panoptis-0.3.1/tests/protect/mcp_fixtures/fake_server.py +79 -0
- panoptis-0.3.1/tests/protect/test_academic_frontier.py +198 -0
- panoptis-0.3.1/tests/protect/test_academic_frontier_v2.py +230 -0
- panoptis-0.3.1/tests/protect/test_approvals_lifecycle.py +349 -0
- panoptis-0.3.1/tests/protect/test_claude_hook.py +288 -0
- panoptis-0.3.1/tests/protect/test_cli_deployment.py +346 -0
- panoptis-0.3.1/tests/protect/test_counterfactual.py +163 -0
- panoptis-0.3.1/tests/protect/test_deep_audit_remediation.py +300 -0
- panoptis-0.3.1/tests/protect/test_discovery.py +403 -0
- panoptis-0.3.1/tests/protect/test_emergency_controls.py +540 -0
- panoptis-0.3.1/tests/protect/test_enclave_attestation.py +96 -0
- panoptis-0.3.1/tests/protect/test_enforce.py +372 -0
- panoptis-0.3.1/tests/protect/test_evidence_integrity.py +420 -0
- panoptis-0.3.1/tests/protect/test_formal_verifier.py +192 -0
- panoptis-0.3.1/tests/protect/test_framework_integrations.py +552 -0
- panoptis-0.3.1/tests/protect/test_generic_and_direct.py +242 -0
- panoptis-0.3.1/tests/protect/test_ifc_lattice.py +121 -0
- panoptis-0.3.1/tests/protect/test_integrations_mock.py +370 -0
- panoptis-0.3.1/tests/protect/test_intent_grounding.py +438 -0
- panoptis-0.3.1/tests/protect/test_kernel_sandbox.py +71 -0
- panoptis-0.3.1/tests/protect/test_loop_detection.py +382 -0
- panoptis-0.3.1/tests/protect/test_mcp_gateway.py +668 -0
- panoptis-0.3.1/tests/protect/test_output_inspection.py +263 -0
- panoptis-0.3.1/tests/protect/test_protect_api.py +312 -0
- panoptis-0.3.1/tests/protect/test_protect_tool.py +193 -0
- panoptis-0.3.1/tests/protect/test_rbac.py +467 -0
- panoptis-0.3.1/tests/protect/test_single_boundary.py +115 -0
- panoptis-0.3.1/tests/protect/test_stego_neutralizer.py +64 -0
- panoptis-0.3.1/tests/protect/test_support_matrix.py +47 -0
- panoptis-0.3.1/tests/protect/test_threat_analysis.py +284 -0
- panoptis-0.3.1/tests/protect/test_wasi_sandbox.py +154 -0
- panoptis-0.3.1/tests/replay/test_shadow_replay.py +577 -0
- panoptis-0.3.1/tests/security/test_anti_tamper.py +112 -0
- panoptis-0.3.1/tests/security/test_egress_guard.py +120 -0
- panoptis-0.3.1/tests/security/test_secret_redactor.py +141 -0
- panoptis-0.3.1/tests/sensors/test_groq_sensor.py +312 -0
- panoptis-0.3.1/tests/sensors/test_langchain_sensor.py +283 -0
- panoptis-0.3.1/tests/sensors/test_mcp_error.py +184 -0
- panoptis-0.3.1/tests/sensors/test_openrouter_sensor.py +348 -0
- panoptis-0.3.1/tests/storage/test_hyperedge_store.py +310 -0
- panoptis-0.3.1/tests/telemetry/test_otel_bridge.py +239 -0
- panoptis-0.3.1/tests/test_abuse_detection.py +93 -0
- panoptis-0.3.1/tests/test_adapter_claude_code.py +81 -0
- panoptis-0.3.1/tests/test_adapter_crewai.py +263 -0
- panoptis-0.3.1/tests/test_adapter_generic.py +105 -0
- panoptis-0.3.1/tests/test_adapter_langchain.py +92 -0
- panoptis-0.3.1/tests/test_alerting.py +73 -0
- panoptis-0.3.1/tests/test_api_abuse.py +40 -0
- panoptis-0.3.1/tests/test_api_auth.py +164 -0
- panoptis-0.3.1/tests/test_api_entitlement.py +191 -0
- panoptis-0.3.1/tests/test_api_key_compare.py +31 -0
- panoptis-0.3.1/tests/test_api_safety_check.py +173 -0
- panoptis-0.3.1/tests/test_architecture.py +70 -0
- panoptis-0.3.1/tests/test_attention_scatter.py +269 -0
- panoptis-0.3.1/tests/test_attest_keys.py +124 -0
- panoptis-0.3.1/tests/test_audit_persistence.py +143 -0
- panoptis-0.3.1/tests/test_auditor_transparency.py +84 -0
- panoptis-0.3.1/tests/test_blast_radius_causal.py +92 -0
- panoptis-0.3.1/tests/test_blast_radius_regression.py +115 -0
- panoptis-0.3.1/tests/test_channels.py +147 -0
- panoptis-0.3.1/tests/test_circuit_breaker.py +489 -0
- panoptis-0.3.1/tests/test_cli_animator.py +100 -0
- panoptis-0.3.1/tests/test_cli_api_key.py +181 -0
- panoptis-0.3.1/tests/test_cli_check_env.py +15 -0
- panoptis-0.3.1/tests/test_cli_compare.py +114 -0
- panoptis-0.3.1/tests/test_cli_export.py +213 -0
- panoptis-0.3.1/tests/test_cli_prune.py +95 -0
- panoptis-0.3.1/tests/test_cli_redteam.py +82 -0
- panoptis-0.3.1/tests/test_cli_rollback.py +82 -0
- panoptis-0.3.1/tests/test_cli_server.py +64 -0
- panoptis-0.3.1/tests/test_cli_share.py +120 -0
- panoptis-0.3.1/tests/test_cli_status.py +108 -0
- panoptis-0.3.1/tests/test_cli_surface.py +149 -0
- panoptis-0.3.1/tests/test_cli_upgrade.py +171 -0
- panoptis-0.3.1/tests/test_cli_version.py +34 -0
- panoptis-0.3.1/tests/test_cli_watch.py +56 -0
- panoptis-0.3.1/tests/test_compliance.py +311 -0
- panoptis-0.3.1/tests/test_concurrency_perf.py +86 -0
- panoptis-0.3.1/tests/test_consensus_empty_proposals.py +58 -0
- panoptis-0.3.1/tests/test_core.py +536 -0
- panoptis-0.3.1/tests/test_coroutine_detection.py +158 -0
- panoptis-0.3.1/tests/test_cost.py +287 -0
- panoptis-0.3.1/tests/test_cost_reporting.py +157 -0
- panoptis-0.3.1/tests/test_cost_router.py +123 -0
- panoptis-0.3.1/tests/test_counterfactual_l3_replay.py +655 -0
- panoptis-0.3.1/tests/test_db_failure.py +35 -0
- panoptis-0.3.1/tests/test_deep_audit_ecosystem.py +77 -0
- panoptis-0.3.1/tests/test_deploy_security.py +196 -0
- panoptis-0.3.1/tests/test_docs_commands.py +76 -0
- panoptis-0.3.1/tests/test_eval_runner.py +236 -0
- panoptis-0.3.1/tests/test_exfil_bypass_coverage.py +72 -0
- panoptis-0.3.1/tests/test_fingerprint_midsession_guard.py +73 -0
- panoptis-0.3.1/tests/test_gdpr_erasure.py +250 -0
- panoptis-0.3.1/tests/test_governance_commit_revalidation.py +58 -0
- panoptis-0.3.1/tests/test_graph_query.py +123 -0
- panoptis-0.3.1/tests/test_hipaa_patterns.py +42 -0
- panoptis-0.3.1/tests/test_hitl.py +428 -0
- panoptis-0.3.1/tests/test_http_forwarder_backoff.py +50 -0
- panoptis-0.3.1/tests/test_license.py +171 -0
- panoptis-0.3.1/tests/test_memory.py +380 -0
- panoptis-0.3.1/tests/test_memory_erasure.py +185 -0
- panoptis-0.3.1/tests/test_migration.py +66 -0
- panoptis-0.3.1/tests/test_models.py +39 -0
- panoptis-0.3.1/tests/test_monetization.py +178 -0
- panoptis-0.3.1/tests/test_monitoring.py +63 -0
- panoptis-0.3.1/tests/test_multiagent.py +290 -0
- panoptis-0.3.1/tests/test_observability.py +325 -0
- panoptis-0.3.1/tests/test_openai_agents_adapter.py +140 -0
- panoptis-0.3.1/tests/test_owasp_harness.py +131 -0
- panoptis-0.3.1/tests/test_owasp_security.py +61 -0
- panoptis-0.3.1/tests/test_package_exports.py +54 -0
- panoptis-0.3.1/tests/test_panopti_attest.py +216 -0
- panoptis-0.3.1/tests/test_panopti_cli.py +105 -0
- panoptis-0.3.1/tests/test_panopti_contracts.py +86 -0
- panoptis-0.3.1/tests/test_panopti_court.py +59 -0
- panoptis-0.3.1/tests/test_panopti_guard.py +91 -0
- panoptis-0.3.1/tests/test_panopti_mesh.py +47 -0
- panoptis-0.3.1/tests/test_panopti_replay.py +93 -0
- panoptis-0.3.1/tests/test_panopti_synth.py +58 -0
- panoptis-0.3.1/tests/test_persistence_failures.py +162 -0
- panoptis-0.3.1/tests/test_pipeline.py +399 -0
- panoptis-0.3.1/tests/test_platform.py +259 -0
- panoptis-0.3.1/tests/test_policy_loader.py +162 -0
- panoptis-0.3.1/tests/test_pqc_stark_attestation.py +165 -0
- panoptis-0.3.1/tests/test_protocol.py +220 -0
- panoptis-0.3.1/tests/test_rate_limiter_redis.py +134 -0
- panoptis-0.3.1/tests/test_rate_limiting.py +177 -0
- panoptis-0.3.1/tests/test_rbac_audit.py +112 -0
- panoptis-0.3.1/tests/test_rce_output_flag_bypass.py +70 -0
- panoptis-0.3.1/tests/test_reasoning.py +316 -0
- panoptis-0.3.1/tests/test_reasoning_style_fingerprint.py +163 -0
- panoptis-0.3.1/tests/test_redaction.py +163 -0
- panoptis-0.3.1/tests/test_redteam.py +104 -0
- panoptis-0.3.1/tests/test_redteam_automation.py +101 -0
- panoptis-0.3.1/tests/test_release_check.py +120 -0
- panoptis-0.3.1/tests/test_request_limits.py +194 -0
- panoptis-0.3.1/tests/test_rollback.py +62 -0
- panoptis-0.3.1/tests/test_router.py +102 -0
- panoptis-0.3.1/tests/test_run_cmd.py +163 -0
- panoptis-0.3.1/tests/test_safety.py +970 -0
- panoptis-0.3.1/tests/test_sandbox.py +241 -0
- panoptis-0.3.1/tests/test_schema_validation.py +186 -0
- panoptis-0.3.1/tests/test_semantic_caching.py +137 -0
- panoptis-0.3.1/tests/test_semantic_drift_empty_anchor.py +52 -0
- panoptis-0.3.1/tests/test_server.py +339 -0
- panoptis-0.3.1/tests/test_session_erasure_tenancy.py +263 -0
- panoptis-0.3.1/tests/test_shadow_filesystem.py +262 -0
- panoptis-0.3.1/tests/test_sync_safety.py +111 -0
- panoptis-0.3.1/tests/test_tasks_and_alerting.py +81 -0
- panoptis-0.3.1/tests/test_telemetry.py +486 -0
- panoptis-0.3.1/tests/test_telemetry_exporter.py +251 -0
- panoptis-0.3.1/tests/test_temporal_simulator.py +212 -0
- panoptis-0.3.1/tests/test_tenancy_resolver.py +71 -0
- panoptis-0.3.1/tests/test_tenant_auth_memory.py +87 -0
- panoptis-0.3.1/tests/test_tenant_store_sql.py +279 -0
- panoptis-0.3.1/tests/test_verify_env.py +17 -0
- panoptis-0.3.1/tests/test_watcher.py +377 -0
- panoptis-0.3.1/tests/test_watcher_fail_closed.py +361 -0
- panoptis-0.3.1/tests/test_webhook_signing.py +186 -0
- panoptis-0.3.1/tests/v3/conftest.py +30 -0
- panoptis-0.3.1/tests/v3/otlp_fixture.py +61 -0
- panoptis-0.3.1/tests/v3/test_analysis.py +584 -0
- panoptis-0.3.1/tests/v3/test_api.py +162 -0
- panoptis-0.3.1/tests/v3/test_api_parity.py +147 -0
- panoptis-0.3.1/tests/v3/test_architecture_contracts.py +132 -0
- panoptis-0.3.1/tests/v3/test_attestation.py +456 -0
- panoptis-0.3.1/tests/v3/test_bench_cli.py +115 -0
- panoptis-0.3.1/tests/v3/test_blob_location.py +39 -0
- panoptis-0.3.1/tests/v3/test_cli_tenant_scope.py +50 -0
- panoptis-0.3.1/tests/v3/test_contracts_api.py +227 -0
- panoptis-0.3.1/tests/v3/test_entity_aliases.py +107 -0
- panoptis-0.3.1/tests/v3/test_entropy.py +226 -0
- panoptis-0.3.1/tests/v3/test_erasure.py +119 -0
- panoptis-0.3.1/tests/v3/test_evidence.py +173 -0
- panoptis-0.3.1/tests/v3/test_graph_invariants.py +263 -0
- panoptis-0.3.1/tests/v3/test_incremental.py +192 -0
- panoptis-0.3.1/tests/v3/test_information_lineage.py +365 -0
- panoptis-0.3.1/tests/v3/test_killswitch.py +243 -0
- panoptis-0.3.1/tests/v3/test_lab_cli.py +239 -0
- panoptis-0.3.1/tests/v3/test_merkle.py +287 -0
- panoptis-0.3.1/tests/v3/test_normalizers.py +431 -0
- panoptis-0.3.1/tests/v3/test_normalizers_genai_mcp.py +672 -0
- panoptis-0.3.1/tests/v3/test_panopti_demo.py +57 -0
- panoptis-0.3.1/tests/v3/test_postgres_store.py +114 -0
- panoptis-0.3.1/tests/v3/test_profiles.py +29 -0
- panoptis-0.3.1/tests/v3/test_real_models.py +134 -0
- panoptis-0.3.1/tests/v3/test_recursive_proof.py +85 -0
- panoptis-0.3.1/tests/v3/test_regressions.py +118 -0
- panoptis-0.3.1/tests/v3/test_retention.py +99 -0
- panoptis-0.3.1/tests/v3/test_rule_presets.py +240 -0
- panoptis-0.3.1/tests/v3/test_schema_upgrade.py +67 -0
- panoptis-0.3.1/tests/v3/test_seal_reports.py +228 -0
- panoptis-0.3.1/tests/v3/test_shredding.py +243 -0
- panoptis-0.3.1/tests/v3/test_tenant_isolation_api.py +396 -0
- panoptis-0.3.1/tests/v3/test_themes.py +138 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
|
|
4
|
+
*.pyc
|
|
5
|
+
*.pyo
|
|
6
|
+
*.egg-info/
|
|
7
|
+
.pytest_cache/
|
|
8
|
+
.pytest-tmp/
|
|
9
|
+
.ruff_cache/
|
|
10
|
+
pytest-cache-files-*/
|
|
11
|
+
.venv/
|
|
12
|
+
venv/
|
|
13
|
+
dist/
|
|
14
|
+
build/
|
|
15
|
+
|
|
16
|
+
# Coverage (pytest --cov)
|
|
17
|
+
.coverage
|
|
18
|
+
coverage.json
|
|
19
|
+
coverage.xml
|
|
20
|
+
htmlcov/
|
|
21
|
+
site/
|
|
22
|
+
|
|
23
|
+
# Node
|
|
24
|
+
node_modules/
|
|
25
|
+
**/node_modules/
|
|
26
|
+
|
|
27
|
+
# Frontend
|
|
28
|
+
frontend/node_modules/
|
|
29
|
+
agentwatch-landing/node_modules/
|
|
30
|
+
frontend/.next/
|
|
31
|
+
frontend/tsconfig.tsbuildinfo
|
|
32
|
+
|
|
33
|
+
# Environment
|
|
34
|
+
.env
|
|
35
|
+
.env.local
|
|
36
|
+
*.env
|
|
37
|
+
|
|
38
|
+
# OS
|
|
39
|
+
.DS_Store
|
|
40
|
+
Thumbs.db
|
|
41
|
+
|
|
42
|
+
# Docker
|
|
43
|
+
*.log.env.local
|
|
44
|
+
data/
|
|
45
|
+
.agents/
|
|
46
|
+
|
|
47
|
+
# graphify skill output (generated cache)
|
|
48
|
+
graphify-out/
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
The PyPI publish workflow reads the section matching the release tag from this
|
|
9
|
+
file and uses it as the GitHub Release body, so keep each version's notes here.
|
|
10
|
+
|
|
11
|
+
## [0.3.1] - 2026-11-03
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Remediated ecosystem vulnerabilities AUDIT-09 through AUDIT-14:
|
|
15
|
+
- Tenant API Key verification handles corrupted salt/hash payloads gracefully without 500 errors.
|
|
16
|
+
- Multi-tenant observation retrieval (`Store.get_observation`) strictly scopes queries by `tenant_id` to eliminate IDOR vectors.
|
|
17
|
+
- Thread-safe LRU eviction (50,000 key ceiling) and mutex synchronization on in-memory rate limiting and webhook idempotency trackers.
|
|
18
|
+
- Mitigated reverse proxy path traversal and masked upstream internal network topology in dashboard API proxy.
|
|
19
|
+
- Enforced security headers (`X-Frame-Options: DENY`, `X-Content-Type-Options: nosniff`) across frontend responses.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- Ecosystem deep audit verification test suite (`tests/test_deep_audit_ecosystem.py`).
|
|
23
|
+
- Before vs Now comparative security audit specification and Tier 0.001% benchmarks.
|
|
24
|
+
|
|
25
|
+
## [0.3.0] - 2026-10-30
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- Anti-tampering process and audit shield (`panopti.shield`, `panoptis.security.shield`): intercepts and blocks commands targeting guardians (`pkill`, `killall`) or destroying audit trails (`rm panopti.db`, truncate).
|
|
29
|
+
- Egress network and SSRF guard (`panopti.egress`, `panoptis.security.egress`): prevents SSRF and data exfiltration to private, loopback, and cloud metadata (`169.254.169.254`) ranges for HTTP tool calls.
|
|
30
|
+
- Emergency Kill Switch (`panopti.killswitch`, `panoptis.runtime.killswitch`): POSIX signal (`SIGUSR1`) & file-sentinel (`.panopti.kill`) runtime fail-closed tripwire.
|
|
31
|
+
- Deterministic shadow replay (issue #751): `panoptis.replay.shadow` replays a recorded session against a model while every tool call is answered from the recorded evidence (nothing is executed), then classifies the result as `IDENTICAL_REPLAY`, `DETERMINISTIC_CORROBORATION`, `STOCHASTIC_MODEL_DIVERGENCE` or `INSUFFICIENT_EVIDENCE`. Includes `ToolEvidenceStore`, `ShadowReplayRunner`, `PromptCompletionModel` and a `StepFn` adapter. See `docs/v3/SHADOW_REPLAY.md`.
|
|
32
|
+
- Witness attestation (issue #738): `panoptis.evidence.merkle` (domain-separated Merkle tree with `0x00` leaf and `0x01` node prefixes, inclusion proofs, standalone `verify_inclusion`), `panoptis.evidence.attestation` (self-contained signed audit token with HMAC-SHA256, optional Ed25519, and field-level hash commitments) and `panoptis.evidence.shredding` (per-subject AES-256-GCM encryption with leaf hashes over the ciphertext). See `docs/v3/WITNESS_ATTESTATION.md`.
|
|
33
|
+
- `panoptis session export` now also writes `--format jsonl` (one event per line) and `--format csv` (fixed columns `event_type, timestamp, tool_name, confidence, status, session_id` plus a `metadata_json` column), backed by the stdlib-only `panoptis.telemetry.exporter` (`export_to_jsonl`, `export_to_csv`). Text that starts with `=`, `+`, `-` or `@` is prefixed with `'` in CSV so spreadsheets do not run it as a formula (issue #769).
|
|
34
|
+
- Enterprise Telemetry (OBS-008): OTLP export of agent reasoning traces mapping to OpenTelemetry span hierarchy, ensuring compatibility with Grafana, Jaeger, and Datadog via `BatchSpanProcessor`.
|
|
35
|
+
- Scheduled red-team automation (issue #399): externalized the attack corpus to `panoptis/security/payloads.json` (loadable via `load_corpus()`), plus a Celery task `panoptis.tasks.run_redteam` that runs the red-team harness on a schedule and returns a JSON vulnerability report (bypassed = guardrails that failed).
|
|
36
|
+
- PII/PHI redaction for telemetry (issue #398, CMP-003/004): `panoptis.security.redaction` masks SSNs, emails, medical diagnoses, and similar sensitive data as `[REDACTED]` (Presidio when installed via the `redaction` extra, else the GDPR/HIPAA regex detectors). Opt-in on the watcher (`GenericAdapter(redact=True)`) scrubs tool-call payloads before they are published/persisted, plus a `GET /api/v1/governance/eu-ai-act-report` Article 15 conformity export.
|
|
37
|
+
- Cost-aware model router (`panoptis.cost.complexity_router`): scores task complexity and routes to the cheapest model capable of handling it — simple subtasks to cheap models (e.g. Gemini Flash), advanced models reserved for complex work — with a budget ceiling and manual override, reusing the `DEFAULT_PRICING` table.
|
|
38
|
+
- Automated red-team safety harness (`panoptis.security.redteam` + `panoptis redteam` CLI): runs a curated corpus of simulated prompt-injection, path-traversal, credential-scan, and tool-misuse attacks through the detection layer (payloads scored, never executed) and emits a structured resilience report scoring how many attacks are defended vs. bypassed.
|
|
39
|
+
- CLI `--api-key` option (with `AGENTWATCH_API_KEY` env fallback) for the `status`, `sessions`, `export`, `compare`, and `session prune` commands, sending the `X-Api-Key` header to protected API endpoints, plus consistent 401 Unauthorized messaging.
|
|
40
|
+
- Temporal decay curve manager for episodic memory: importance-weighted exponential forgetting wired into `MemoryEngine` retrieval scoring, plus `prune_decayed()` background cleanup of stale low-importance entries (critical memories persist).
|
|
41
|
+
- Locust load-test suite (`tests/load/`) simulating weighted agent traffic.
|
|
42
|
+
- Auto-updating contributors wall (scheduled workflow + `contributors.json`).
|
|
43
|
+
- PyPI auto-publish workflow on `v*` tags and a PR test/coverage workflow.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
- Refactor (`#500`): Inlined `SilenceBaseline` attributes into `SilentFailureDetector`. Reduces file complexity and removes the redundant dataclass abstraction (also addresses `#478` and `#498`).
|
|
47
|
+
|
|
48
|
+
## [0.2.0-preview] - 2026-05-27
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
- Universal `watch()` one-line agent wrapper
|
|
52
|
+
- LangGraph, AutoGen, and Smolagents adapters
|
|
53
|
+
- OpenAI Agents adapter support
|
|
54
|
+
- Independent reasoning auditor (12 features)
|
|
55
|
+
- Safety engine with OWASP Agentic Top 10 checks
|
|
56
|
+
- Multi-agent causal DAG for failure tracing
|
|
57
|
+
- Causal memory graph (cross-session reasoning trails)
|
|
58
|
+
- 9 new frontend dashboard pages
|
|
59
|
+
- 205 test cases passing
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
- CORS wildcard + credentials bypass vulnerability (CORS fix)
|
|
63
|
+
- Hardcoded database password fallback to prevent unauthenticated database access (DB password hardening)
|
|
64
|
+
- `publish_sync` logging for silent exception drops
|
|
65
|
+
- Duplicate module tree import failures on startup
|
|
66
|
+
|
|
67
|
+
## [0.1.0] - 2026-05-22
|
|
68
|
+
|
|
69
|
+
### Added
|
|
70
|
+
- Initial release of AgentWatch core features
|
|
71
|
+
- Core architecture components: `watch()`, `SafetyEngine`, `EventBus`, FastAPI REST server, and Next.js dashboard UI
|
|
72
|
+
- `SafetyEngine` equipped with 40+ destructive command/query pattern detectors
|
|
73
|
+
- Independent reasoning auditor to verify reasoning steps pre-execution
|
|
74
|
+
- Live real-time WebSocket dashboard stream
|
|
75
|
+
- Git-backed session checkpointing and one-click rollback
|
|
76
|
+
- Claude Code, LangChain, and AutoGPT adapters
|
|
77
|
+
- 47 test cases passing
|
panoptis-0.3.1/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|