[Idea]: Integration Exploration: TealTiger × OWASP Agent Memory Guard #39
Replies: 3 comments 2 replies
-
|
Hi @nagasatish007 — this is exactly the right framing. The two-layer split (provenance + governance in TealTiger, enforcement boundary in Agent Memory Guard) maps cleanly to how the OWASP ASI06 spec separates the classification problem from the enforcement problem. Let me address your five questions directly: 1. Interface contract — what does Agent Memory Guard need from TealTiger? The minimum useful handoff is: from agent_memory_guard import MemoryGuard, ScanContext
guard = MemoryGuard()
# TealTiger provides provenance context
context = ScanContext(
source_class=tealtiger_entry.source_class, # e.g. "tool_output_external"
trust_tier=tealtiger_entry.trust_tier, # e.g. 2 (untrusted)
lineage=tealtiger_entry.lineage # optional, for audit trail
)
result = guard.scan(content, context=context)This allows Agent Memory Guard to apply stricter injection detection thresholds for 2. Decision flow — independent or sequential? I'd suggest sequential with veto: TealTiger evaluates governance policy first (allow/deny/sanitize), and if TealTiger allows, Agent Memory Guard enforces at the boundary. Either layer can block independently. This avoids coupling the two systems while still allowing TealTiger's richer provenance context to inform Agent Memory Guard's scan sensitivity. 3. Evidence merging — unified record? Yes — a shared evidence envelope would be valuable for audit trails and OWASP AISVS C10 compliance. Proposed structure: {
"timestamp": "2026-05-25T00:00:00Z",
"content_hash": "sha256:...",
"tealtiger": {
"source_class": "tool_output_external",
"trust_tier": 2,
"governance_decision": "ALLOW_WITH_SANITIZATION",
"lineage": ["web_fetch", "model_summary"]
},
"agent_memory_guard": {
"scan_result": "CLEAN",
"threat_types_checked": ["injection", "secrets", "tampering"],
"integrity_hash": "sha256:..."
},
"final_decision": "WRITTEN"
}4. OWASP alignment Agent Memory Guard is the ASI06 reference implementation. TealTiger's provenance layer would be a strong candidate for the upstream trust-classification component — this could be proposed to the OWASP Agentic AI working group as a reference architecture for the full ASI06 defense stack. 5. Technical format Middleware chain is the cleanest integration point — it preserves both systems' independence while allowing the provenance context to flow through. A shared context object (as in the code above) passed through the chain would work well. Happy to draft a reference integration PR against both repos and a joint technical post. What's the best way to coordinate — async here, or a sync call? |
Beta Was this translation helpful? Give feedback.
-
|
@nagasatish007 — thanks for the detailed writeup, the architecture thinking is solid. |
Beta Was this translation helpful? Give feedback.
-
|
This direction makes sense, especially keeping the first output conceptual instead of locking either project into an API too early. One thing that may make the joint post more concrete is a small scenario-to-evidence table for ASI06. For example:
That would keep the article practical while still avoiding premature interface commitments. The API can change later, but the evidence model and responsibility split would be clear for readers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your Idea
Following a conversation with @vgudur-dev(OWASP Agent Memory Guard maintainer), we're exploring how TealTiger and Agent Memory Guard can work together as complementary layers in the memory governance stack.
The Natural Split
How They Complement Each Other
Agent Memory Guard is enforcement-first:
TealTiger (TealMemory) is provenance-first:
The Integration Opportunity
Together, the pipeline could look like:
Questions to Explore
Reference
Next Steps
cc @vaishnavigudur — looking forward to exploring this together.
Category
New Feature
What problem does this solve?
No response
Potential Impact
No response
Implementation Thoughts
No response
Examples or References
No response
Beta Was this translation helpful? Give feedback.
All reactions