跳到正文
cccskills
免费在 GitHub 公开

target-recon

Target discovery methodology for finding high-quality npm/PyPI/GitHub packages to audit for vulnerabilities, with evaluation criteria and search strategies.

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

集成工具GitHub
查看安装方法

包含的文件(3)

  • SKILL.md4.6 KB
  • references/parallel-scanning.md1.5 KB
  • references/search-queries.md2.4 KB

SKILL.md(原文)

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

Target Recon -- Finding High-Quality Audit Targets

When to Use

Starting a new research cycle. Need fresh targets with high CVE potential but low existing researcher attention.

Target Sweet Spot

The ideal target is a package that:

  • Is widely used (>100K weekly downloads on npm)
  • Handles untrusted input (parsing, validation, file processing)
  • Is small enough to audit in a day (< 10K lines of code)
  • Has few existing CVEs (< 5)
  • Is actively maintained (last commit within 6 months)
  • Has 500-15K GitHub stars

Avoid

  • Mega-packages (lodash, axios, moment, express, django, rails) -- too many researchers
  • Full frameworks (Next.js, Nuxt, Laravel) -- too large, too audited
  • >20K stars AND >10 prior CVEs -- over-audited territory
  • Abandoned packages (no commits in 2+ years) -- CVE may not be assigned
  • Alpha/beta packages -- maintainer may not issue CVE

Search Strategies

npm Search

# Search by category
npm search xml parser
npm search csv parse
npm search template engine
npm search file upload
npm search schema validator

# Check weekly downloads on npmjs.com
# Look for packages with 100K-10M weekly downloads

GitHub Search

# Search repos by language and star count
gh search repos "xml parser" --language javascript --stars 500..15000
gh search repos "yaml" --language python --stars 500..10000
gh search repos "template engine" --language javascript --stars 500..15000
gh search repos "archive extract" --language go --stars 500..10000

grep.app (Cross-Repo Code Search)

Search for vulnerable patterns across many repos:

https://grep.app/search?q=new%20Function&regexp=false&filter[lang][0]=JavaScript
https://grep.app/search?q=eval%28&regexp=false&filter[lang][0]=JavaScript

Libraries.io

Check dependency counts -- packages depended on by many other packages have higher impact.

Category-Based Targeting

Highest Yield Categories

CategoryVulnerability ClassesExample Packages
Parsing (XML/CSV/YAML)Entity expansion, ReDoS, clobberingfast-xml-parser, csv-parse, js-yaml
Validation/SchemaCode injection, ReDoS, proto pollutionajv, joi, fastest-validator
Template EnginesSSTI, code injectionejs, nunjucks, handlebars, pug
Archive/CompressionZip Slip, decompression bomb, path traversaladm-zip, decompress, fflate
File HandlingPath traversal, symlink attacksexpress-fileupload, formidable
Deep Merge/CloneProto pollution, recursion DoSdeepmerge, rfdc, klona
Expression EvaluatorsSandbox escape, code injectionsimpleeval, expr-eval, filtrex
HTTP ClientsSSRF, header injection, auth leakgot, superagent, needle
SerializationClobbering, code injection, recursionflatted, superjson, msgpackr
URL/Path UtilitiesSSRF bypass, path traversalurl-parse, normalize-url

Evaluation Process

For each candidate:

  1. Check Registry: Is it already in REGISTRY.md?
  2. Check NVD: Search for existing CVEs
  3. Check GitHub Advisories: Look at security tab
  4. Read README: Does it warn about untrusted input?
  5. Check SECURITY.md: Does the project accept security reports?
  6. Read recent CHANGELOG: Any "security fix" entries? (incomplete patches are goldmines)
  7. Check HackerOne/bug bounty: Bonus, not required
  8. Estimate attack surface: What untrusted input does it process?
  9. Match to vuln classes: Which skills apply?

Brief Template

Write a brief for each approved target:

# Target Brief: [package-name]

- **GitHub**: [URL]
- **Stars**: [count]
- **Weekly Downloads**: [count]
- **Last Commit**: [date]
- **Language**: [JS/Python/Go/etc.]

## Attack Surface
- [What untrusted input does it process?]

## Existing CVEs
- [none / list with CVE IDs]

## Bug Bounty
- [yes/no + link]

## Top 3 Vectors
1. [Most likely vulnerability class + why]
2. [Second most likely]
3. [Third most likely]

## Why Promising
[1-2 sentences on why this target is worth investigating]

References

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

You are helping a penetration tester exploit misconfigured Active Directory

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

ajtazer/heckit22026年10月7日 更新

You are helping a penetration tester enumerate an Active Directory domain and

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

ajtazer/heckit22026年10月7日 更新

You are helping a penetration tester establish persistent access in Active

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

ajtazer/heckit22026年10月7日 更新

You are helping a penetration tester exploit ADCS through template/CA access

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

ajtazer/heckit22026年10月7日 更新

You are helping a penetration tester establish persistence through AD CS

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

ajtazer/heckit22026年10月7日 更新

You are helping a penetration tester exploit misconfigured AD CS certificate

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

ajtazer/heckit22026年10月7日 更新

查看 ajtazer 的全部技能

报告此技能的问题