Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitgalaxy-population-analyses

Population-level statistics over GitGalaxy scan data: where a single scan describes one repository, this repo asks what hundreds of scans look like together — how risk exposures distribute across real-world code, whether repositories cluster into structural archetypes, and how malware-labeled populations separate from benign ones. Raw inputs come from gitgalaxy-raw-output (unedited per-repo scan bundles); this repo merges them into master SQLite databases (build_master_db.py, master_db_updater.py) and runs the analyses offline. Nothing here is on any CI path.

Archetype z-score distribution

What's here

  • Master database assemblybuild_master_db.py / master_db_updater.py merge raw-output scan DBs into one population database (data/); db_health_assessor.py sanity-checks it.
  • Risk-exposure distributionsdetailed_risk_exposure_stats_from_db.py, plot_ridgelines.py → the ridgeline plots in analyses_ridgeplots/ (66 charts: per-metric distributions across the population, e.g. avg_func_args_ridgeplot.png).
  • Structural archetypesarchetype_analysis_suite.py, apply_language_specific_clusters.py, repo_macro_fingerprints.py, twin_discovery*.py: clustering repositories by structural signature profile and hunting near-identical "twins" across the population.
  • Threat/malware population studiesanalyze_threat_prediction_distributions.py, repo_level_malware_analysis_suite.py, graph_malware_zscores_by_cluster.py, malware_telemetry_report.py, extract_zero_day_suspects.pyanalysis_outputs/ (z-score separations of malware-labeled vs. benign repos, classifier confusion heatmap, danger_zone_audit.csv).
  • Function-level studiesfunction_analysis_suite.py, validate_function_metrics.py, mine_dna_stoichiometry.py.

Repo-level malware z-score distribution

The GitGalaxy constellation

This repo is one strand of the web of repos that build, prove, and showcase GitGalaxy:

About

Population level analyses on gitgalaxy scanned data files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages