cheat-on-content
给所有想把"感觉"变成可校准预测的内容创作者。**方法论通用**——打分 → 盲预测 → T+3d 复盘 → 进化 rubric 的循环适用任何能被量化(播放 / 阅读 / 收听 / 点击)的内容。**rubric 是循环的内容,不是循环本身**——当前内置一份观点视频 rubric(参考博主 25+…
Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems.
$ npx -y skills add LiHongwei-cn/lihongwei-cn --skill broken-authentication --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/broken-authenticationContext preview
The summary Claude sees to decide when to auto-load this skill.
Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems.
name: broken-authentication description: "Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems." risk: unknown source: community author: zebbern date_added: "2026-02-27"
Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems. This skill covers testing methodologies for password policies, session handling, multi-factor authentication, and credential management.
1. **Authentication Assessment Report** - Document all identified vulnerabilities 2. **Credential Testing Results** - Brute-force and dictionary attack outcomes 3. **Session Security Analysis** - Token randomness and timeout evaluation 4. **Remediation Recommendations** - Security hardening guidance
Understand the application's authentication architecture:
# Identify authentication type - Password-based (forms, basic auth, digest) - Token-based (JWT, OAuth, API keys) - Certificate-based (mutual TLS) - Multi-factor (SMS, TOTP, hardware tokens) # Map authentication endpoints /login, /signin, /authenticate /register, /signup /forgot-password, /reset-password /logout, /signout /api/auth/*, /oauth/*
Capture and analyze authentication requests:
POST /login HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded username=test&password=test123
Evaluate password requirements and enforcement:
# Test minimum length (a, ab, abcdefgh) # Test complexity (password, password1, Password1!) # Test common weak passwords (123456, password, qwerty, admin) # Test username as password (admin/admin, test/test)
Document policy gaps: Minimum length <8, no complexity, common passwords allowed, username as password.
Test for username enumeration vulnerabilities:
# Compare responses for valid vs invalid usernames # Invalid: "Invalid username" vs Valid: "Invalid password" # Check timing differences, response codes, registration messages
"Email sent if account exists" (secure) "No account with that email" (leaks info)
{"error": "user_not_found"} {"error": "invalid_password"}
### Phase 4: Brute Force Testing Test account lockout and rate limiting: ```bash # Using Hydra for form-based auth hydra -l admin -P /usr/share/wordlists/rockyou.txt \ target.com http-post-form \ "/login:username=^USER^&password=^PASS^:Invalid credentials" # Using Burp Intruder 1. Capture login request 2. Send to Intruder 3. Set payload positions on password field 4. Load wordlist 5. Start attack 6. Analyze response lengths/codes
Check for protections:
# Account lockout - After how many attempts? - Duration of lockout? - Lockout notification? # Rate limiting - Requests per minute limit? - IP-based or account-based? - Bypass via headers (X-Forwarded-For)? # CAPTCHA - After failed attempts? - Easily bypassable?
Test with known breached credentials:
# Credential stuffing differs from brute force # Uses known email:password pairs from breaches # Using Burp Intruder with Pitchfork attack 1. Set username and password as positions 2. Load email list as payload 1 3. Load password list as payload 2 (matched pairs) 4. Analyze for successful logins # Detection evasion - Slow request rate - Rotate source IPs - Randomize user agents - Add delays between attempts
Analyze session token security:
# Capture session cookie Cookie: SESSIONID=abc123def456 # Test token characteristics 1. Entropy - Is it random enough? 2. Length - Sufficient length (128+ bits)? 3. Predictability - Sequential patterns? 4. Secure flags - HttpOnly, Secure, SameSite?
Session token analysis:
#!/usr/bin/env python3
import requests
import hashlib
# Collect multiple session tokens
tokens = []
for i in range(100):
response = requests.get("https://target.com/login")
token = response.cookies.get("SESSIONID")
tokens.append(token)
# Analyze for patterns
# Check for sequential increments
# Calculate entropy
# Look for timestamp componentsTest if session is regenerated after authentication:
# Step 1: Get session before login GET /login HTTP/1.1 Response: Set-Cookie: SESSIONID=abc123 # Step 2: Login with same session POST /login HTTP/1.1 Cookie: SESSIONID=abc123 username=valid&password=valid # Step 3: Check if session changed # VULNERABLE if SESSIONID remains abc123 # SECURE if new session assigned after login
Attack scenario:
# Attacker workflow: 1. Attacker visits site, gets session: SESSIONID=attacker_session 2. Attacker sends link to victim with fixed session: https://target.com/login?SESSIONID=attacker_session 3. Victim logs in with attacker's session 4. Attacker now has authenticated session
Verify session expiration policies:
# Test idle timeout 1. Login and note session cookie 2. Wait without
MUNDO - THE EMPEROR. Complete AI orchestration system with 1208 skills, 25 capability modules, self-evolving, collective consciousness. GitHub Actions 24/7 automation.
Repo: LiHongwei-cn/lihongwei-cn
给所有想把"感觉"变成可校准预测的内容创作者。**方法论通用**——打分 → 盲预测 → T+3d 复盘 → 进化 rubric 的循环适用任何能被量化(播放 / 阅读 / 收听 / 点击)的内容。**rubric 是循环的内容,不是循环本身**——当前内置一份观点视频 rubric(参考博主 25+…
提议并执行 rubric 或 bucket 升级。两种模式:**完整 rubric bump**(最高风险动作,5 步强制 + 跨模型审核)和 **--bucket-only 轻量重校**(只换 bucket 边界,不动 rubric 公式)。**Phase 2 强制走 cheat-score-blind…
cheat-on-content 的首次 onboarding 与脚手架创建器。统一流程——所有用户都走相同 5 阶段闭环,唯一区别是"发过视频的人"会在 init 时多一步:抓取已有视频建立历史 context(用于后续 cheat-seed 给更贴合的选题、更准的…
从对标账号导入 script + 数据 → 拆 pattern + 派生 base rubric 信号 → 写到 benchmark.md / script_patterns.md / rubric_notes.md。**这是工具最早期信号的来源**——cold-start…
把老用户的 .cheat-state.json 升级到当前 schema_version。读 migrations/registry.md 算迁移链,按顺序应用每一步迁移文件。幂等:跑两次结果一样。失败停在中间版本不前进。触发词:"迁移"/"升级 state"/"migrate"/"我的 state…
从复盘评论数据派生 / 刷新账号的受众画像,写入 audience.md。这是和 rubric 平行的第二个派生物——rubric 答"怎么打分",persona 答"谁在看"。cheat-seed 选题 / 写稿时读它。**audience.md 含实绩信号,cheat-score-blind…