Agent skill / SnailSploit
### offensive-oauth
Core file
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionoffensive-oauthExecute the skills CLI command in your project's root directory to begin installation:
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-oauthFetches offensive-oauth from SnailSploit/Claude-Red and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate offensive-oauth. Access via /offensive-oauthin your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Copy the command for your terminal
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-oauthWorks with
OAuth 2.0 attack checklist: authorization code interception, redirect_uri bypass, CSRF on OAuth flow, state parameter abuse, open redirector chaining, token leakage via Referer, PKCE bypass, and scope escalation. Use when testing OAuth implementations in web apps or bug bounty.
Use this skill when the conversation involves any of:
OAuth, OAuth 2.0, authorization code, redirect_uri bypass, OAuth CSRF, state parameter, PKCE bypass, scope escalation, token leakage, open redirector, OAuth attack
When this skill is active:
private_key_jwt or mTLS client authentication for confidential clientscode_verifier must be required and validated.nonce is present and matched; state should be unguessable and tied to session.redirect_uri exact match: Enforce exact string match against pre-registered allowlist; no wildcards/path traversal.aud/azp/iss enforcement: Validate tokens strictly, including clock skew and JWKS kid rotation behavior.token_type and audience.response_type=tokenresponse_type=code id_token for additional securityprivate_key_jwt or MTLS requiredgraph TD
User[Resource Owner] -->|Initiates flow| Client
Client -->|Authorization Request| AuthServer[Authorization Server]
AuthServer -->|Authentication| User
User -->|Approves access| AuthServer
AuthServer -->|Authorization Code| Client
Client -->|Code + Client Secret| AuthServer
AuthServer -->|Access Token| Client
Client -->|Access Token| ResourceServer[Resource Server]
ResourceServer -->|Protected Resource| Client
style User fill:#b7b,stroke:#333,color:#333
style Client fill:#aae,stroke:#333,color:#333
style AuthServer fill:#9f9,stroke:#333,color:#333
style ResourceServer fill:#e9a,stroke:#333,color:#333
__Host- prefix with HttpOnly; Secure; SameSite.response_type=code/authorization?client_id=12345&redirect_uri=https://client-app.com/callback&response_type=code&scope=openid%20profile&state=ae13d489bd00e3c24/callback?code=a1b2c3d4e5f6g7h8&state=ae13d489bd00e3c24sequenceDiagram
participant User
participant Client
participant AuthServer as Authorization Server
participant API as Resource Server
User->>Client: 1. Click "Login with Service"
Client->>AuthServer: 2. Authorization Request (response_type=code)
AuthServer->>User: 3. Login & Consent
User->>AuthServer: 4. Approves Access
AuthServer->>Client: 5. Redirect with Authorization Code
Client->>AuthServer: 6. Token Request (code + client_secret)
AuthServer->>Client: 7. Access & Refresh Tokens
Client->>API: 8. API Request + Access Token
API->>Client: 9. Protected Resource
response_type=token/authorization?client_id=12345&redirect_uri=https://client-app.com/callback&response_type=token&scope=openid%20profile&state=ae13d489bd00e3c24/callback#access_token=z0y9x8w7v6u5&token_type=Bearer&expires_in=5000&scope=openid%20profile&state=ae13d489bd00e3c24sequenceDiagram
participant User
participant Client as Client (Browser)
participant AuthServer as Authorization Server
participant API as Resource Server
User->>Client: 1. Click "Login with Service"
Client->>AuthServer: 2. Authorization Request (response_type=token)
AuthServer->>User: 3. Login & Consent
User->>AuthServer: 4. Approves Access
AuthServer->>Client: 5. Redirect with Access Token in Fragment
Note over Client: Token stored in browser
Client->>API: 6. API Request + Access Token
API->>Client: 7. Protected Resource
state parameter in auth requestsOpen Redirect → Authorization Code Theft:
CSRF → Account Linking Attack:
XSS → Token Theft:
Token Exchange → Service Impersonation:
Scope Elevation → Privilege Escalation:
IdP Confusion → Cross-Tenant Access:
JWT Algorithm Confusion → Signature Bypass:
SSRF via redirect_uri → Internal Service Access:
Token Replay → Session Hijacking:
Implement OAuth 2.1: Adopt latest security recommendations
Enforce state parameter: Always required, cryptographically random, single-use
Validate token claims strictly:
aud (audience): Must match resource serveriss (issuer): Verify against known issuersexp (expiration): Enforce with clock skew tolerance (max 60s)nbf (not before): Validate if presentSecure token storage:
__Host- prefix or memory-only storageHttpOnly; Secure; SameSite=Strict/par endpointPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
SnailSploit/Claude-Red
offensive-oauth fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added offensive-oauth from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Registry listing for offensive-oauth matched our evaluation — installs cleanly and behaves as described in the markdown.
offensive-oauth has been reliable in day-to-day use. Documentation quality is above average for community skills.
Solid pick for teams standardizing on skills: offensive-oauth is focused, and the summary matches what you get after install.
offensive-oauth reduced setup friction for our internal harness; good balance of opinion and flexibility.
offensive-oauth has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for offensive-oauth matched our evaluation — installs cleanly and behaves as described in the markdown.
offensive-oauth reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: offensive-oauth is focused, and the summary matches what you get after install.
showing 1-10 of 34