SkillsReviewed · mukul975

Analyzing TLS Certificate Transparency Logs

Analyzing TLS Certificate Transparency Logs is an AI assistant skill for security analysts and Python developers, but its script can miss lookalike domains outside the target domain. It provides crt.sh query examples and Python code for examining domain names, certificate issuers, recent certificate dates and wildcard certificates.

Researched 16 Nov 2026

In short.

Analyzing TLS Certificate Transparency Logs is an AI assistant skill for defenders investigating certificate records, but its bundled script offers limited coverage of lookalike domains. The command-line script queries crt.sh for the target domain's subdomains, applies spelling comparisons and issuer checks, and writes a JSON report. Its handling of certificate names, wildcard names and timestamps needs careful review before operational use. No code was executed; detection accuracy, dependency compatibility and live service availability are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

The supplied evidence covers the entire selected skill folder: SKILL.md, references/api-reference.md, scripts/agent.py and its LICENSE, plus the repository LICENSE as a related notice. The analysis is bound to revision 54a798831d2266a3ca61ce68a7acb80b81160d57. Other repository content, dependency source, external services and assistant hosts are outside this assessment. No installation, code execution, live query, streaming session or detection evaluation was performed. The downloadable instruction file does not replace the companion script and reference in the original folder.

The overview

Identity

The resource is the analyzing-tls-certificate-transparency-logs skill folder in mukul975/Anthropic-Cybersecurity-Skills. It contains SKILL.md, a Python command-line script, an API reference and a local license. SKILL.md declares version 1.0, author mahipal and the security-operations subdomain.

The original folder at the supplied revision is available at [https://github.com/mukul975/Anthropic-Cybersecurity-Skills/tree/54a798831d2266a3ca61ce68a7acb80b81160d57/skills/analyzing-tls-certificate-transparency-logs]. The supplied files do not establish an official Anthropic affiliation.

Assessment

The clearest use is as a readable starting point for certificate inventory and analyst triage. The instructions explain the intended investigation, while the script exposes the query, comparison rules and report structure.

The advertised phishing-monitoring scope exceeds the implementation. The script searches the chosen domain's subdomains rather than independently discovering similarly spelled domains across the internet. It also performs a single report-producing run; continuous monitoring, alert delivery and phishing-infrastructure cross-referencing are not implemented in the supplied script.

Users

The documented audience includes security operations analysts, incident investigators and threat hunters. Developers maintaining an organization's domain inventory could also adapt the visible Python functions for defensive certificate analysis.

Beginners need some security operations knowledge and help interpreting results. A similar name or an unexpected certificate authority is an investigation lead; neither finding alone establishes phishing or unauthorized issuance. Experienced developers should expect to improve domain parsing, result coverage and operational handling.

Capabilities

The script exposes search, typosquat, unauthorized_ca, monitor and full_scan actions, with full_scan as the default. It collects certificate records, counts them, identifies selected wildcard names, compares names for spelling similarity and checks issuers against an allowed list.

The default issuer list contains Let's Encrypt, DigiCert, Sectigo, Amazon and Google Trust Services. A command-line argument can replace that list. The JSON report can contain spelling matches, unexpected issuers, records whose parsed not_before value exceeds the calculated 24-hour cutoff, and wildcard certificates.

Separate helper functions demonstrate pycrtsh searches and certificate-detail retrieval. The reference also includes lookup by certificate ID or hash and a certstream callback example; these additional examples are not integrated into the command-line workflow.

Using it

Requirements

SKILL.md specifies Python 3.8 or newer, security operations familiarity, a test or lab environment and appropriate authorization. The script imports requests and pycrtsh, so both packages must be available even though the main command-line path uses direct HTTP requests.

Direct script use requires network access to [https://crt.sh/] and permission to write the output file. The optional streaming example requires certstream. Dependency versions, supported operating systems, assistant-host compatibility and host registration instructions are not specified.

Mechanism

The command-line entry point requests JSON from crt.sh using the pattern %. followed by the supplied domain. It applies a 30-second HTTP timeout and raises an error for unsuccessful HTTP status codes. Every action collects the initial record count and wildcard findings.

Spelling analysis takes the target's first domain label and compares it with the first label of each chosen certificate name. Levenshtein distance counts single-character insertions, deletions and substitutions. The default rule retains distances from one through three and sorts matches by distance.

Issuer analysis uses case-insensitive substring matching against the allowed names. Recent-certificate analysis repeats the domain query and filters not_before timestamps. Wildcard analysis checks whether the chosen name begins with *. The script uses deterministic Python rules and contains no language-model call.

Setup

For direct script use, acquire the original skill folder, prepare a Python 3.8 or newer environment, and install requests and pycrtsh. Keep SKILL.md, references/api-reference.md and scripts/agent.py together when obtaining the complete resource. These are preparation steps inferred from the files; no installation was performed.

For assistant use, consult the chosen host's skill-loading instructions. The supplied resource does not document a host-specific installation procedure. Before operational use, configure an issuer list that reflects the organization's actual policy rather than assuming the broad defaults represent approval.

Example

An illustrative command from the skill folder is: python scripts/agent.py --domain example.com --action full_scan --output ct_report.json. This command was not executed.

Based on the source, the script would query %.example.com and attempt to write domain, generated_at and findings fields. Findings include total_certificates, typosquatting, unauthorized_cas, recent_24h and wildcard_certs. Actual counts and results are unknown.

This example does not independently search a separate lookalike such as examp1e.com. That gap matters when deciding whether the resource covers a brand-protection task.

Assessment & evidence

Limitations

The domain query limits discovery, and the spelling comparison uses only the first label. The code prefers common_name over name_value and does not split multiple alternative names into individual candidates. For a wildcard name such as *.example.com, its first-label parsing produces an empty comparison string. These behaviors can omit relevant names or produce misleading matches.

Issuer substring matching does not establish whether a certificate was authorized by the domain owner. Only the first 50 issuer mismatches are saved, although the console reports the full mismatch count. The main command-line path also bypasses the helper's expired-certificate filter.

The recent_24h check uses not_before rather than a CT log entry timestamp, so it does not establish when a certificate first appeared in a log. The recent_24h filter does not exclude future-dated certificate validity starts, so its results are not strictly confined to the preceding 24 hours. Parsing expects YYYY-MM-DDTHH:MM:SS; differently formatted values are silently skipped in that check. The script includes no retry strategy, scheduler, persistent monitoring state or alert delivery.

The supplied evidence contains no execution results, accuracy measurements, labeled evaluation dataset or dependency compatibility results. Detection quality and operational reliability are unknown.

Reasoning

The useful part is the transparent connection between certificate records and simple investigation rules. Developers can inspect exactly which fields are used, how names are compared and what enters the report.

Confidence should remain limited to that visible behavior. The documentation describes broader detection goals, while the implementation supplies narrower heuristics. Treat findings as leads for comparison with an approved domain and certificate inventory; the evidence does not establish an autonomous phishing verdict.

Alternatives

For individual lookups, the reference points to [https://crt.sh/]. For custom Python workflows, it supplies pycrtsh examples and direct requests-based queries. These approaches let a developer choose different query patterns and analysis rules.

For a streaming approach, the reference demonstrates certstream with [wss://certstream.calidog.io/]. That is a separate example, not a feature of agent.py. Current endpoint availability, comparative coverage, pricing and reliability are unknown.

Evidence

The source evidence comprises the complete supplied SKILL.md, references/api-reference.md and scripts/agent.py, together with the folder and repository LICENSE files. The instructions establish intended use, the reference supplies API examples, and the script establishes the visible implementation.

All files are tied to revision 54a798831d2266a3ca61ce68a7acb80b81160d57. No code was executed and no live service response was supplied. Dependency internals, assistant behavior and actual detection outcomes were not assessed.

Access & freshness

Costs

The Apache 2.0 license provides a no-charge, royalty-free copyright grant. That establishes reuse terms rather than total operating cost.

The supplied files give no service pricing, quotas, hosting budget or assistant-host charges. Those costs remain unknown. The script itself contains no model-service call or paid-provider configuration.

Rights

Both the folder license and repository license contain Apache License 2.0 with copyright 2026 mukul975. SKILL.md also declares Apache-2.0. The license permits use, modification and redistribution subject to its conditions.

Redistribution requires a license copy, retention of applicable notices and prominent change notices in modified files. Applicable NOTICE attributions must also be preserved when present. The license provides no general trademark permission and disclaims warranties.

Freshness

The supplied source snapshot was captured on 2026-11-16 at 11:19:14.191 UTC. SKILL.md declares version 1.0. The capture timestamp does not establish a release date or last maintenance date.

The files do not pin dependency versions. Compatibility with current pycrtsh, requests, certstream and external endpoints remains unknown, as do changes after the supplied source revision.

Actions

Start by deciding whether the task is inventorying a known domain or discovering separate lookalike domains. The supplied script is better aligned with the first task. Broader brand monitoring requires additional discovery logic.

Before relying on findings, review handling of alternative names, wildcard labels, capitalization and timestamp formats. Set an organization-specific issuer list, preserve complete mismatch results if needed, and validate findings against known certificate records in an authorized lab.

For ongoing monitoring, establish scheduling, failure handling, duplicate suppression and alert delivery. None of these operational additions or their effectiveness was assessed. Retain the Apache license and applicable notices when sharing the files.

Evidence for this report

LICENSEnotice · checked 2026-11-16