跳到正文
cccskills
免费在 GitHub 公开

risk-discovery

Passive, pattern-calibrated risk discovery for authorized security research over an open-source project, repository URL, dependency, release, or local checkout. Use when the security research agent needs to find highest-risk areas, map attack surface, identify likely bug-hunting targets, prioritize security review, inspect structural/logical/security-critical code, compare vulnerable versus patched versions, reason from broad high-severity vulnerability families, or remember areas of interest for later attack-chain research.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md9.0 KB
  • references/cvss10-backsolve.md7.7 KB
  • references/risk-taxonomy.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Risk Discovery

Use this product-side skill to find the highest-risk areas in a Target without active exploitation. Produce durable Security Signals and Hypotheses that later research turns can use to connect structural weaknesses, logic flaws, and security-critical behavior into plausible attack chains. See GLOSSARY.md for shared terms.

Read risk-taxonomy.md before scoring a new Target or when the user asks why an area is high risk. Read cvss10-backsolve.md before the first pass over a new Target, when doing broad high-severity rediscovery, or when calibrating whether the process covers critical precursor families.

Handoffs: Use bug-hunt-planner to turn ranked areas into experiments. Use reverse-engineering-analysis for binary, bundle, or patch-diff work. Use exploitation-sandbox only after a Hypothesis needs approved local validation.

For services accepting document, image, audio/video or archive uploads, apply the upload processing audit baseline. Trace intake through delayed or optional processing and actual native dependencies; include its chain inventory, control assessment and unresolved edges in the review output. This applies even when the upload handler only stores bytes.

Ground Rules

  • Stay passive unless the user explicitly approves active probes, exploit checks, mutation, downloads, shelling into live targets, or destructive calls; active work requires target authorization plus a matching durable approval (docs/durable-approvals.md).
  • Treat the provided repository or local checkout as authorized scope only. All network fetches — the repo URL itself, cloning, advisory or registry lookups, version checks — are network operations needing explicit approval or satisfied durable authorization; local checkout analysis is the passive default. Do not pivot to third-party services, real deployments, package registries, or cloud resources unless authorization is explicit.
  • Do not produce weaponized exploit instructions. Stop at vulnerable area, bug class, data/control-flow evidence, and safe validation ideas.
  • Preserve uncertainty. Distinguish observed code facts from hypotheses and likely attack-chain opportunities.
  • Keep examples generic. Do not inject target-specific benchmark answers, known vulnerable paths, exact payload strings, CVE root-cause prose, patch hunks, or previous eval findings into the plan unless the user explicitly asked for known-issue replay.

Workflow

  1. Scope the target. Identify repo URL, local path, requested version/hash, language/ecosystem, public-facing surfaces, and whether the task is broad discovery or CVE-style rediscovery. When the starting point is a CVE or patch rather than a broad risk question, start from proactive-security-strategy instead; this skill owns broad structural risk ranking over a Target.
  2. Check memory first. Look for prior project memories, risk maps, package notes, advisories, previous high-risk files, and unresolved hypotheses. Reuse stable facts; update stale assumptions.
  3. Build the system map. Read manifests, routing/entrypoints, service boundaries, config, auth/middleware, plugin systems, serialization formats, storage layers, job runners, admin surfaces, and test fixtures.
  4. Sweep Discovery Lanes. For broad target scanning, sample across input handling; access control and auth/session; information disclosure and debug; exposed files/directories; and browser/API security posture before deepening one area. Aim for 3-5 distinct Evidence-backed lanes when the Target supports them, and put unsupported lanes in Open Questions.
  5. Find structural risk. Prioritize chokepoints: parsers, protocol handlers, request dispatch, auth gates, plugin loading, template rendering, sandboxing, shell/process execution, file/archive handling, deserialization, SSRF-capable fetchers, package/model loading, and cross-tenant state.
  6. Find logical risk. Look for state-machine gaps, inconsistent authorization checks, confused deputy flows, trust-boundary collapse, TOCTOU, hidden default behavior, partial validation, fallback paths, migration compatibility code, and feature interactions that make a harmless primitive dangerous.
  7. Find critical areas. Flag authN/authZ, destructive actions, asymmetric behavior, admin/support features, import/export, backup/restore, webhooks, credentials/secrets, signing/verification, sandbox escapes, dependency install/build steps, and any code path that writes files, spawns processes, evaluates code, or changes privileges.
  8. Backsolve against high-severity precursor families. Use the casebook to ask whether this Target has analogous primitives: deserialization of untrusted data, server component/protocol decoding, model or object loading, command construction, auth/audit bypasses, sandbox setup, filesystem mounts, archive extraction, path construction, user/account/role creation, permission checks, plugin/workflow execution, and privileged background jobs.
  9. Check patch and drift signals. If the repo has releases or a suspected vulnerable range, inspect nearby commits for security-shaped changes that are not clearly documented: new sanitizers, deny-lists, escaping, auth middleware, path normalization, deserialization guards, sandbox hardening, removed debug endpoints, permission checks, and changes with vague messages like "fix edge case".
  10. Rank and remember. Score candidates with the taxonomy. Record any measured or directly seen behavior as a Research Observation via security-observation-intake (record_observation), register measured outputs as Artifacts through the Evidence Interface (src/server/evidence/artifact-service.ts), and store the top areas of interest as concise memory cards that cite those Observation/Artifact IDs — cards are pointers, not evidence owners.

Memory Cards

When memory is available, write or update one card per top area:

Risk area: <short stable name>
Target: <repo/package/version or local path>
Files/functions: <specific symbols or paths>
Risk class: <structural | logical | critical | patch-drift>
Discovery lane: <input handling | access control/auth/session | information disclosure/debug | exposed files/directories | browser/API security posture | other>
Trust boundary: <who controls input/state and what code trusts it>
Why it matters: <one or two concrete facts>
Attack-chain hooks: <safe, non-exploit primitives this could combine with>
Validation idea: <passive or sandbox-only check>
Status: <confirmed | likely | speculative> (glossary Signal labels)
Area status: <active-area | confirmed-area | deprioritized>
Evidence citations: <Observation/Artifact IDs backing the card>
Updated: <YYYY-MM-DD>

Use stable category names like server-protocol-reference-deserialization or webhook-parser-prototype-pollution. Do not store secrets, exploit payloads, live credentials, or unrelated user data.

Output

Return:

  • Scope: repo/path, version/hash, constraints, and whether analysis was passive-only.
  • Top Areas: ranked table with area, paths, risk class, score, evidence, and next safe validation step.
  • Discovery Lane Coverage: which broad lanes have Evidence-backed Signals and which remain open questions.
  • Precursor Coverage: which high-severity precursor families were investigated, which files/symbols matched them, and which families had no obvious analogue.
  • Memory Cards: the high-signal cards created or updated.
  • Patch-Drift Signals: suspicious or security-relevant undocumented changes, if any.
  • Deprioritized Areas: notable surfaces that looked risky but had clear guards.
  • Open Questions: missing scope, authorization, runtime config, or data needed for deeper validation.

Useful Search Patterns

Start broad, then trace call sites:

rg -n "auth|authorize|permission|role|admin|token|session|jwt|saml|oauth|acl"
rg -n "exec|spawn|shell|eval|Function\(|deserialize|pickle|yaml\.load|template|render"
rg -n "upload|download|import|export|backup|restore|archive|zip|tar|path|filename"
rg -n "webhook|callback|plugin|extension|mcp|tool|connector|workflow|node"
rg -n "sandbox|isolate|mount|chroot|namespace|uid|gid|useradd|role|policy|audit|log"
rg -n "TODO|FIXME|HACK|compat|legacy|fallback|bypass|sanitize|escape|normalize"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan and use user-consented local camera and microphone observations for an explicitly authorized physical target. Use when a capture can establish a bounded physical-state observation such as whether a test fixture changed state, an instrument reading changed, or equipment noise changed relatively.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

Plan vulnerability research using conventional bug-hunting and pentest stage names, specialty playbooks, and a research-hypothesis-experiment loop. Use when designing a bug bounty workflow, selecting tools and strategies, building a decision tree, or turning a target/scope into a staged hunting plan.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

Passive code-review lane for authorized repositories, local checkouts, uploaded source archives, and diffs. Use when the security research agent needs deterministic candidate discovery before expensive AI investigation, scoped PR-style review, append-only evidence records, or independent revalidation of code findings.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

Run independent, task-matched expert attempts, select a base, and synthesize the strongest result.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

Select established CTF and security-research tools for authorized artifact triage, web inspection, reversing, crypto, forensics, networking, and exploit validation. Use when a user provides a CTF-style tool catalog, asks which tools to use, or needs safe usage instructions for common offensive/security tools.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

diagnose

免费

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

中文简介正在准备中。当前显示原文说明。

justsml/ExploitHunter.app142026年10月17日 更新

查看 justsml 的全部技能

报告此技能的问题