feat(security): deterministic ActionBoundary & hash-chained action ledger for agent tools - #8069
Open
Ahmed Hassan (AAH20) wants to merge 1 commit into
Open
feat(security): deterministic ActionBoundary & hash-chained action ledger for agent tools#8069Ahmed Hassan (AAH20) wants to merge 1 commit into
Ahmed Hassan (AAH20) wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
ActionBoundary,ActionGate, andActionLedgertoautogen_core.securityto provide deterministic execution boundaries, non-destructive simulation fallbacks, and append-only SHA-256 hash-chained compliance action ledgers for Microsoft AutoGen agent tools and workbenches.Problem Solved
When autonomous agent swarms in Microsoft AutoGen execute tools or workbench actions against cloud resources, databases, and APIs, treating LLM output confidence as execution authorization introduces acute operational risks (un-gated state mutations, rogue agent loops) and enterprise compliance blockers (failing SOC 2 Type II, ISO 42001, and NIST AI RMF audit controls).
This contribution enforces:
READ,WRITE_IDEMPOTENT,WRITE_MUTATING, andDESTRUCTIVE.simulation_mode: True) without performing unintended state mutations.receipt_hash) linking previous hashes for verifiable auditability.AAG_KILL_SWITCH=1orartifacts/KILL).Testing & Validation
python/packages/autogen-core/tests/test_action_gate.pyverifying:Upstream & Commercial Context
Maintained by A2Z SOC for enterprise AI runtime governance and compliance audit readiness.
For teams deploying autonomous AutoGen agent swarms requiring AI safety audits or ISO 42001 / SOC 2 readiness sprints: