بنقرة واحدة
certificate-transparency
Queries CT logs for certificates and extracts SANs for subdomain discovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Queries CT logs for certificates and extracts SANs for subdomain discovery
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Systematic IDOR / BOLA hunting methodology. Use when testing any endpoint that accepts an ID, UUID, slug, filename, or reference to a user-owned object.
SQL injection hunting methodology across error-based, union, blind boolean, and time-based variants. Use when testing any input that might reach a database.
SSRF hunting methodology with OOB detection via interactsh, cloud metadata targets, and blind SSRF techniques. Use on any feature that accepts a URL, hostname, or external reference.
XSS hunting methodology — reflected, stored, and DOM — with context-aware payloads. Use when testing any input that could reach a browser.
OWASP Top 10 (2021) and API Top 10 (2023) quick reference with attack patterns, test ideas, and CWE mappings. Load when hunting, code-reviewing for security, or writing bug bounty reports.
Bug bounty report generation — structure, triager-friendly writing, CVSS scoring, and chain reporting. Use when finalizing a finding for submission.
| name | certificate-transparency |
| description | Queries CT logs for certificates and extracts SANs for subdomain discovery |
| tools | Bash, WebFetch |
| model | inherit |
| hooks | {"PreToolUse":[{"matcher":"WebFetch","hooks":[{"type":"command","command":"../../../hooks/skills/pre_rate_limit_hook.sh"}]}],"PostToolUse":[{"matcher":"WebFetch","hooks":[{"type":"command","command":"../../../hooks/skills/post_skill_logging_hook.sh"}]}]} |
Query Certificate Transparency logs to discover certificates issued for a domain, extract Subject Alternative Names (SANs), and identify internal naming conventions.
Query crt.sh for all certificates matching a domain.
Endpoint:
GET https://crt.sh/?q=%25.{domain}&output=json
Request Headers:
User-Agent: TechStackAgent/1.0
Accept: application/json
Process:
Response Fields:
{
"issuer_ca_id": 183267,
"issuer_name": "C=US, O=Let's Encrypt, CN=R3",
"common_name": "example.com",
"name_value": "example.com\nwww.example.com\napi.example.com",
"id": 1234567890,
"entry_timestamp": "2024-01-15T10:30:00.000",
"not_before": "2024-01-15T09:00:00",
"not_after": "2024-04-15T09:00:00",
"serial_number": "abc123..."
}
Parse Subject Alternative Names from certificate data.
Process:
Example:
Input: "example.com\n*.example.com\napi.example.com\nwww.example.com"
Output: ["example.com", "api.example.com", "www.example.com"]
Analyze SANs to detect internal naming conventions.
Pattern Detection:
patterns = {
"environment_prefix": r"^(prod|staging|dev|test|qa|uat)-",
"environment_suffix": r"-(prod|staging|dev|test|qa|uat)$",
"numbered_instances": r"(\d+)$",
"geo_prefix": r"^(us|eu|apac|asia|emea|latam)-",
"service_pattern": r"^(api|app|web|cdn|static|assets)-"
}
Example Output:
{
"patterns": [
{
"type": "environment_prefix",
"regex": "^(prod|staging|dev)-",
"matches": ["prod-api", "staging-api", "dev-api"]
},
{
"type": "geo_prefix",
"regex": "^(us|eu)-",
"matches": ["us-east-api", "eu-west-api"]
}
]
}
Identify wildcard certificate usage.
Process:
Wildcard Analysis:
{
"wildcards": [
{
"pattern": "*.example.com",
"scope": "root_domain",
"certificates_count": 5,
"latest_issue": "2024-01-15"
},
{
"pattern": "*.api.example.com",
"scope": "subdomain",
"certificates_count": 2,
"latest_issue": "2024-01-10"
}
]
}
{
"skill": "certificate_transparency",
"domain": "string",
"results": {
"certificates": [
{
"id": "number",
"issuer": "string",
"common_name": "string",
"sans": ["array"],
"not_before": "date",
"not_after": "date",
"is_wildcard": "boolean"
}
],
"unique_subdomains": ["array"],
"naming_patterns": [
{
"type": "string",
"pattern": "string",
"examples": ["array"]
}
],
"wildcard_analysis": {
"wildcards_found": "number",
"patterns": ["array"]
},
"issuers": {
"issuer_name": "count"
}
},
"evidence": [
{
"type": "ct_certificate",
"id": "number",
"common_name": "string",
"issuer": "string",
"timestamp": "ISO-8601"
}
],
"metadata": {
"total_certificates": "number",
"unique_subdomains": "number",
"query_timestamp": "ISO-8601"
}
}
Track which CAs are used (reveals hosting/security practices):
| Issuer Pattern | Indicates |
|---|---|
| Let's Encrypt | Cost-conscious, automated cert management |
| DigiCert, Sectigo | Enterprise/compliance requirements |
| AWS Certificate Manager | AWS infrastructure |
| Cloudflare | Cloudflare CDN/proxy |
| Google Trust Services | GCP infrastructure |