{"id":20032837,"url":"https://github.com/adamculp/php-security-checker","last_synced_at":"2026-02-24T20:33:27.413Z","repository":{"id":149090113,"uuid":"86957506","full_name":"adamculp/php-security-checker","owner":"adamculp","description":"Docker image to provide a report of PHP Security alerts, from a composer.lock file.","archived":false,"fork":false,"pushed_at":"2019-02-11T22:32:48.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T18:30:23.676Z","etag":null,"topics":["cve-scanning","docker","docker-image","php","php-security-checker","security-checker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/adamculp/php-security-checker/","language":"Dockerfile","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/adamculp.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}},"created_at":"2017-04-02T02:32:22.000Z","updated_at":"2025-07-16T23:28:49.000Z","dependencies_parsed_at":"2023-06-30T04:01:05.479Z","dependency_job_id":null,"html_url":"https://github.com/adamculp/php-security-checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamculp/php-security-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamculp%2Fphp-security-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamculp%2Fphp-security-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamculp%2Fphp-security-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamculp%2Fphp-security-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamculp","download_url":"https://codeload.github.com/adamculp/php-security-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamculp%2Fphp-security-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29798971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T19:56:48.334Z","status":"ssl_error","status_checked_at":"2026-02-24T19:55:43.372Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cve-scanning","docker","docker-image","php","php-security-checker","security-checker"],"created_at":"2024-11-13T09:43:26.413Z","updated_at":"2026-02-24T20:33:27.398Z","avatar_url":"https://github.com/adamculp.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-security-checker\n\nThe objective is to provide a quick report of known PHP security alerts, based on the contents from a given \ncomposer.lock file, in an easy to use Docker image.\n\nMore specifically this image provides an easy interface to use:\n\n- sensiolabs/security-checker\n\nIMPORTANT: This tool makes no claims of being an exhaustive reference of security issues. As such, it is \nmerely a tool to highlight possibilities, and should not be relied upon as a sole reference.\n\n## Usage\n\nWindows users: The use of \"$PWD\" for present working directory will not work as expected, instead use the full path. \nSuch as \"//c/Users/adamculp/project\".\n\n```\n$ cd \u003c/path/to/desired/directory\u003e\n$ docker run -it --rm -v \"$PWD\":/app -w /app adamculp/php-security-checker:latest \\\nphp /usr/local/lib/php-security-checker/vendor/bin/security-checker security:check \\\n./composer.lock  \u003e ./security_check_results.txt\n```\n\nIn the example above, Docker runs an interactive terminal to be removed when all is completed, and mounts \nthe current host directory ($PWD) inside the container, sets this as the current working directory, and then \nloads the image adamculp/php-security-checker. Following this we call on security-checker to run the \nsecurity:check on the composer.lock in the current working directory, and finally, output the results \nto a text file in the current working directory.\n\nThis is the most common use case, enabling the user to run the tool on a composer.lock file located anywhere \non the host system by altering the path used in the command.\n\n## Enjoy!\n\nPlease star, on Docker Hub and/or Github, if you find this helpful.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamculp%2Fphp-security-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamculp%2Fphp-security-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamculp%2Fphp-security-checker/lists"}