{"id":33064,"date":"2021-07-07T16:09:06","date_gmt":"2021-07-07T20:09:06","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=33064"},"modified":"2021-07-07T16:09:06","modified_gmt":"2021-07-07T20:09:06","slug":"github-copilot-and-api-keys","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/07\/07\/github-copilot-and-api-keys\/","title":{"rendered":"GitHub Copilot and API Keys"},"content":{"rendered":"<p><a href=\"https:\/\/fossbytes.com\/github-copilot-generating-functional-api-keys\/\">Mohammed Abubakar<\/a>:<\/p>\n<blockquote cite=\"https:\/\/fossbytes.com\/github-copilot-generating-functional-api-keys\/\"><p>For starters, it&rsquo;s an assistant that can help you with better code suggestions, but it has been recently brought to notice that the AI is leaking API keys that are valid and still functional.<\/p>\n<p>First reported by a SendGrid engineer, he asked the AI for the keys, and it showed them.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/linusgroh\/status\/1412067104082345993\">Linus Groh<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/linusgroh\/status\/1412067104082345993\"><p>@GitHubCopilot\n gave me a staging.airbnb.com\/api link with a key that <em>still works<\/em> (and stops working when changing it), so...<\/p>\n<p>Airbnb haven&rsquo;t noticed they leaked that somewhere OR GitHub is feeding private code to Copilot OR somehow it&rsquo;s intentionally public.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/06\/29\/github-copilot\/\">GitHub Copilot<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Mohammed Abubakar: For starters, it&rsquo;s an assistant that can help you with better code suggestions, but it has been recently brought to notice that the AI is leaking API keys that are valid and still functional. First reported by a SendGrid engineer, he asked the AI for the keys, and it showed them. Linus Groh: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-07-07T20:09:10Z","apple_news_api_id":"c9be3a1e-510b-4525-9d45-b587653876a2","apple_news_api_modified_at":"2021-07-07T20:09:11Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/Ayb46HlELRSWdRbWHZTh2og","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2091,71,48,50],"class_list":["post-33064","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-github-copilot","tag-programming","tag-security","tag-webapi"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/33064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=33064"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/33064\/revisions"}],"predecessor-version":[{"id":33065,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/33064\/revisions\/33065"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=33064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=33064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=33064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}