{"id":18302403,"url":"https://github.com/rhymeswithmogul/security-txt-parser","last_synced_at":"2025-09-01T05:34:24.379Z","repository":{"id":135521535,"uuid":"208955711","full_name":"rhymeswithmogul/security-txt-parser","owner":"rhymeswithmogul","description":"Fetch and parse a website's security.txt file.","archived":false,"fork":false,"pushed_at":"2022-01-29T17:14:44.000Z","size":49,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T14:35:12.007Z","etag":null,"topics":["foudil","parser","php","php7","reporting-tool","security-audit","security-automation","security-research","security-researcher","security-team","security-testing","security-tools","security-txt"],"latest_commit_sha":null,"homepage":"https://colincogle.name/made/security-txt-parser/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhymeswithmogul.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-txt-parser.php","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-17T03:58:54.000Z","updated_at":"2024-11-02T19:17:06.000Z","dependencies_parsed_at":"2023-04-18T23:46:17.453Z","dependency_job_id":null,"html_url":"https://github.com/rhymeswithmogul/security-txt-parser","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rhymeswithmogul/security-txt-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2Fsecurity-txt-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2Fsecurity-txt-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2Fsecurity-txt-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2Fsecurity-txt-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhymeswithmogul","download_url":"https://codeload.github.com/rhymeswithmogul/security-txt-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhymeswithmogul%2Fsecurity-txt-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273077227,"owners_count":25041358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["foudil","parser","php","php7","reporting-tool","security-audit","security-automation","security-research","security-researcher","security-team","security-testing","security-tools","security-txt"],"created_at":"2024-11-05T15:19:49.968Z","updated_at":"2025-09-01T05:34:24.361Z","avatar_url":"https://github.com/rhymeswithmogul.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![security-txt-parser logo](https://repository-images.githubusercontent.com/208955711/03aa0100-6ca8-11ea-972d-e27719dbae5e)\n\n# security-txt-parser\nFetch and parse a website's security.txt file.  It is compliant with the specification as defined by [draft-foudil-securitytxt-12](https://datatracker.ietf.org/doc/draft-foudil-securitytxt/12/).\n\n## System Requirements\nThis code requires PHP 7, with the GnuPG and cURL modules installed.\n\n## Installation Instructions\nSimply download the file security-txt-parser.php and place it somewhere on your web server.  Users will not access this file directly.\n\n1. On another PHP web page, add an HTML form. The action should be the current page, and you can use either the GET or POST methods.\n2. Add a text field with the name **uri**.\n3. Wherever you'd like security-txt-parser's output, include its file with either `include_once` or `require_once`.\n\nFor example:\n````php\n\u003cform method=\"GET\" action=\"\u003c?php echo $_SERVER['PHP_SELF']; ?\u003e\"\u003e\n    \u003clabel\u003e\n        Type a \u003cabbr title=\"Uniform Resource Indicator\"\u003eURI\u003c/abbr\u003e:\n        \u003cinput id=\"uri\" name=\"uri\" type=\"url\" autofocus placeholder=\"https://example.com\" pattern=\"^https:\\/\\/.*\" value=\"\u003c?php echo $_REQUEST['uri'] ?? ''; ?\u003e\"\u003e\n    \u003c/label\u003e\n    \u003cinput type=\"submit\" value=\"Check security.txt\"\u003e\n\u003c/form\u003e\n\u003chr\u003e\n\u003coutput for=\"uri\"\u003e\n    \u003c?php require_once('./security-txt-parser.php'); ?\u003e\n\u003c/output\u003e\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymeswithmogul%2Fsecurity-txt-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhymeswithmogul%2Fsecurity-txt-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhymeswithmogul%2Fsecurity-txt-parser/lists"}