{"answers":{"affected":"6 open source packages ship an affected version, including github.com/babylonlabs-io/babylon/v4, github.com/babylonlabs-io/babylon and github.com/babylonlabs-io/babylon/v2.","exploited":"There is no known exploitation of GHSA-xq4h-wqm2-668w in the wild and no public exploit code.","fix":"Upgrade github.com/babylonlabs-io/babylon/v4 to 4.1.0 or later.","what":"GHSA-xq4h-wqm2-668w is a vulnerability in github.com/babylonlabs-io/babylon, published on 24 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-xq4h-wqm2-668w and fix it if it is affected.\n\nWhat it is: GHSA-xq4h-wqm2-668w is a vulnerability in github.com/babylonlabs-io/babylon, published on 24 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-xq4h-wqm2-668w in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/babylonlabs-io/babylon/v4 (Go): affected all versions; fixed in 4.1.0\n- github.com/babylonlabs-io/babylon/v4 (Go): affected all versions; fixed in 4.1.0\n- github.com/babylonlabs-io/babylon/v4 (Go): affected all versions; fixed in 4.1.0\n- github.com/babylonlabs-io/babylon (Go): affected all versions; no fix listed\n- github.com/babylonlabs-io/babylon/v2 (Go): affected all versions; no fix listed\n- github.com/babylonlabs-io/babylon/v3 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xq4h-wqm2-668w/ (Markdown: https://insights.sbomify.com/GHSA-xq4h-wqm2-668w/index.md)","id":"GHSA-xq4h-wqm2-668w","markdown":"https://insights.sbomify.com/GHSA-xq4h-wqm2-668w/index.md","name":"GHSA-xq4h-wqm2-668w","record":{"aliases":["GO-2025-4159"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Bitcoin library","requires_auth":"none","summary":"Attackers can submit non-compliant BIP-322 signatures that are incorrectly accepted by the blockchain, bypassing signature verification requirements.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\n\nThe BIP-322 signature verification does not enforce the SIGHASH value to be SIGHASH_ALL, and therefore is not strictly following the [spec](https://bips.dev/322/).\n\n### Impact\n\nNon-compliant BIP-322 signatures in proof of possessions can be accepted by the chain.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Babylon's BIP322 signature implementation is not fully compliant to the spec","id":"GHSA-xq4h-wqm2-668w","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon","purl":"pkg:golang/github.com/babylonlabs-io/babylon","source":"GO-2025-4159"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon/v2","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v2","source":"GO-2025-4159"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon/v3","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v3","source":"GO-2025-4159"},{"ecosystem":"Go","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon/v4","purl":null,"source":"GHSA-xq4h-wqm2-668w"},{"ecosystem":"Go","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon/v4","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v4","source":"GHSA-xq4h-wqm2-668w"},{"ecosystem":"Go","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/babylonlabs-io/babylon/v4","purl":"pkg:golang/github.com/babylonlabs-io/babylon/v4","source":"GO-2025-4159"}],"products":null,"published":"2025-11-24","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can submit non-compliant BIP-322 signatures that are incorrectly accepted by the blockchain, bypassing signature verification requirements.","url":"https://insights.sbomify.com/GHSA-xq4h-wqm2-668w/"}