SShortSingh.
Back to feed

Developer shares four hard-won lessons building a reliable SSL cert monitoring tool

0
·8 views

A developer building an Apify actor to monitor Certificate Transparency logs for unexpected SSL certificates discovered that crt.sh, a free community-run CT log search service, returns HTML error pages instead of JSON during high load, making 404 and 5xx responses unreliable as 'no results' signals. Retry logic initially set to four attempts proved insufficient when the service returned six consecutive 502 errors during a bad patch, pushing the tool's 30-day failure rate to 46%, prompting an increase to eight attempts with capped backoff. A missing request timeout caused some fetch calls to hang indefinitely, bypassing retry logic entirely, which was fixed by adding an AbortController with a per-attempt timeout. Most critically, a field used for date filtering silently disappeared from crt.sh's JSON response, causing the actor to return zero results every time without throwing any error — the kind of silent failure especially dangerous in a security monitoring tool.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Cyberattacks Surge: Six Practical Steps to Safeguard Your Personal Data Online

Cyberattacks reached 2,365 incidents in 2023, affecting over 343 million victims globally, with data breaches rising 72% since 2021, according to Forbes. The U.S. Federal Trade Commission recorded more than one million identity theft reports that year, alongside 2.6 million fraud cases totalling over $10.3 billion in losses. Experts warn that stolen personal data is increasingly sold to malicious actors who use it for blackmail and financial fraud. Security guidance recommends using strong unique passwords managed through a password manager, enabling two-factor authentication on all key accounts, and tightening social media privacy settings. As daily life becomes more deeply tied to online platforms, individuals are urged to treat personal data protection as a critical and ongoing priority.

0
ProgrammingDEV Community ·

Developer Builds Mirra, an AI Writing Tool That Preserves Creators' Unique Voice

A solo developer has built and publicly documented the landing page for Mirra, an AI writing companion aimed at creators who post on LinkedIn and X. The tool is designed to help users shape rough ideas into social media posts without replacing their personal voice or automating publishing decisions. The product's core promise — 'Grow your presence without losing your voice' — drove the minimalist design of the landing page, which includes a waitlist form and an animated mascot. The codebase is structured as a full product system, with separate directories for web, mobile, and shared design packages, signalling plans beyond a simple marketing page. Features in development include chat, draft tools, persona memory, and platform-specific voice matching for content creators.

0
ProgrammingDEV Community ·

SQL Window Functions vs Aggregate Functions: Key Differences Explained

A technical guide published on DEV Community breaks down the core difference between aggregate and window functions in SQL for beginner and intermediate users. Aggregate functions like SUM() and COUNT() collapse multiple rows into a single result per group, changing the granularity of the data. Window functions perform the same calculations but retain every original row, attaching the result to each one instead of merging them. The distinction is illustrated using side-by-side SQL queries on a small product sales dataset, showing how OVER (PARTITION BY ...) syntax works without requiring a GROUP BY clause. The guide aims to help developers understand when to use each approach, particularly when individual row detail must be preserved alongside group-level totals.

0
ProgrammingDEV Community ·

How to Scope an AI Engineering Project You Can Actually Complete

Many AI student projects fail not because of model complexity but due to poorly defined scope, according to a tutorial published on DEV Community. The guide recommends framing every project around a clear input, a measurable output, an identified user, and a single core technical question. It advises starting with simple baseline models — such as logistic regression or random forests — before attempting complex neural networks, to establish a meaningful performance benchmark. The tutorial also warns against data leakage, particularly in engineering datasets where a random train-test split can expose the model to near-identical readings from the same machine. Choosing the right evaluation metric — precision, recall, or F1 score — is highlighted as critical, especially when dealing with imbalanced datasets where raw accuracy can be misleading.