# Website Tech-Stack (160+), Security & AI-Readiness Auditor (`beryline_pastel/website-tech-security-auditor`) Actor

4-in-1 zero-proxy B2B lead enricher: detects 160+ tech signatures with evidence & confidence, infers SaaS via DNS MX/TXT, grades security headers (A-F), checks SPF/DMARC + AI crawler readiness (robots.txt & llms.txt), and generates a cold-email agencyOutreachHook.

- **URL**: https://apify.com/beryline_pastel/website-tech-security-auditor.md
- **Developed by:** [Beryline Pastel](https://apify.com/beryline_pastel) (community)
- **Categories:** Lead generation, SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 website auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Website Tech-Stack (160+ w/ Evidence), Security, DNS SaaS & AI-Readiness Auditor

**4-in-1 zero-proxy B2B agency lead enricher and website auditor.** Given a list of domains or URLs, it fetches each site over lightweight HTTP, identifies **160+ B2B technologies with matched `evidence` & `confidence`**, infers **hidden SaaS stacks from DNS `MX` & `TXT` records** (even on JS-rendered SPAs), grades **HTTP security headers (`A`–`F`)**, verifies **SPF & DMARC email authentication**, audits **AI Crawler Readiness (`/robots.txt` + `/llms.txt`)**, and outputs a personalized 1-sentence **`agencyOutreachHook`** for cold outreach.

***

### Why Agencies & RevOps Teams Choose This Over Single-Purpose Tech Detectors

| Capability | `beryline_pastel/website-tech-security-auditor` (v0.2) | `scrapemint/website-tech-stack-detector` | `magicfingers/techstack-detector` |
| :--- | :--- | :--- | :--- |
| **Tech Stack Signatures** | **163 HTTP/HTML rules + 33 DNS SaaS rules** | Tech detection only | Tech detection only |
| **Matched `evidence` & `confidence`** | **Yes (`high` / `medium` + exact header/script/meta/DNS)** | Limited / varies | Limited |
| **DNS `MX` & `TXT` SaaS Inference (SPA-proof)** | **Yes** (`Google Workspace`, `Microsoft 365`, `Proofpoint`, `Mimecast`, `HubSpot`, `Atlassian`, `Stripe`, `OpenAI`, `Slack`, etc.) | No | No |
| **Security Headers Grade (`A`–`F`)** | **Yes** (HSTS, CSP, XFO, XCTO, Referrer, Permissions) | No | No |
| **Email Auth (`SPF` & `DMARC`)** | **Yes** (Cloudflare DoH) | No | No |
| **AI Crawler Readiness (`GPTBot`, `ClaudeBot`, `llms.txt`)** | **Yes** (RFC 9309 + `llmstxt.org` check + SPA soft-404 guard) | No | No |
| **Ready-to-Send `agencyOutreachHook`** | **Yes** (1-sentence personalized cold-email opener) | No | No |
| **Zero Headless Browser / Zero Proxies** | **Yes** (fast 256 MB Node HTTP + DoH) | Browser / heavier | Varies |

***

### 4-in-1 Agency Wedge Features

1. **160+ Tech Stack Signatures with `evidence` & `confidence`**:
   - **CMS & E-commerce (26)**: WordPress, WooCommerce, Shopify, Magento, BigCommerce, Squarespace, Webflow, Wix, Framer, Ghost, HubSpot CMS, Contentful, Sanity, Strapi, Drupal, Joomla, PrestaShop, OpenCart, Craft CMS, DatoCMS, Prismic, Storyblok, Builder.io, Carrd, Duda, Tilda.
   - **JS, Frameworks & UI (25)**: Next.js, Nuxt, Remix, Astro, SvelteKit, Gatsby, React, Vue, Angular, Svelte, SolidJS, Qwik, HTMX, Alpine.js, Tailwind CSS, Bootstrap, Material UI, Chakra UI, jQuery, Three.js, GSAP, Lottie, Turbo, Laravel Livewire, Ember.js.
   - **Analytics & Session Replay (24)**: GA4, Universal Analytics, GTM, Segment, Mixpanel, Amplitude, PostHog, Plausible, Fathom, Hotjar, FullStory, Microsoft Clarity, Heap, Pendo, Matomo, Umami, Simple Analytics, Cloudflare Web Analytics, Vercel Analytics, VWO, Optimizely, LaunchDarkly, RudderStack, Mouseflow.
   - **CRM, Marketing, Chat & Scheduling (27)**: HubSpot, Klaviyo, Marketo, Pardot, ActiveCampaign, Mailchimp, Customer.io, Braze, Iterable, Brevo, ConvertKit, Omnisend, Intercom, Drift, Crisp, Zendesk, Freshchat, Tawk.to, Gorgias, Help Scout, LiveChat, Tidio, Calendly, Cal.com, Chili Piper, Qualified, Typeform.
   - **Payments & Billing (12)**: Stripe, Paddle, LemonSqueezy, Adyen, PayPal, Braintree, Square, Klarna, Chargebee, Recurly, Razorpay, Shop Pay.
   - **Observability & APM (8)**: Sentry, Datadog, Bugsnag, LogRocket, New Relic, Rollbar, Honeybadger, Dynatrace.
   - **CDN, Hosting, WAF & Bot Protection (18)**: Cloudflare, Cloudflare Pages, Fastly, Akamai, AWS CloudFront, Vercel, Netlify, GitHub Pages, Render, Fly.io, Heroku, Firebase Hosting, Azure Front Door, BunnyCDN, Imperva, reCAPTCHA, Cloudflare Turnstile, hCaptcha.
   - **Ads & B2B Intent (11)**: Meta Pixel, Google Ads, LinkedIn Insight, TikTok Pixel, X (Twitter) Pixel, Pinterest Tag, Snapchat Pixel, Reddit Pixel, Microsoft Advertising UET, 6sense, Clearbit.
   - **Consent, Search, Video & Trust (12)**: OneTrust, Cookiebot, CookieYes, Osano, Termly, Algolia, Weglot, Mux, Wistia, Vimeo, Loom, Trustpilot.
   - Every detection returns `{ name, category, confidence: "high" | "medium", evidence: "<matched header/script/meta/dns>" }`.

2. **Hidden SaaS Inference via DNS `TXT` & `MX` (Cloudflare DoH)**:
   - Even when a site is a client-rendered SPA with minimal initial HTML, `MX` and `TXT` records reveal core B2B infrastructure: `Google Workspace`, `Microsoft 365`, `Proofpoint`, `Mimecast`, `Cisco Secure Email`, `Barracuda`, `HubSpot`, `Atlassian`, `Stripe`, `OpenAI`, `Anthropic`, `Slack`, `Facebook Domain Verification`, `Salesforce`, `Zendesk`, `SendGrid`, `Postmark`, `DocuSign`, `Okta`, `Linear`, `Notion`, `Figma`, and more.

3. **Security Headers Grade (`A`–`F`) + Email Auth (`SPF` & `DMARC`)**:
   - Evaluates HTTPS enforcement plus `strict-transport-security`, `content-security-policy`, `x-frame-options`, `x-content-type-options`, `referrer-policy`, and `permissions-policy`.
   - Checks `v=spf1` and `_dmarc` `v=DMARC1` TXT records via Cloudflare DoH.

4. **AI Crawler Readiness (`robots.txt` + `llms.txt`) & `agencyOutreachHook`**:
   - Probes `/robots.txt` using RFC 9309 group/specificity rules for `GPTBot`, `ClaudeBot`, `OAI-SearchBot`, `PerplexityBot`, and `Google-Extended`.
   - Probes `/llms.txt` for existence and `llmstxt.org` structure (`# H1`, `> summary`, `## sections`, markdown links), automatically filtering out SPA HTML soft-404 fallbacks.
   - Computes an **Agency Lead Score (`0–100`)**, `leadTier` (`hot` / `warm` / `cold`), `outreachAngles`, and a ready-to-send 1-sentence **`agencyOutreachHook`**.

***

### Use with MCP (Model Context Protocol)

Connect this Actor directly to **Claude Desktop**, **Cursor**, **Windsurf**, or any MCP-compatible AI agent using the official **Apify MCP Server** (`https://mcp.apify.com`):

```json
{
  "mcpServers": {
    "apify-techstack-auditor": {
      "url": "https://mcp.apify.com?actors=beryline_pastel/website-tech-security-auditor",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

Example agent prompt:

> *"Audit acme.com and example.com using `website-tech-security-auditor` and draft personalized outreach emails using each domain's `agencyOutreachHook` and `techStack.detections`."*

***

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `urls` | `string[]` | *(required)* | List of website URLs or bare domains (e.g. `https://example.com` or `example.com`). |
| `maxConcurrency` | `integer` | `5` | Number of websites audited in parallel (`1`–`25`). |
| `checkDnsAuth` | `boolean` | `true` | Query Cloudflare DoH for SPF, DMARC, MX email provider, and TXT SaaS verification tokens. |
| `checkAiReadiness` | `boolean` | `true` | Probe `/robots.txt` (AI crawlers) and `/llms.txt` existence/spec compliance. |
| `timeoutMs` | `integer` | `10000` | Request timeout in milliseconds (`2000`–`60000`) per HTTP/DoH call. |

***

### Example Output (v0.2.0)

```json
{
  "input": "https://acme.example",
  "url": "https://acme.example/",
  "finalUrl": "https://acme.example/",
  "domain": "acme.example",
  "status": "ok",
  "httpStatus": 200,
  "responseTimeMs": 148,
  "techStack": {
    "cms": ["Shopify"],
    "frameworks": ["Next.js", "Tailwind CSS"],
    "analytics": ["GA4", "PostHog"],
    "crmAndMarketing": ["HubSpot", "Intercom"],
    "payments": ["Stripe"],
    "observability": ["Sentry"],
    "cdnAndHosting": ["Cloudflare", "Vercel"],
    "ads": ["Meta Pixel", "LinkedIn Insight"],
    "searchAndCompliance": [],
    "dnsSaas": ["Google Workspace", "OpenAI"],
    "all": ["Shopify", "Next.js", "Tailwind CSS", "GA4", "PostHog", "HubSpot", "Intercom", "Stripe", "Sentry", "Cloudflare", "Vercel", "Meta Pixel", "LinkedIn Insight", "Google Workspace", "OpenAI"],
    "count": 15,
    "detections": [
      {
        "name": "Shopify",
        "category": "cms",
        "confidence": "high",
        "evidence": "script:cdn.shopify.com/s/files/theme.js"
      },
      {
        "name": "Google Workspace",
        "category": "dnsSaas",
        "confidence": "high",
        "evidence": "dns-mx:aspmx.l.google.com"
      }
    ]
  },
  "security": {
    "https": true,
    "present": ["strict-transport-security"],
    "missing": [
      "content-security-policy",
      "x-frame-options",
      "x-content-type-options",
      "referrer-policy",
      "permissions-policy"
    ],
    "missingCount": 5,
    "grade": "F",
    "headers": {
      "strict-transport-security": "max-age=31536000",
      "content-security-policy": null,
      "x-frame-options": null,
      "x-content-type-options": null,
      "referrer-policy": null,
      "permissions-policy": null
    }
  },
  "dnsAuth": {
    "checked": true,
    "domain": "acme.example",
    "hasSPF": true,
    "spfRecord": "v=spf1 include:_spf.google.com ~all",
    "hasDMARC": false,
    "dmarcRecord": null,
    "mxRecords": [{ "priority": 10, "exchange": "aspmx.l.google.com" }],
    "emailProvider": "Google Workspace",
    "inferredSaas": [
      { "name": "Google Workspace", "category": "dnsSaas", "confidence": "high", "evidence": "dns-mx:aspmx.l.google.com" },
      { "name": "OpenAI", "category": "dnsSaas", "confidence": "high", "evidence": "dns-txt:openai-domain-verification=dv-abc" }
    ],
    "txtCount": 2,
    "error": null
  },
  "aiReadiness": {
    "checked": true,
    "score": 55,
    "status": "partial",
    "robotsTxt": {
      "exists": true,
      "httpStatus": 200,
      "sitemaps": ["https://acme.example/sitemap.xml"],
      "gptBotAllowed": true,
      "claudeBotAllowed": true,
      "allowedBots": ["GPTBot", "ClaudeBot", "OAI-SearchBot", "PerplexityBot", "Google-Extended"],
      "blockedBots": [],
      "crawlers": [
        { "name": "GPTBot", "allowed": true, "status": "allowed", "matchedAgent": "*", "matchedRule": null }
      ]
    },
    "llmsTxt": {
      "exists": false,
      "httpStatus": 404,
      "hasH1": false,
      "hasSummaryQuote": false,
      "sectionCount": 0,
      "linkCount": 0,
      "validSpec": false
    },
    "error": null
  },
  "leadScore": 55,
  "leadTier": "warm",
  "outreachAngles": [
    "Missing Content-Security-Policy (CSP) header",
    "Missing 4 hardening header(s): x-frame-options, x-content-type-options, referrer-policy, permissions-policy",
    "Missing DMARC email authentication record",
    "Missing /llms.txt for AI search & LLM discovery"
  ],
  "agencyOutreachHook": "Noticed acme.example (running Shopify + Next.js + Tailwind CSS) is currently missing CSP security headers (Grade F), DMARC email authentication to prevent spoofing, and an /llms.txt file for AI search visibility—happy to send a quick 2-minute fix checklist if you're looking to tighten security and AI search visibility.",
  "auditedAt": "2026-11-28T06:00:00.000Z"
}
```

***

### Pricing

Pay-per-event (`site-audited`): charged once per successfully audited URL. Failed fetches, timeouts, and invalid URLs return `status: "error"` and are **never charged**.

***

### Limitations & FAQ

- **Why does DNS inference catch tools even on SPAs?** Because SaaS providers (Google Workspace, Microsoft 365, Proofpoint, Mimecast, HubSpot, Atlassian, Stripe, OpenAI, Slack) require domain ownership `TXT` or `MX` records at the DNS layer—completely independent of client-side JS rendering.
- **How are SPA soft-404s handled on `/robots.txt` and `/llms.txt`?** Any response returning `text/html` or `<!doctype html>` is rejected as non-existent so static/SPA catch-all routes never produce false positives for `llms.txt`.
- **Does it bypass Cloudflare challenges or logins?** No. Sites returning bot-challenge pages or requiring authentication are audited based on the HTTP response received, or marked as errors if unreachable.

# Actor input Schema

## `urls` (type: `array`):

List of website URLs or bare domains to audit (e.g. https://example.com or example.com). Bare domains default to https://.

## `maxConcurrency` (type: `integer`):

Maximum number of websites audited in parallel. Keep between 1 and 25 to avoid rate-limiting public DNS/HTTP endpoints.

## `checkDnsAuth` (type: `boolean`):

Query Cloudflare DNS-over-HTTPS (DoH) for SPF, DMARC, MX email provider, and TXT verification tokens to infer hidden SaaS tools even on JS-rendered SPAs.

## `checkAiReadiness` (type: `boolean`):

Probe /robots.txt (GPTBot, ClaudeBot, OAI-SearchBot, PerplexityBot, Google-Extended) and /llms.txt existence/spec compliance.

## `timeoutMs` (type: `integer`):

Timeout in milliseconds for each HTTP fetch and DNS-over-HTTPS lookup.

## Actor input object example

```json
{
  "urls": [
    "https://example.com",
    "https://flowworkbench.pages.dev"
  ],
  "maxConcurrency": 5,
  "checkDnsAuth": true,
  "checkAiReadiness": true,
  "timeoutMs": 10000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://example.com",
        "https://flowworkbench.pages.dev"
    ],
    "maxConcurrency": 5,
    "checkDnsAuth": true,
    "checkAiReadiness": true,
    "timeoutMs": 10000
};

// Run the Actor and wait for it to finish
const run = await client.actor("beryline_pastel/website-tech-security-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://example.com",
        "https://flowworkbench.pages.dev",
    ],
    "maxConcurrency": 5,
    "checkDnsAuth": True,
    "checkAiReadiness": True,
    "timeoutMs": 10000,
}

# Run the Actor and wait for it to finish
run = client.actor("beryline_pastel/website-tech-security-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://example.com",
    "https://flowworkbench.pages.dev"
  ],
  "maxConcurrency": 5,
  "checkDnsAuth": true,
  "checkAiReadiness": true,
  "timeoutMs": 10000
}' |
apify call beryline_pastel/website-tech-security-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,beryline_pastel/website-tech-security-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rTqzr1ocMMcpzbPBK/builds/ZZR8UEfduo1WupOmP/openapi.json
