{"answers":{"affected":"3 open source packages ship an affected version, including sha-rst.","exploited":"There is no known exploitation of GHSA-vgr2-r5hm-f6gf in the wild and no public exploit code.","fix":"No fix has been published for GHSA-vgr2-r5hm-f6gf yet. Limit exposure of the affected software until one is available.","what":"GHSA-vgr2-r5hm-f6gf is a vulnerability in sha-rst, published on 9 Dec 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-vgr2-r5hm-f6gf and fix it if it is affected.\n\nWhat it is: GHSA-vgr2-r5hm-f6gf is a vulnerability in sha-rst, published on 9 Dec 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-vgr2-r5hm-f6gf in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sha-rst (crates.io): affected all versions; no fix listed\n- sha-rst (crates.io): affected all versions; no fix listed\n- sha-rst (crates.io): affected from 0.0.0-0; 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-vgr2-r5hm-f6gf/ (Markdown: https://insights.sbomify.com/GHSA-vgr2-r5hm-f6gf/index.md)","id":"GHSA-vgr2-r5hm-f6gf","markdown":"https://insights.sbomify.com/GHSA-vgr2-r5hm-f6gf/index.md","name":"GHSA-vgr2-r5hm-f6gf","record":{"aliases":["RUSTSEC-2025-0151"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust crate","requires_auth":"none","summary":"A malicious Rust crate exfiltrated credentials, requiring users to remove the compromised dependency from their projects.","user_interaction":"not_required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This crate was used as a dependency by `finch_cli_rust` and `finch-rst` and\ncontained a malware payload to exfiltrate credentials.\n\nThe malicious crate had 1 version published on 2025-12-08 and had been\ndownloaded 22 times. Other than the other crates above that were part of the\nattack, no other crates depedended on this crate.\n\nThanks to Matthias Zepper of [NGI Sweden](https://ngisweden.scilifelab.se/) for\nreporting this to the crates.io team!","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"`sha-rst` was removed from crates.io for malicious code","id":"GHSA-vgr2-r5hm-f6gf","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"supply_chain","year":"2025"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"sha-rst","purl":null,"source":"GHSA-vgr2-r5hm-f6gf"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"sha-rst","purl":"pkg:cargo/sha-rst","source":"GHSA-vgr2-r5hm-f6gf"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"sha-rst","purl":"pkg:cargo/sha-rst","source":"RUSTSEC-2025-0151"}],"products":null,"published":"2025-12-09","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A malicious Rust crate exfiltrated credentials, requiring users to remove the compromised dependency from their projects.","url":"https://insights.sbomify.com/GHSA-vgr2-r5hm-f6gf/"}