{"id":21569968,"url":"https://github.com/n0nexist/unsafeplusplus","last_synced_at":"2026-05-16T18:34:18.680Z","repository":{"id":86143231,"uuid":"589197511","full_name":"n0nexist/UnsafePlusPlus","owner":"n0nexist","description":"Avoid using unsafe functions in your C/C++ code.","archived":false,"fork":false,"pushed_at":"2023-01-15T16:41:20.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T06:13:07.967Z","etag":null,"topics":["buffer-overflow","buffer-overflow-attack","buffer-overflow-tool","buffer-overflow-tools","c","c-buffer-overflow","c-plus-plus","c-plus-plus-buffer-overflow"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n0nexist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-15T12:03:00.000Z","updated_at":"2024-08-12T20:29:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"eebeb63f-c4f7-4e1f-ab4f-ad80d0aae009","html_url":"https://github.com/n0nexist/UnsafePlusPlus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n0nexist/UnsafePlusPlus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nexist%2FUnsafePlusPlus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nexist%2FUnsafePlusPlus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nexist%2FUnsafePlusPlus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nexist%2FUnsafePlusPlus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0nexist","download_url":"https://codeload.github.com/n0nexist/UnsafePlusPlus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0nexist%2FUnsafePlusPlus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267899889,"owners_count":24163001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["buffer-overflow","buffer-overflow-attack","buffer-overflow-tool","buffer-overflow-tools","c","c-buffer-overflow","c-plus-plus","c-plus-plus-buffer-overflow"],"created_at":"2024-11-24T11:11:14.349Z","updated_at":"2026-05-16T18:34:13.648Z","avatar_url":"https://github.com/n0nexist.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :no_entry_sign: UnsafePlusPlus\n![alt-text](https://github.com/n0nexist/UnsafePlusPlus/blob/main/image.png?raw=true)\u003cbr\u003e\n\u003cb\u003eAvoid using \u003ci\u003eunsafe\u003c/i\u003e functions in your C/C++ code.\u003c/b\u003e\n\n# :nut_and_bolt: Compiling\n```\n$ g++ main.cpp -o unsafeplusplus\n```\n\n# :computer: Usage\n```\n$ ./unsafeplusplus (file or directory)\n```\n\n# :small_red_triangle: Rating scale\n\u003cul\u003e\n\u003cli\u003e\u003cb\u003eLOW\u003c/b\u003e - \u003ci\u003ethe author has to be an idiot to use this function in a vulnerable way.\u003c/i\u003e\u003c/li\u003e\n\u003cli\u003e\u003cb\u003eMID\u003c/b\u003e - \u003ci\u003eif the input passed to this function isn't checked, it's probably vulnerable.\u003c/i\u003e\u003c/li\u003e\n\u003cli\u003e\u003cb\u003eHIGH\u003c/b\u003e - \u003ci\u003ethe author is an idiot for using this function, and it's 100% vulnerable.\u003c/i\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n# How does it work :interrobang:\n\u003ci\u003e\nThis program checks for unsafe functions on every line of a given file (or directory), with it's extension being either .c or .cpp\u003cbr\u003e \nIt does not check how the functions are actually used, hence it just gives the function's rating.\n\u003c/i\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0nexist%2Funsafeplusplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0nexist%2Funsafeplusplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0nexist%2Funsafeplusplus/lists"}