Current collected state Current
Observed since 20 Oct, 22:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Sensitivity Ratchet SDK — irreversible permission narrowing for AI agents
Sensitivity Ratchet SDK — irreversible permission narrowing for AI agents.
pip install agent-iam-ratchet
With framework integrations:
pip install 'agent-iam-ratchet[langchain]'
pip install 'agent-iam-ratchet[crewai]'
pip install 'agent-iam-ratchet[openai-agents]'
from agent_iam_ratchet import RatchetSession, Sensitivity
session = RatchetSession(scopes=["read:*", "write:*", "delete:*", "execute:*"])
# Agent reads a confidential document
session.access(Sensitivity.CONFIDENTIAL)
print(session.effective_scopes)
# {'read:*', 'write:*'} — delete and execute permanently removed
# Agent reads restricted data
session.access(Sensitivity.RESTRICTED)
print(session.effective_scopes)
# {'read:*'} — only reads remain
# Irreversible — even accessing public data won't restore permissions
session.access(Sensitivity.PUBLIC)
print(session.effective_scopes)
# {'read:*'} — still read-only
AI agents that access sensitive data can exfiltrate it by writing to lower-sensitivity channels. The sensitivity ratchet prevents this by permanently narrowing permissions after sensitive data access.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 2 Apr 2026 | 7 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:11 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5e97722eb4f2d70196390e64ec8c55fa8aa8cbd014aa777ec352530a7a2e32bf