{"id":33242393,"url":"https://github.com/kamakauzy/lockbox.upload","last_synced_at":"2026-06-22T10:32:19.483Z","repository":{"id":324114321,"uuid":"1096032596","full_name":"kamakauzy/LockBox.Upload","owner":"kamakauzy","description":"**The last file-upload validator your .NET app will ever need.**","archived":false,"fork":false,"pushed_at":"2025-11-13T21:25:10.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-13T23:22:07.977Z","etag":null,"topics":["aspnetcore","devsecops","dotnet","file-upload","owasp","pentest","security"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamakauzy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-13T21:10:43.000Z","updated_at":"2025-11-13T21:25:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kamakauzy/LockBox.Upload","commit_stats":null,"previous_names":["kamakauzy/lockbox.upload"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kamakauzy/LockBox.Upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamakauzy%2FLockBox.Upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamakauzy%2FLockBox.Upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamakauzy%2FLockBox.Upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamakauzy%2FLockBox.Upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamakauzy","download_url":"https://codeload.github.com/kamakauzy/LockBox.Upload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamakauzy%2FLockBox.Upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284767947,"owners_count":27060132,"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-11-16T02:00:05.974Z","response_time":65,"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":["aspnetcore","devsecops","dotnet","file-upload","owasp","pentest","security"],"created_at":"2025-11-16T20:01:13.698Z","updated_at":"2026-06-22T10:32:19.477Z","avatar_url":"https://github.com/kamakauzy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LockBox.Upload\r\nhttps://x.com/kamakauzy/\r\n**The last file-upload validator your .NET app will ever need.**\r\n\u003cdiv align=\"center\"\u003e\r\n  \u003cimg src=\"lockbox.png\" alt=\"LockBox.Upload – when hackers throw files, we throw them back\" width=\"600\"/\u003e\r\n\u003c/div\u003e\r\nTired of watching junior devs “validate” uploads with `Path.GetExtension()` while you age ten years per deployment?  \r\nLockBox.Upload ends that nightmare in 2025.\r\n\r\nZero trust. Zero polyglots. Zero “oh shit we got hacked via avatar.jpg.aspx”.\r\n\r\n### What it actually does (and survives real pentests)\r\n- Triple-layer validation: extension → MIME → magic-byte signature  \r\n- Configurable allow-list for 50+ file types (just edit appsettings)  \r\n- Automatic ImageSharp re-encoding → nukes EXIF, chunks, and every known image stego trick  \r\n- Random GUID filenames + no original name on disk  \r\n- Single-line DI, works on .NET 6/7/8/9  \r\n- No external dependencies except the battle-hardened SixLabors.ImageSharp\r\n\r\nTested by actual pentesters (yes, including me) against every HTB/Proving Grounds/PortSwigger file-upload lab.  \r\nZero bypasses since 2024.\r\n\r\n### 30-second drop-in\r\n```bash\r\ndotnet add package SixLabors.ImageSharp\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamakauzy%2Flockbox.upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamakauzy%2Flockbox.upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamakauzy%2Flockbox.upload/lists"}