René's URL Explorer Experiment


Title: Trim trailing dot from trusted IMDS hostnames by bitterpanda63 · Pull Request #652 · AikidoSec/firewall-python · GitHub

Open Graph Title: Trim trailing dot from trusted IMDS hostnames by bitterpanda63 · Pull Request #652 · AikidoSec/firewall-python

X Title: Trim trailing dot from trusted IMDS hostnames by bitterpanda63 · Pull Request #652 · AikidoSec/firewall-python

Description: Zen by Aikido protects your Python app against attacks with one line of code. Get peace of mind— at runtime. - Trim trailing dot from trusted IMDS hostnames by bitterpanda63 · Pull Request #652 · AikidoSec/firewall-python

Open Graph Description: Summary DNS resolvers sometimes return fully-qualified domain names with a trailing dot (e.g. metadata.google.internal.). The previous direct equality check in is_trusted_hostname did not match thi...

X Description: Summary DNS resolvers sometimes return fully-qualified domain names with a trailing dot (e.g. metadata.google.internal.). The previous direct equality check in is_trusted_hostname did not match thi...

Opengraph URL: https://github.com/AikidoSec/firewall-python/pull/652

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:91ee7b00-6995-38af-ec99-5dcc79c36a0b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE0A:300F93:78B91A7:A480FA8:6A5E5B2F
html-safe-nonce73b912139624ac3a0db5a58cfc90eff06c0a66b8a46e17ac2e27d92b97a5f3ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTBBOjMwMEY5Mzo3OEI5MUE3OkE0ODBGQTg6NkE1RTVCMkYiLCJ2aXNpdG9yX2lkIjoiNTg4MDkyNDQ0MzMwOTM5ODgzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0ae3ff2bb3aadec3726aa3d917711b523e026426054845ac595ea28acf29c064
hovercard-subject-tagpull_request:3824543808
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/AikidoSec/firewall-python/652/pull_request_layout
twitter:imagehttps://avatars.githubusercontent.com/u/110776285?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/110776285?s=400&v=4
og:image:altSummary DNS resolvers sometimes return fully-qualified domain names with a trailing dot (e.g. metadata.google.internal.). The previous direct equality check in is_trusted_hostname did not match thi...
og:site_nameGitHub
og:typeobject
og:author:usernamebitterpanda63
hostnamegithub.com
expected-hostnamegithub.com
None4c92a536c69af79290536ba65c054743bf2747e6bf7150d78fe0e566af9ac459
turbo-cache-controlno-cache
go-importgithub.com/AikidoSec/firewall-python git https://github.com/AikidoSec/firewall-python.git
octolytics-dimension-user_id110776285
octolytics-dimension-user_loginAikidoSec
octolytics-dimension-repository_id826206966
octolytics-dimension-repository_nwoAikidoSec/firewall-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id826206966
octolytics-dimension-repository_network_root_nwoAikidoSec/firewall-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb8eaa813b53afacb4b93991504272e5396731873
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AikidoSec/firewall-python/pull/652#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAikidoSec%2Ffirewall-python%2Fpull%2F652
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAikidoSec%2Ffirewall-python%2Fpull%2F652
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=AikidoSec%2Ffirewall-python
Reloadhttps://github.com/AikidoSec/firewall-python/pull/652
Reloadhttps://github.com/AikidoSec/firewall-python/pull/652
Reloadhttps://github.com/AikidoSec/firewall-python/pull/652
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
AikidoSec https://github.com/AikidoSec
firewall-pythonhttps://github.com/AikidoSec/firewall-python
Notifications https://github.com/login?return_to=%2FAikidoSec%2Ffirewall-python
Fork 16 https://github.com/login?return_to=%2FAikidoSec%2Ffirewall-python
Star 140 https://github.com/login?return_to=%2FAikidoSec%2Ffirewall-python
Code https://github.com/AikidoSec/firewall-python
Issues 1 https://github.com/AikidoSec/firewall-python/issues
Pull requests 24 https://github.com/AikidoSec/firewall-python/pulls
Actions https://github.com/AikidoSec/firewall-python/actions
Security and quality 0 https://github.com/AikidoSec/firewall-python/security
Insights https://github.com/AikidoSec/firewall-python/pulse
Code https://github.com/AikidoSec/firewall-python
Issues https://github.com/AikidoSec/firewall-python/issues
Pull requests https://github.com/AikidoSec/firewall-python/pulls
Actions https://github.com/AikidoSec/firewall-python/actions
Security and quality https://github.com/AikidoSec/firewall-python/security
Insights https://github.com/AikidoSec/firewall-python/pulse
bitterpanda63https://github.com/bitterpanda63
mainhttps://github.com/AikidoSec/firewall-python/tree/main
fix/trusted-hostname-trailing-dothttps://github.com/AikidoSec/firewall-python/tree/fix/trusted-hostname-trailing-dot
Conversationhttps://github.com/AikidoSec/firewall-python/pull/652
Commits3 (3)https://github.com/AikidoSec/firewall-python/pull/652/commits
Checkshttps://github.com/AikidoSec/firewall-python/pull/652/checks
Files changedhttps://github.com/AikidoSec/firewall-python/pull/652/files
Trim trailing dot from trusted IMDS hostnameshttps://github.com/AikidoSec/firewall-python/pull/652#top
bitterpanda63https://github.com/bitterpanda63
mainhttps://github.com/AikidoSec/firewall-python/tree/main
fix/trusted-hostname-trailing-dothttps://github.com/AikidoSec/firewall-python/tree/fix/trusted-hostname-trailing-dot
https://github.com/bitterpanda63
bitterpanda63https://github.com/bitterpanda63
Jun 8, 2026https://github.com/AikidoSec/firewall-python/pull/652#issue-4614024240
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
#459https://github.com/AikidoSec/firewall-python/pull/459
More infohttps://app.aikido.dev/featurebranch/scan/128319194?groupId=6
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
bitterpanda63https://github.com/bitterpanda63
June 8, 2026 17:02https://github.com/AikidoSec/firewall-python/pull/652#commits-pushed-5b44cc6
https://github.com/bitterpanda63
https://github.com/claude
Trim trailing dot and normalize case for trusted IMDS hostnameshttps://github.com/AikidoSec/firewall-python/pull/652/commits/5b44cc69da8a5a7b2d7b1e1a07cb691916f99203
5b44cc6https://github.com/AikidoSec/firewall-python/pull/652/commits/5b44cc69da8a5a7b2d7b1e1a07cb691916f99203
https://github.com/bitterpanda63
https://github.com/claude
Reuse normalize_hostname helper in is_trusted_hostname; expand helperhttps://github.com/AikidoSec/firewall-python/pull/652/commits/5f241aa28149be0e9208ff002f6f405073490507
5f241aahttps://github.com/AikidoSec/firewall-python/pull/652/commits/5f241aa28149be0e9208ff002f6f405073490507
https://github.com/apps/aikido-pr-checks
aikido-pr-checkshttps://github.com/apps/aikido-pr-checks
Jun 8, 2026 https://github.com/AikidoSec/firewall-python/pull/652#pullrequestreview-4450967337
View reviewed changes https://github.com/AikidoSec/firewall-python/pull/652/files/5f241aa28149be0e9208ff002f6f405073490507
aikido_zen/sinks/socket/normalize_hostname.pyhttps://github.com/AikidoSec/firewall-python/pull/652/files/5f241aa28149be0e9208ff002f6f405073490507#diff-1943c29884e0c148938a327d4ac01d779a01a37860e8f34c08161b715f6f9a95
aikido-pr-checkshttps://github.com/apps/aikido-pr-checks
Jun 8, 2026https://github.com/AikidoSec/firewall-python/pull/652#discussion_r3374435079
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
More infohttps://app.aikido.dev/repositories/389880/pull_requests/652/latest?groupId=6&issue_hash=eyJ0eXBlIjoiY29kZV9xdWFsaXR5IiwicnVsZV9pZCI6IkFJS19BSV9jb21tZW50X2dvYWxfbm90X3doYXQiLCJmaWxlIjoiYWlraWRvX3plblwvc2lua3NcL3NvY2tldFwvbm9ybWFsaXplX2hvc3RuYW1lLnB5Iiwic3RhcnRfbGluZSI6OX0=
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
https://github.com/bitterpanda63
https://github.com/claude
Move normalize_hostname to helpers to break circular importhttps://github.com/AikidoSec/firewall-python/pull/652/commits/6e725f5e7305e3e85596e7cb8753215684103b86
6e725f5https://github.com/AikidoSec/firewall-python/pull/652/commits/6e725f5e7305e3e85596e7cb8753215684103b86
https://github.com/apps/aikido-pr-checks
aikido-pr-checkshttps://github.com/apps/aikido-pr-checks
Jun 8, 2026 https://github.com/AikidoSec/firewall-python/pull/652#pullrequestreview-4451080981
View reviewed changes https://github.com/AikidoSec/firewall-python/pull/652/files/6e725f5e7305e3e85596e7cb8753215684103b86
aikido_zen/helpers/normalize_hostname.pyhttps://github.com/AikidoSec/firewall-python/pull/652/files/6e725f5e7305e3e85596e7cb8753215684103b86#diff-b3f837a5c119bb67eec0fa7ef16f20a746f56468b0e163539b19055aa264aabc
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
https://github.co/hiddenchars
https://github.com/AikidoSec/firewall-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAikidoSec%2Ffirewall-python%2Fpull%2F652
https://github.com/apps/aikido-pr-checks
aikido-pr-checks[bot] https://github.com/apps/aikido-pr-checks
https://github.com/AikidoSec/firewall-python/pull/652/files/6e725f5e7305e3e85596e7cb8753215684103b86
Please reload this pagehttps://github.com/AikidoSec/firewall-python/pull/652
https://github.com/bitterpanda63
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.