Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.9 KiB

API Reference: OAuth Scope Minimization Review

Microsoft Graph API

Endpoint Method Description
/v1.0/servicePrincipals GET List enterprise applications
/v1.0/oauth2PermissionGrants GET List delegated permission grants
/v1.0/oauth2PermissionGrants/{id} PATCH Update (reduce) grant scopes
/v1.0/oauth2PermissionGrants/{id} DELETE Revoke entire grant
/v1.0/servicePrincipals/{id}/appRoleAssignments GET Application permission assignments
/v1.0/auditLogs/signIns GET Sign-in activity for usage analysis

Authentication

POST https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
grant_type=client_credentials
client_id=<app_id>
client_secret=<secret>
scope=https://graph.microsoft.com/.default

Required Permissions

Permission Type Purpose
Application.Read.All Application Read service principals
OAuth2PermissionGrant.ReadWrite.All Application Read/modify grants
AuditLog.Read.All Application Read sign-in usage data

Scope Risk Classification

Risk Level Review Frequency Examples
Critical Monthly Directory.ReadWrite.All, Mail.ReadWrite
High Quarterly Mail.Read, Files.Read.All, User.Read.All
Medium Semi-annually Calendars.Read, Files.ReadWrite
Low Annually User.Read, openid, profile, email

Python Libraries

Library Version Purpose
requests >=2.28 Microsoft Graph API HTTP requests

References