x402 Forge is part of Fizzlfizzl.eu ↗
x402 Forge Upgrade your toolBundlesCatalog

Catalog / security-txt-check

security.txt checker (RFC 9116)

Checks a website's security.txt file against RFC 9116 and lists every problem with a code and line number.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Checks the text of a security.txt file against RFC 9116 and lists every problem with a code, line, severity (error = a MUST, warning = a SHOULD or RECOMMENDED, info = a note) and section; valid is true when there is no error. Contact (one or more) and Expires (exactly one) are required. Each Expires line is an RFC 3339 date-time (T separator, Z or offset, fraction of any length, 23:59:60 only as a UTC leap second) compared with the caller's now (no clock is read): before now is an error, more than one calendar year after now (Feb 29 -> Feb 28, in UTC) a warning. Contact, Canonical, Encryption, Policy, Acknowledgments, Hiring and CSAF must be RFC 3986 URIs, http is refused and https needs a host; a Contact mailto: needs at least one RFC 6068 address, a tel: an RFC 3966 number; CSAF must point to provider-metadata.json. Preferred-Languages (at most once) is a comma list of well-formed RFC 5646 tags (not checked against the subtag registry). Bug-Bounty is True or False (registry). Field names follow RFC 5322 (a space before the colon is an error and the line is not read as a field); the colon needs one space after it. LF or CRLF line endings; a bare CR, a missing final newline, a BOM, control characters and C1 controls are errors, text not in NFC a warning (a line with over 30 combining marks in a row is not normalised). An OpenPGP cleartext-signed file (header on line 1) is unwrapped and its armor structure checked; the signature is NOT verified. With file_url, Canonical is compared after lowercasing scheme and host, dropping a default port and reading an empty path as /. mailto_without_encryption and signed_without_canonical count only valid Encryption and Canonical values (mailto_without_encryption also counts a Contact whose mailto is invalid). Stricter than the sectxt parser on purpose: full URI and date syntax, RFC 5646 tags (en_US is invalid), RFC 5322 field names. Valid values are listed (Contact first 10, other URI fields first 5, values over 256 characters as null); invalid values are never echoed, only their line. Up to 32,768 characters (the RFC 9116 5.4 size hint); 100 problems per page.

Example input
{"security_txt":"# Our security address\nContact: mailto:security@example.com\n\n# Our OpenPGP key\nEncryption: https://example.com/pgp-key.txt\n\n# Our security policy\nPolicy: https://example.com/security-policy.html\n\n# Our security acknowledgments page\nAcknowledgments: https://example.com/hall-of-fame.html\n\nExpires: 2021-12-31T18:37:07z\n","now":"2021-06-01T00:00:00Z"}
Answer
{"ok":true,"result":{"valid":true,"reason":null,"standard":"RFC 9116","signed":false,"signature":null,"line_count":13,"field_count":5,"expires":{"line":13,"count":1,"valid":true,"instant_utc":"2021-12-31T18:37:07Z","expired":false,"over_one_year":false,"days_left":213},"preferred_languages":null,"bug_bounty":null,"canonical_match":null,"unknown_fields":{"count":0,"names":[],"names_truncated":false},"error_count":0,"warning_count":1,"info_count":0,"codes":{"not_signed":1},"problem_count":1,"problem_offset":0,"problems":[{"code":"not_signed","severity":"warning","line":13,"field":null,"section":"RFC 9116 2.3"}],"problems_truncated":false,"contact":{"count":1,"valid_count":1,"items":[{"line":2,"valid":true,"value":"mailto:security@example.com"}],"truncated":false},"canonical":{"count":0,"valid_count":0,"items":[],"truncated":false},"encryption":{"count":1,"valid_count":1,"items":[{"line":5,"valid":true,"value":"https://example.com/pgp-key.txt"}],"truncated":false},"policy":{"count":1,"valid_count":1,"items":[{"line":8,"valid":true,"value":"https://example.com/security-policy.html"}],"truncated":false},"acknowledgments":{"count":1,"valid_count":1,"items":[{"line":11,"valid":true,"value":"https://example.com/hall-of-fame.html"}],"truncated":false},"hiring":{"count":0,"valid_count":0,"items":[],"truncated":false},"csaf":{"count":0,"valid_count":0,"items":[],"truncated":false}},"warnings":[]}
Try it free
/try/security-txt-check

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/security-txt-check?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/security-txt-check?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/security-txt-check?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/security-txt-check/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.