{"id":18376346,"url":"https://github.com/fmind/stase","last_synced_at":"2026-05-14T21:03:25.941Z","repository":{"id":101908391,"uuid":"175448461","full_name":"fmind/stase","owner":"fmind","description":" A handful of statistical metrics to better understand and qualify malware datasets","archived":false,"fork":false,"pushed_at":"2019-07-04T08:54:42.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T23:41:05.374Z","etag":null,"topics":["android","datasets","malware","metrics","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fmind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-03-13T15:27:29.000Z","updated_at":"2022-06-16T08:42:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a22f7e3-9062-4efa-a396-eeeb8e49dc49","html_url":"https://github.com/fmind/stase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fmind/stase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmind%2Fstase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmind%2Fstase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmind%2Fstase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmind%2Fstase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmind","download_url":"https://codeload.github.com/fmind/stase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmind%2Fstase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33043249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","datasets","malware","metrics","python"],"created_at":"2024-11-06T00:22:57.006Z","updated_at":"2026-05-14T21:03:25.903Z","avatar_url":"https://github.com/fmind.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is STASE ?\n\nSTASE provides a set of metrics to describe a dataset of malware labels.\n\n__Goal__:\n* evaluate the properties of malware datasets\n* identify potential bias in experimental studies\n* analyze the decision and classification of antivirus products\n\n# Usage\n\n__Input__: a dataset of labels formatted as a CSV or CSV.GZ file\n* columns: antivirus products\n* rows: malware files\n\n__Output__: metrics introduce in this research paper (soon to be released)\n\n__Example__:\n```\npython3 stase.py sample.csv.gz output.json\n\n{\n    \"equiponderance\": 0.2422919148,\n    \"equiponderance_idx\":8.0,\n    \"exclusivity\":0.2626262626,\n    \"recognition\":0.1051423324,\n    \"synchronicity\":0.1677210336,\n    \"genericity\":0.5233236152,\n    \"uniformity\":0.2926562999,\n    \"uniformity_idx\":48.0,\n    \"divergence\":0.7568027211,\n    \"consensuality\":0.2227891156,\n    \"resemblance\":0.6406466991,\n    \"labels\":328.0,\n    \"apps\":99.0,\n    \"avs\":66.0,\n}\n```\n\n__Technical details__:\n* implemented in Python 3 (dependencies in requirements.txt)\n* use multiprocessing for performance\n* shipped with [Ouroboros](https://github.com/freaxmind/ouroboros) \n\n# TODO\n\n* Handle more input formats and options\n\nPull request accepted !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmind%2Fstase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmind%2Fstase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmind%2Fstase/lists"}