{"id":22653670,"url":"https://github.com/typisttech/wordfence-api","last_synced_at":"2026-02-11T00:03:20.176Z","repository":{"id":266238526,"uuid":"897723597","full_name":"typisttech/wordfence-api","owner":"typisttech","description":"Fetch WordPress vulnerability information from Wordfence vulnerability data feed.","archived":false,"fork":false,"pushed_at":"2025-12-16T12:28:55.000Z","size":6049,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-20T02:20:28.482Z","etag":null,"topics":["wordfence","wordpress","wordpress-security"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typisttech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["tangrufus"],"custom":["https://typist.tech/donation/"]}},"created_at":"2024-12-03T05:58:06.000Z","updated_at":"2025-12-16T12:28:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"abba4313-cace-415c-813b-12331b8fc716","html_url":"https://github.com/typisttech/wordfence-api","commit_stats":null,"previous_names":["typisttech/wordfence-api"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/typisttech/wordfence-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typisttech%2Fwordfence-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typisttech%2Fwordfence-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typisttech%2Fwordfence-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typisttech%2Fwordfence-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typisttech","download_url":"https://codeload.github.com/typisttech/wordfence-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typisttech%2Fwordfence-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29322733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["wordfence","wordpress","wordpress-security"],"created_at":"2024-12-09T09:25:51.659Z","updated_at":"2026-02-11T00:03:20.165Z","avatar_url":"https://github.com/typisttech.png","language":"PHP","readme":"\u003cdiv align=\"center\"\u003e\n\n# Wordfence API\n\n[![Packagist Version](https://img.shields.io/packagist/v/typisttech/wordfence-api)](https://packagist.org/packages/typisttech/wordfence-api)\n[![PHP Version Require](https://img.shields.io/packagist/dependency-v/typisttech/wordfence-api/php)](https://github.com/typisttech/wordfence-api/blob/main/composer.json#:~:text=%22php%22%3A,%22%2C)\n[![Test](https://github.com/typisttech/wordfence-api/actions/workflows/test.yml/badge.svg)](https://github.com/typisttech/wordfence-api/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/typisttech/wordfence-api/graph/badge.svg?token=PGHZ7ZORC1)](https://codecov.io/gh/typisttech/wordfence-api)\n[![License](https://img.shields.io/github/license/typisttech/wordfence-api.svg)](https://github.com/typisttech/wordfence-api/blob/master/LICENSE)\n[![Follow @TangRufus on X](https://img.shields.io/badge/Follow-TangRufus-15202B?logo=x\u0026logoColor=white)](https://x.com/tangrufus)\n[![Follow @TangRufus.com on Bluesky](https://img.shields.io/badge/Bluesky-TangRufus.com-blue?logo=bluesky)](https://bsky.app/profile/tangrufus.com)\n[![Sponsor @TangRufus via GitHub](https://img.shields.io/badge/Sponsor-TangRufus-EA4AAA?logo=githubsponsors)](https://github.com/sponsors/tangrufus)\n[![Hire Typist Tech](https://img.shields.io/badge/Hire-Typist%20Tech-778899)](https://typist.tech/contact/)\n\n\u003cp\u003e\n  \u003cstrong\u003eFetch WordPress vulnerability information from \u003ca href=\"https://www.wordfence.com/help/wordfence-intelligence/v2-accessing-and-consuming-the-vulnerability-data-feed/\"\u003eWordfence vulnerability data feed.\u003c/a\u003e\u003c/strong\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  Built with ♥ by \u003ca href=\"https://typist.tech/\"\u003eTypist Tech\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n---\n\n\u003e [!TIP]\n\u003e **Hire Tang Rufus!**\n\u003e\n\u003e I am looking for my next role, freelance or full-time.\n\u003e If you find this package useful, I can build you more API clients like this.\n\u003e Let's talk if you are hiring PHP / Ruby / Go developers.\n\u003e\n\u003e Contact me at https://typist.tech/contact/\n\n---\n\n## Usage\n\n```php\nuse \\TypistTech\\WordfenceAPI\\{Client, Feed, Record};\n\n$client = new Client;\n\n// Alternatively, use `Feed::Scanner` for the scanner feed.\n$records = $client-\u003efetch(Feed::Production);\n\nforeach($records as $record) {\n    /** @var Record $record */\n    echo $record-\u003etitle;\n}\n```\n\n## Known Issues\n\n### `Allowed memory size of 999999 bytes exhausted (tried to allocate 99 bytes)`\n\n\u003e [!TIP]\n\u003e Set `memory_limit` on the fly as a temporary fix:\n\u003e\n\u003e ```sh\n\u003e php -d memory_limit=512MB your-script.php\n\u003e ```\n\nAs of October 2025, the [production Wordfence vulnerability data feed](https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production) is over 117 MB.\n[`Client::fetch()`](./src/Client.php) downloads the feed into memory and `json_decode()` the entire feed all in one go.\nIt causes PHP to run out of memory.\n\nA possible solution is to use a streaming JSON parser like [`json.Decoder`](https://pkg.go.dev/encoding/json#example-Decoder.Decode-Stream) in Go.\nIf you know how to do that in PHP, please send pull requests. :bow:\n\n\u003e [!TIP]\n\u003e **Hire Tang Rufus!**\n\u003e\n\u003e There is no need to understand any of these quirks.\n\u003e Let me handle them for you.\n\u003e I am seeking my next job, freelance or full-time.\n\u003e\n\u003e If you are hiring PHP / Ruby / Go developers,\n\u003e contact me at https://typist.tech/contact/\n\n## Installation\n\n```sh\ncomposer require typisttech/wordfence-api\n```\n\n## Credits\n\n[`Wordfence API`](https://github.com/typisttech/wordfence-api) is a [Typist Tech](https://typist.tech) project and maintained by [Tang Rufus](https://x.com/TangRufus), freelance developer [for hire](https://typist.tech/contact/).\n\nFull list of contributors can be found [on GitHub](https://github.com/typisttech/wordfence-api/graphs/contributors).\n\n## Copyright and License\n\nThis project is a [free software](https://www.gnu.org/philosophy/free-sw.en.html) distributed under the terms of the MIT license.\nFor the full license, see [LICENSE](./LICENSE).\n\n### Wordfence Intelligence Terms and Conditions\n\nBefore using Wordfence Vulnerability Data Feed API, you must read and agree to the [Wordfence Intelligence Terms and Conditions](https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/).\n\nLearn more at [Wordfence help documentation](https://www.wordfence.com/help/wordfence-intelligence/v2-accessing-and-consuming-the-vulnerability-data-feed/#vulnerability-data-feed).\n\nIf you have any questions about the terms and conditions, please contact Wordfence directly.\n\n### MITRE Attribution Requirement\n\nAny company or individual who uses Wordfence vulnerability database API needs to display the MITRE copyright claims included in that vulnerability record for any MITRE vulnerabilities that they display to their end user.\n\nLearn more at [Wordfence help documentation](https://www.wordfence.com/help/wordfence-intelligence/v2-accessing-and-consuming-the-vulnerability-data-feed/#mitre_attribution_requirement).\n\nIf you have any questions about the attribution requirement, please contact Wordfence directly.\n\n## Contribute\n\nFeedbacks / bug reports / pull requests are welcome.\n","funding_links":["https://github.com/sponsors/tangrufus","https://typist.tech/donation/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypisttech%2Fwordfence-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypisttech%2Fwordfence-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypisttech%2Fwordfence-api/lists"}