{"id":20669525,"url":"https://github.com/iitis/netsat-networksaturationattack","last_synced_at":"2026-03-07T08:34:41.679Z","repository":{"id":164505027,"uuid":"639815619","full_name":"iitis/NetSat-NetworkSaturationAttack","owner":"iitis","description":"Code that can be used to perform NetSat attacks.","archived":false,"fork":false,"pushed_at":"2023-05-12T15:18:50.000Z","size":683,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-09T11:50:49.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/iitis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2023-05-12T09:38:04.000Z","updated_at":"2023-05-12T15:55:21.000Z","dependencies_parsed_at":"2023-06-01T01:15:10.498Z","dependency_job_id":null,"html_url":"https://github.com/iitis/NetSat-NetworkSaturationAttack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iitis/NetSat-NetworkSaturationAttack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FNetSat-NetworkSaturationAttack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FNetSat-NetworkSaturationAttack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FNetSat-NetworkSaturationAttack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FNetSat-NetworkSaturationAttack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iitis","download_url":"https://codeload.github.com/iitis/NetSat-NetworkSaturationAttack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iitis%2FNetSat-NetworkSaturationAttack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: 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":[],"created_at":"2024-11-16T20:14:40.673Z","updated_at":"2026-03-07T08:34:41.651Z","avatar_url":"https://github.com/iitis.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetSat: Network Saturation Adversarial Attack\n\n**NOTE:** This is a repository with methods, instructions and examples on how to use the components created for the purpose of paper **\"NetSat: Network Saturation Adversarial Attack\"**. We provide implementation of the vital software components and methods used in the study. All of the methods are implemented  in such a way as to make them as flexible as possible not only for the easy reproduction of our experiments but hopefully also for other potential studies of other researchers. We made sure to add comments and guidelines on how to use our methods. Note, that we use only some tiny examplary data (that are compatible with the freely available datasets used in the study) just to show the operation od the notebooks and to make the use of our materials easy for other researchers. \n\nThe repository includes an example on how to (1) generate adversarial samples with our original method - NetSat/SignedNetSat and (2) test the harmfullness of the adversarial attacks in terms of the semantic damage with our Dissimilarity Metric, DM (or after a slight modification - the semantic accuracy of the object recognition network). We provide 2 jupyter notebooks: with a single image example and with a sample dataset. We use large pre-trained  CNN models from keras (https://keras.io/api/applications/). The code can be used to reproduce the results presented in paper **\"NetSat: Network Saturation Adversarial Attack\"**. \n\nWe present our methods via jupyter notebooks, but we also provide an HTML version of the notebooks.\n\nIn our paper, we used three networks krom Keras Application (https://keras.io/api/applications/):\n* Xception\n* MobileNetV2\n* ResNet50V2\n\nKeras provides crafted preprocessing functions for these models, so one can use them to make their data compatible these models. At Keras Application, one can also find the docs regarding these models (required image size etc.). We use the ImageNet weights for these models.\n\nThe following Python libraries have to be installed for the example to work correctly:\n* NumPy - version 1.23.2\n* TensorFlow (+ Keras) - version 2.10.0\n* Pandas - version 1.4.2\n* SciKit-learn - version 1.1.2\n* glob2 - version 0.7\n* Pillow - version 7.2.0\n* matplotlib - version 3.4.3\n\nWe used NIPS 2017 Adversarial Attacks and Defenses Competition (https://github.com/cleverhans-lab/cleverhans/tree/master/cleverhans_v3.1.0/examples/nips17_adversarial_competition), but we also provide a tiny dataset of our own to test the notebook operation correctness (it can be replaced with the original NIPS17 dataset with a slight code modification regarding the image format).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiitis%2Fnetsat-networksaturationattack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiitis%2Fnetsat-networksaturationattack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiitis%2Fnetsat-networksaturationattack/lists"}