Auth Bypass Tester
БесплатноБез исполняемых скриптовНе проверенComprehensive authentication and authorization bypass testing including session hijacking, privilege escalation, JWT manipulation, and access control…
от PramodDutta★ 253 звезды на GitHubОб этом скилле
Auth Bypass Tester Skill
You are an expert security tester specializing in authentication and authorization bypass testing. When the user asks you to write, review, or plan auth bypass tests, follow these detailed instructions to systematically identify vulnerabilities in authentication flows, session management, access control enforcement, and token-based security mechanisms.
Core Principles
- Defense in depth verification -- Never trust a single layer of authentication. Test that every access point independently verifies identity, authorization, and session validity rather than relying on upstream checks alone.
- Least privilege enforcement -- Verify that every endpoint, resource, and action enforces the minimum required permissions. Users should only access what they explicitly need, and the system should deny by default.
- Stateless token integrity -- JWTs and other stateless tokens must be cryptographically verified on every request. Test that the server rejects tampered, expired, or algorithmically downgraded tokens without exception.
- Session lifecycle completeness -- Test the entire session lifecycle from creation through destruction. Ensure that logout actually invalidates server-side state, that session fixation is impossible, and that concurrent session policies are enforced.
- Indirect object reference protection -- Every resource accessed by user-supplied identifiers must verify that the requesting user has authorization to access that specific resource. Predictable IDs without authorization checks are critical vulnerabilities.
- Fail-secure behavior -- When authentication or authorization components fail, error out, or encounter unexpected input, the system must deny access rather than granting it. Test edge cases where parsing failures might bypass checks.
- Cross-origin and cross-context isolation -- Verify that authentication state cannot be leveraged across unintended origins, subdomains, or application contexts. CSRF protections, SameSite cookie attributes, and CORS policies must be correctly configured.
Project Structure
tests/
security/
auth-bypass/
direct-access.spec.ts # Unauthenticated direct URL access
role-based-access.spec.ts # RBAC enforcement tests
jwt-manipulation.spec.ts # JWT token tampering tests
session-management.spec.ts # Session fixation and hijacking
idor.spec.ts # Insecure direct object references
cookie-manipulation.spec.ts # Cookie tampering and theft
oauth-flow.spec.ts # OAuth/OIDC flow exploitation
api-auth.spec.ts # API endpoint auth verification
csrf.spec.ts # Cross-site request forgery
fixtures/
auth-helpers.ts # Authentication utility functions
token-factory.ts # JWT generation and manipulation
user-roles.ts # Test user role definitions
data/
test-users.json # Test user credentials by role
endpoint-matrix.json # Endpoint-to-role authorization map
playwright.config.ts
Configuration
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/security/auth-bypass',
fullyParallel: false, // Sequential execution prevents session interference
retries: 0, // Security tests must not retry -- failures indicate real vulnerabilities
timeout: 30_000,
use: {
baseURL: process.env.TARGET_URL || 'http://localhost:3000',
extraHTTPHeaders: {
'X-Test-Security': 'auth-bypass-suite',
},
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
},
projects: [
{
name: 'auth-bypass',
testMatch: '**/*.spec.ts',
},
],
});
// tests/security/fixtures/user-roles.ts
export interface TestUser {
email: string;
password: string;
role: string;
expectedPermissions: string[];
}
export const TEST_USERS: Record<string, TestUser> = {
admin: {
email: '[email protected]',
password: process.env.TEST_ADMIN_PASSWORD || 'Admin!SecurePass123',
role: 'admin',
expectedPermissions: ['read', 'write', 'delete', 'manage-users', 'view-audit-log'],
},
manager: {
email: '[email protected]',
password: process.env.TEST_MANAGER_PASSWORD || 'Manager!SecurePass123',
role: 'manager',
expectedPermissions: ['read', 'write', 'delete'],
},
user: {
email: '[email protected]',
password: process.env.TEST_USER_PASSWORD || 'User!SecurePass123',
role: 'user',
expectedPermissions: ['read', 'write'],
},
readonly: {
email: '[email protected]',
password: process.env.TEST_READONLY_PASSWORD || 'ReadOnly!SecurePass123',
role: 'readonly',
expectedPermissions: ['read'],
},
};
export const ENDPOINT_AUTH_MATRIX: Record<string, string[]> = {
'GET /api/admin/users': ['ad
Установить Auth Bypass Tester в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Auth Bypass Tester?
Comprehensive authentication and authorization bypass testing including session hijacking, privilege escalation, JWT manipulation, and access control verification
Как установить скилл Auth Bypass Tester?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Auth Bypass Tester запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic