{"id":43165467,"url":"https://github.com/oritwoen/vusi","last_synced_at":"2026-02-01T01:45:43.851Z","repository":{"id":332824436,"uuid":"1133584260","full_name":"oritwoen/vusi","owner":"oritwoen","description":"ECDSA signature vulnerability analysis library and CLI","archived":false,"fork":false,"pushed_at":"2026-01-15T18:08:23.000Z","size":49,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T20:17:43.237Z","etag":null,"topics":["bitcoin","cryptography","ecdsa","nonce-reuse","private-key-recovery","rust","security","vulnerability-detection"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/oritwoen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-13T14:48:30.000Z","updated_at":"2026-01-15T18:08:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oritwoen/vusi","commit_stats":null,"previous_names":["oritwoen/vusi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oritwoen/vusi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oritwoen%2Fvusi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oritwoen%2Fvusi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oritwoen%2Fvusi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oritwoen%2Fvusi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oritwoen","download_url":"https://codeload.github.com/oritwoen/vusi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oritwoen%2Fvusi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28963914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T01:25:30.373Z","status":"ssl_error","status_checked_at":"2026-02-01T01:25:29.809Z","response_time":128,"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":["bitcoin","cryptography","ecdsa","nonce-reuse","private-key-recovery","rust","security","vulnerability-detection"],"created_at":"2026-02-01T01:45:43.725Z","updated_at":"2026-02-01T01:45:43.840Z","avatar_url":"https://github.com/oritwoen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vusi\n\n[![Crates.io](https://img.shields.io/crates/v/vusi?style=flat\u0026colorA=130f40\u0026colorB=474787)](https://crates.io/crates/vusi)\n[![Downloads](https://img.shields.io/crates/d/vusi?style=flat\u0026colorA=130f40\u0026colorB=474787)](https://crates.io/crates/vusi)\n[![License](https://img.shields.io/crates/l/vusi?style=flat\u0026colorA=130f40\u0026colorB=474787)](LICENSE)\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/oritwoen/vusi)\n\nECDSA signature vulnerability analysis library and CLI tool.\n\n## Features\n\n- **Nonce Reuse Detection**: Identifies signatures using the same nonce (k value)\n- **Private Key Recovery**: Recovers private keys from vulnerable signatures\n- **Multiple Input Formats**: Supports JSON and CSV input\n- **Flexible Output**: Human-readable or JSON output formats\n\n## Installation\n\n```bash\ncargo install --path .\n```\n\n## Usage\n\n### Analyze signatures from file\n\n```bash\nvusi analyze signatures.json\n```\n\n### Analyze from stdin\n\n```bash\necho '[{\"r\":\"...\",\"s\":\"...\",\"z\":\"...\"}]' | vusi analyze\n```\n\n### JSON output\n\n```bash\nvusi --json analyze signatures.json\n```\n\n## Input Format\n\n### JSON\n\n```json\n[\n  {\n    \"r\": \"6819641642398093696120236467967538361543858578256722584730163952555838220871\",\n    \"s\": \"5111069398017465712735164463809304352000044522184731945150717785434666956473\",\n    \"z\": \"4834837306435966184874350434501389872155834069808640791394730023708942795899\",\n    \"pubkey\": null\n  }\n]\n```\n\n### CSV\n\n```csv\nr,s,z,pubkey\n6819641642398093696120236467967538361543858578256722584730163952555838220871,5111069398017465712735164463809304352000044522184731945150717785434666956473,4834837306435966184874350434501389872155834069808640791394730023708942795899,\n```\n\n## Exit Codes\n\n- `0`: No vulnerabilities found\n- `1`: Vulnerabilities detected\n- `2`: Error (invalid input, etc.)\n\n## Library Usage\n\n```rust\nuse vusi::attack::{Attack, NonceReuseAttack};\nuse vusi::provider::load_signatures;\n\nlet signatures = load_signatures(\"signatures.json\")?;\nlet attack = NonceReuseAttack;\nlet vulnerabilities = attack.detect(\u0026signatures);\n\nfor vuln in vulnerabilities {\n    if let Some(key) = attack.recover(\u0026vuln) {\n        println!(\"Recovered key: {}\", key.private_key_decimal);\n    }\n}\n```\n\n## Development\n\n### Run tests\n\n```bash\ncargo test\n```\n\n### Build release\n\n```bash\ncargo build --release\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foritwoen%2Fvusi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foritwoen%2Fvusi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foritwoen%2Fvusi/lists"}