817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Python ai-agentsclaude-codecloud-securitycybersecuritydevsecopsethical-hackingincident-responseinfosecllmmalware-analysismcpmitre-attacknist-csfosintpenetration-testingred-teamsecuritysecurity-automationthreat-huntingthreat-intelligence
OAuth 2.0 Authorization Flow — API Reference
Libraries
| Library | Install | Purpose |
|---|---|---|
| requests | pip install requests |
HTTP client for OAuth endpoints |
| authlib | pip install authlib |
Full OAuth 2.0 / OIDC client library |
| PyJWT | pip install PyJWT[crypto] |
JWT token validation and inspection |
OIDC Discovery Endpoint
GET {issuer}/.well-known/openid-configuration
Returns: authorization_endpoint, token_endpoint, jwks_uri, supported grant types, scopes.
OAuth 2.0 Grant Types
| Grant Type | Use Case | Security |
|---|---|---|
| authorization_code | Server-side apps | Recommended with PKCE |
| client_credentials | Machine-to-machine | Service accounts only |
| implicit | (DEPRECATED) SPAs | Avoid — tokens in URL fragment |
| password | (DEPRECATED) Legacy | Avoid — credentials exposed to client |
| urn:ietf:params:oauth:grant-type:device_code | IoT/CLI | Approved for limited-input devices |
Security Best Practices
| Practice | RFC |
|---|---|
| PKCE (Proof Key for Code Exchange) | RFC 7636 |
| Token Binding | RFC 8471 |
| DPoP (Demonstrating Proof of Possession) | RFC 9449 |
| Sender-Constrained Tokens | OAuth 2.0 Security BCP |