# Security Txt Finder (`bigibyte/security-txt-finder`) Actor

Collects vulnerability disclosure contacts and RFC 9116 fields (Contact, Policy, Encryption, Expires) from domain security.txt files. Export structured contact data instantly to JSON, CSV, or Excel for research and compliance.

- **URL**: https://apify.com/bigibyte/security-txt-finder.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## security-txt Finder

![security-txt Finder cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/security-txt-finder-cover.png)

The **security-txt Finder** helps you discover vulnerability disclosure information published by websites. Provide a list of domains and collect structured security contact details, disclosure policies, encryption references, expiration dates, and other RFC 9116 fields. Export your results as JSON, CSV, Excel, or other supported dataset formats.

### What This Actor Does

The security-txt Finder checks each supplied domain for its published security contact information.

The actor parses the available fields into structured records, making it easier to review disclosure contacts and related information across multiple domains.

### Available Mode

| Mode | Description |
|---|---|
| `check` | Checks supplied domains for security-txt files and extracts their available disclosure information. |

### Input Example

```json
{
  "mode": "check",
  "domains": [
    "www.google.com"
  ],
  "requestDelayMs": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `check` | Collection mode. Currently, only `check` is supported. |
| `domains` | array | `["www.google.com"]` | List of domains to check for security-txt files. |
| `userAgent` | string | `ActorResearch/1.0` | User-Agent value used for requests. |
| `requestDelayMs` | integer | `1000` | Delay between requests in milliseconds. |
| `timeoutSecs` | integer | `300` | Maximum overall run duration in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request in seconds. |
| `proxyConfiguration` | object | Disabled | Optional proxy configuration. Proxy usage is not required for typical runs. |

### Output Example

Each dataset row represents one domain check. A successful result may look like this:

```json
{
  "domain": "www.google.com",
  "found": true,
  "Contact": [
    "https://g.co/vulnz",
    "mailto:security@google.com"
  ],
  "Encryption": [
    "https://services.google.com/corporate/publickey-txt"
  ],
  "Acknowledgments": [
    "https://bughunters.google.com/"
  ],
  "Policy": [
    "https://g.co/vrp"
  ],
  "Hiring": [
    "https://g.co/SecurityPrivacyEngJobs"
  ],
  "Expires": [
    "2030-04-01T00:00:00z"
  ],
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

#### Output Fields

| Field | Type | Description |
|---|---|---|
| `domain` | string | Domain checked by the actor. |
| `found` | boolean | Indicates whether a security-txt file was successfully retrieved. |
| `Contact` | array | Contact addresses or references for reporting security issues. |
| `Encryption` | array | References to encryption keys or related resources. |
| `Acknowledgments` | array | Links to security researcher acknowledgment pages. |
| `Policy` | array | Links to vulnerability disclosure policies. |
| `Hiring` | array | Links to security-related job opportunities. |
| `Expires` | array | Expiration timestamps specified in the file. |
| `scrapedAt` | string | UTC timestamp indicating when the record was collected. |

### Use Cases

- **Vulnerability Disclosure Research:** Find published security contact details and policy links before submitting a vulnerability report.
- **Domain Inventory:** Check multiple company or organization domains to identify which ones publish security-txt files.
- **Security Policy Auditing:** Review whether domains provide contact information, disclosure policies, and expiration dates.
- **Security Program Research:** Discover public acknowledgment pages and security-related resources across organizations.
- **Compliance Monitoring:** Periodically check whether published security contact information remains available and up to date.
- **Research and Reporting:** Export structured disclosure information for security assessments and internal documentation.

### Usage and Limits

- The actor supports the `check` mode.
- Supply domains through the `domains` array.
- The actor follows the security-txt file locations defined by RFC 9116.
- The default request delay is approximately one second.
- Duplicate domains are skipped within the same run.
- Use reasonable request delays and review each website's applicable terms before large-scale collection.

### FAQ

**What is security-txt?**

security-txt is a standardized file that allows website owners to publish information about how security researchers can report vulnerabilities and contact the appropriate team.

**What information does this actor collect?**

It collects available fields such as `Contact`, `Policy`, `Encryption`, `Acknowledgments`, `Hiring`, and `Expires`, along with domain and collection metadata.

**Can I schedule recurring checks?**

Yes. Use Apify Schedules to periodically check your domain list and monitor changes to published security contact information.

**What export formats are supported?**

You can export the collected dataset as JSON, CSV, Excel, and other formats supported by Apify.

### Related Tools

You may also find these BigiByte tools useful:

- **Hreflang Tag Auditor** – Inspect website language and regional targeting metadata.
- **UK Police Crime by Location Scraper** – Collect structured public records for research and analysis.
- **New Jersey Construction Permits Scraper** – Retrieve public records from government datasets.

Looking for a solution tailored to your data collection requirements? **BigiByte** builds custom web scrapers, data extraction tools, and automation solutions to help businesses collect and organize the information they need.

Visit [BigiByte](https://bigibyte.com) to explore our services.

### Trademark Notice

The names, logos, and trademarks of the websites checked by this actor belong to their respective owners. They are referenced here only to identify the sources of the collected information. This actor is not affiliated with, sponsored by, or endorsed by those website owners.

### Disclaimer

The security-txt Finder is an independent data collection tool. It does not perform vulnerability scanning, penetration testing, or security assessments. It only retrieves and organizes publicly published security-txt information. Users are responsible for using collected contact information appropriately and complying with applicable laws and website terms.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Follow applicable privacy regulations, including GDPR and CCPA, when collecting or processing personal information.
- **Copyrighted Content:** Respect copyright protections and licensing conditions when reusing collected material.
- **Platform Terms and Rate Limits:** Review the source's terms and follow its access rules and reasonable request limits.

Use collected security contact information responsibly and only for legitimate communication and vulnerability disclosure purposes.

This information is provided for general guidance only and does not constitute legal advice. For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape. Check domains fetches /.well-known/security.txt (and /security.txt fallback) per RFC 9116.

## `domains` (type: `array`):

Domains to check for a security.txt file.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between domain requests.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "check",
  "domains": [
    "www.google.com"
  ],
  "userAgent": "ActorResearch/1.0",
  "requestDelayMs": 1000,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

security.txt rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "domains": [
        "www.google.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/security-txt-finder").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 = { "domains": ["www.google.com"] }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/security-txt-finder").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 '{
  "domains": [
    "www.google.com"
  ]
}' |
apify call bigibyte/security-txt-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/security-txt-finder"
        }
    }
}
```

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/YCoQkIcUYQS5edj8Z/builds/Yr7e63GuOx3NhX4Mv/openapi.json
