{"id":40265897,"url":"https://github.com/jamius19/paddle-verifier","last_synced_at":"2026-01-20T02:46:08.434Z","repository":{"id":44720032,"uuid":"254891147","full_name":"jamius19/paddle-verifier","owner":"jamius19","description":"A lighweight Paddle.com webhook verification library for Java.","archived":false,"fork":false,"pushed_at":"2024-11-04T09:38:21.000Z","size":98,"stargazers_count":19,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-04T09:48:58.918Z","etag":null,"topics":["java","paddle","webhook"],"latest_commit_sha":null,"homepage":"","language":"Java","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/jamius19.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":"2020-04-11T14:56:57.000Z","updated_at":"2024-11-04T19:48:16.000Z","dependencies_parsed_at":"2024-10-22T19:54:17.608Z","dependency_job_id":null,"html_url":"https://github.com/jamius19/paddle-verifier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jamius19/paddle-verifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamius19%2Fpaddle-verifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamius19%2Fpaddle-verifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamius19%2Fpaddle-verifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamius19%2Fpaddle-verifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamius19","download_url":"https://codeload.github.com/jamius19/paddle-verifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamius19%2Fpaddle-verifier/sbom","scorecard":{"id":504659,"data":{"date":"2025-08-11","repo":{"name":"github.com/jamius19/paddle-verifier","commit":"ac54bc5e27e92e0dbf1c476607b47a8bf3ec2b31"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codecov.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codecov.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/jamius19/paddle-verifier/codecov.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codecov.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/jamius19/paddle-verifier/codecov.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codecov.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/jamius19/paddle-verifier/codecov.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/codecov.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/jamius19/paddle-verifier/codecov.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.2 not signed: https://api.github.com/repos/jamius19/paddle-verifier/releases/183326357","Warn: release artifact 2.1 not signed: https://api.github.com/repos/jamius19/paddle-verifier/releases/25547822","Warn: release artifact 2.0 not signed: https://api.github.com/repos/jamius19/paddle-verifier/releases/25545381","Warn: release artifact 1.0 not signed: https://api.github.com/repos/jamius19/paddle-verifier/releases/25421375","Warn: release artifact v2.2 does not have provenance: https://api.github.com/repos/jamius19/paddle-verifier/releases/183326357","Warn: release artifact 2.1 does not have provenance: https://api.github.com/repos/jamius19/paddle-verifier/releases/25547822","Warn: release artifact 2.0 does not have provenance: https://api.github.com/repos/jamius19/paddle-verifier/releases/25545381","Warn: release artifact 1.0 does not have provenance: https://api.github.com/repos/jamius19/paddle-verifier/releases/25421375"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T22:59:08.111Z","repository_id":44720032,"created_at":"2025-08-19T22:59:08.112Z","updated_at":"2025-08-19T22:59:08.112Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":["java","paddle","webhook"],"created_at":"2026-01-20T02:46:07.934Z","updated_at":"2026-01-20T02:46:08.429Z","avatar_url":"https://github.com/jamius19.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Paddle Verifier Logo](https://cdn.jsdelivr.net/gh/jamius19/paddle-verifier/img/logo.svg)\n\n\n\n## Paddle Webhook Verifier\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.jamiussiam/paddle-verifier.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.jamiussiam/paddle-verifier) [![codecov](https://codecov.io/github/jamius19/paddle-verifier/graph/badge.svg?token=GAGKYUP12G)](https://codecov.io/github/jamius19/paddle-verifier) [![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/jamius19/paddle-verifier/blob/master/LICENSE)\n\u003cbr/\u003e\n\n### What is it?\n\nA small utility library (without any external dependecies) for verifying paddle webhooks via Public key and given signature. Paddle is an online payment gateway and more details about verifying paddle webhooks can be found [on their official documentation.](https://developer.paddle.com/webhook-reference/verifying-webhooks)\n\n\u003cbr/\u003e\n\n### How to get it?\n\n#### Maven\nInclude it in your Maven projects.\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.jamiussiam\u003c/groupId\u003e\n    \u003cartifactId\u003epaddle-verifier\u003c/artifactId\u003e\n    \u003cversion\u003e2.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n  \n#### Gradle\nInclude it in your Gradle projects.\n```groovy\nimplementation 'com.jamiussiam:paddle-verifier:2.2'\n```\n\n#### Jar File\nYou can download the ***.jar** file from release.  \n\n\u003cbr/\u003e\n\n### How to use it?\n\nUsing Paddle Verifier is very easy. Firstly, import it from the package.\n\n```java\nimport com.jamiussiam.paddle.verifier.Verifier;\n```\n\nThen use it as shown,\n\n```java\nString publicKey;\nString postBody;\n\nVerifier verifier = new Verifier(publicKey);\nboolean isValid = verifier.verifyDataWithSignature(postBody);\n```\n\u003cbr/\u003e\n\n\n### Detailed Guide\n\n#### Constructor Parameter\n\n`publicKey` is quite self explanatory, it's the `String` representation of your public key. For example,\n```java\nString publicKey =  \"-----BEGIN PUBLIC KEY-----\\n\" +\n                    \"MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIfVXds6Dfo+EZGFcOJPuhUverHOConA\\n\" +\n                    \"j51EQuVpAEhPw6PgyZCi504jxNgiGj6YVOkEJtz5C2d3mgJzsBJs6fUCAwEAAQ==\\n\" +\n                    \"-----END PUBLIC KEY-----\\n\";\n```\n\n#### Method Parameter\n\n`postBody` is your POST data from Paddle webhook and it should be in this format,\n```http request\nalert_id=1688369608\u0026balance_currency=GBP\u0026balance_earnings=438.94\u0026balance_fee=689.32  ....\n```\nIt should contain `p_signature` key. The key value pairs should be separated by `\u0026` and the post body should be [URL Encoded.](https://en.wikipedia.org/wiki/Percent-encoding) (Paddle does this by dafault)\n\n\u003cbr/\u003e\n\n\n#### Spring Boot\nIn spring boot, you can define the bean by,\n```java\nString publicKey;\n\n@Bean\npublic Verifier getVerifier() {\n    return new Verifier(publicKey);\n}\n```\n\nThen, inject it inside your `Controller` or `Component` like,\n```java\n@Autowired\nVerifier verifier;\n```\n\nFinally, you can use it to verify incoming requests from Paddle,\n\n```java\n@PostMapping(value = \"/webhook/\", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)\nprivate boolean webhook(HttpEntity\u003cString\u003e httpEntity) {\n\n    // Get the validity staus of the request\n    boolean isValid = verifier.verifyDataWithSignature(httpEntity.getBody());\n\n    if (isValid) {\n        // ... your logic goes here\n    }\n\n    return isValid;\n}\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamius19%2Fpaddle-verifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamius19%2Fpaddle-verifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamius19%2Fpaddle-verifier/lists"}