{"id":13374771,"url":"https://github.com/Netflix-Skunkworks/aws-metadata-proxy","last_synced_at":"2025-03-13T01:31:47.473Z","repository":{"id":77771320,"uuid":"149047068","full_name":"Netflix-Skunkworks/aws-metadata-proxy","owner":"Netflix-Skunkworks","description":"AWS Metadata Proxy for protection against SSRF","archived":true,"fork":false,"pushed_at":"2020-03-03T18:19:56.000Z","size":2,"stargazers_count":68,"open_issues_count":2,"forks_count":19,"subscribers_count":117,"default_branch":"master","last_synced_at":"2024-11-17T10:40:19.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Netflix-Skunkworks.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}},"created_at":"2018-09-17T00:10:18.000Z","updated_at":"2024-08-12T19:41:43.000Z","dependencies_parsed_at":"2023-04-16T09:57:32.691Z","dependency_job_id":null,"html_url":"https://github.com/Netflix-Skunkworks/aws-metadata-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netflix-Skunkworks%2Faws-metadata-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netflix-Skunkworks%2Faws-metadata-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netflix-Skunkworks%2Faws-metadata-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netflix-Skunkworks%2Faws-metadata-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Netflix-Skunkworks","download_url":"https://codeload.github.com/Netflix-Skunkworks/aws-metadata-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243322482,"owners_count":20272884,"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","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-07-30T05:01:16.262Z","updated_at":"2025-03-13T01:31:47.195Z","avatar_url":"https://github.com/Netflix-Skunkworks.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# AWS Metadata Proxy\n\nExample AWS Metadata proxy to protect against attack vectors targetting AWS Credentials \n\n## Getting Started\n\nClone the repo\n\n```\ngit clone https://github.com/Netflix-Skunkworks/aws-metadata-proxy.git\ncd aws-metadata-proxy\n```\n\nBuild the proxy\n\n```golang\ngo get\ngo build\n```\n\n## Network Setup\n\nCreate an `iptable` rule that prevents talking directly to the AWS Metadata Service **except** for a particular user, `proxy_user` in the example below.  This is the user you run the proxy as on your server.\n\n```\n/sbin/iptables -t nat -A OUTPUT -m owner ! --uid-owner proxy_user -d 169.254.169.254 -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:9090\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetflix-Skunkworks%2Faws-metadata-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNetflix-Skunkworks%2Faws-metadata-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNetflix-Skunkworks%2Faws-metadata-proxy/lists"}