ikooky/velric-agent / skills/velric
velric
VerifiedWeb 应用攻击面测绘与越权检测工具链(velric-agent CLI)。覆盖子域/端口/敏感路径/CORS/WAF 指纹侦察、 SPA/MPA 接口枚举、无头运行时流量录制、前端权限树重建、鉴权面差分(authz-replay/role-matrix/IDOR/mass-assign)、 JWT/GraphQL/Header/Verb 绕过、PII 与凭据泄漏扫描。纯 Node 本地执行,无 LLM 依赖。 触发关键词:攻击面测绘、接口枚举、越权、IDOR、未授权访问、水平垂直越权、参数探测、隐藏参数、 权限树、流量录制、CORS、敏感路径、WAF 指纹、sourcemap 泄漏、JWT 攻击、GraphQL 鉴权、mass assignment、PII 扫描。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 18.2 KB |
| references/exploitation-chains.md | markdown | 4.7 KB |
| references/workflow.md | markdown | 6.0 KB |
references/exploitation-chains.md
View on GitHub# 利用链(exploitation chains)
数据驱动打法链:trigger(finding 关键词)→ required_findings(前置)→ steps(工具+成功判据+阴性对照)。
阴性对照 = 什么结果**证伪**假设(防一厢情愿串联)。工具全部为 `velric-agent <subcommand>`。
## spa_sourcemap_leak(severity: high)
- 触发: sourcemap, source map
- 步骤:
1. `sourcemaps` — recover original sources
- 成功判据: recovered > 0 sources written under sourcemap-recovered/
- 阴性对照: sourcesContent stripped (missing > 0, recovered == 0)
2. `harvest` — scan recovered source for secrets
- 成功判据: credential pairs found in recovered tree
- 阴性对照: recovered sources are library code only
## sensitive_path_exposure(severity: high)
- 触发: backup, dump, archive
- 步骤:
1. `dir-fuzz` — find backup candidates
- 成功判据: 200/403 hits on backup suffixes (backups preset)
- 阴性对照: soft-404 calibration collapses all candidates
2. `backup-unpack` — unpack any found archive
- 成功判据: archive unpacked with > 0 files
- 阴性对照: candidate is a soft-404 page
## git_exposure(severity: critical)
- 触发: .git
- 步骤:
1. `http-probe` — probe .git HEAD
- 成功判据: HEAD reachable (ref: refs/heads/…)
- 阴性对照: 403/404 on HEAD
2. `git-restore` — restore repository
- 成功判据: >= 1 commit object recovered
- 阴性对照: directory listing only, objects pruned
## idor_suspect_chain(severity: high)
- 触发: idor, bola
- 前置: idor-suspect
- 步骤:
1. `idor-deep` — deepen suspect with three-reference oracle
- 成功判据: idor-confirmed / idor-confirmed-identity verdict with oracle sims
- 阴性对照: public-or-unprotected (anonymous ≈ attacker ⇒ endpoint is public)
2. `authz-replay` — replay recorded traffic under low-priv credentials
- 成功判据: bypassed cells with marker or fingerprint evidence
- 阴性对照: anonymous third state downgrades to public-endpoint
## jwt_oracle_chain(severity: high)
- 触发: jwt
- 前置: jwt-usage
- 步骤:
1. `jwt-attack` — collect and decode tokens
- 成功判据: tokens found with claims extracted
- 阴性对照: no tokens in corpus (secrets/js/traffic)
2. `jwt-attack` — run differential attacks
- 成功判据: any attack verdict that is not inconclusive
- 阴性对照: baseline non-2xx ⇒ all attacks inconclusive (dead oracle)
## secret_leak_chain(severity: critical)
- 触发: secret, credential, api key
- 步骤:
1. `harvest` — pair-scan corpora for credential pairs
- 成功判据: id+secret co-window confirmed pairs
- 阴性对照: isolated key-id only (weak signal, unconfirmed)
2. `harvest` — attribute leaked PII to endpoints
- 成功判据: PII kinds mapped to exchanges
- 阴性对照: blobs contain no personal data kinds
## mass_assign_chain(severity: critical)
- 触发: mass assignment, privilege field
- 前置: mass-assign-sink
- 步骤:
1. `mass-assign` — verify sink persistence with re-read
- 成功判据: injected field persists on re-read (apply mode)
- 阴性对照: 2xx but re-read shows original value (no binding)
## smuggle_chain(severity: high)
- 触发: smuggling, cl.te, te.cl
- 前置: smuggle-suspect
- 步骤:
1. `smuggle-probe` — differential smuggle probes
- 成功判据: status/time divergence vs baseline on conflict headers
- 阴性对照: baseline unreachable ⇒ skip (no false differential)
## oob_confirmation(severity: high)
- 触发: blind, oob, ssrf-suspect
- 前置: ssrf-suspect
- 步骤:
1. `oob-confirm` — fire nonce hosts and poll
- 成功判据: DNS/HTTP interaction on unique callback host
- 阴性对照: zero interactions in window (blind stays suspected)
## ws_origin_chain(severity: medium)
- 触发: websocket, cross-origin ws
- 前置: ws-reachable
- 步骤:
1. `ws-origin-check` — origin check
- 成功判据: handshake accepted with foreign Origin
- 阴性对照: 403 on foreign Origin
## takeover_chain(severity: high)
- 触发: dangling cname, takeover
- 前置: dangling-cname
- 步骤:
1. `subdomains` — match provider fingerprints
- 成功判据: NXDOMAIN/ cname → provider fingerprint match
- 阴性对照: cname resolves to live origin (no takeover surface)
## cache_poisoning_surface(severity: high)
- 触发: unkeyed header, cache
- 步骤:
1. `mine-params` — bucket-bisect hidden headers
- 成功判据: header-kind param found with junk-anagram control passing
- 阴性对照: every candidate also reacts to junk anagram (input-allergic endpoint)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |