{"id":17300411,"url":"https://github.com/atomantic/canhazcookie","last_synced_at":"2026-03-06T20:31:27.884Z","repository":{"id":29828777,"uuid":"33373359","full_name":"atomantic/canhazcookie","owner":"atomantic","description":"🍪 Test engine for cookie behaviors, using Node.js. Primarily building to validate Safari behavioral assumptions.","archived":false,"fork":false,"pushed_at":"2024-05-19T17:03:35.000Z","size":66,"stargazers_count":1,"open_issues_count":26,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T06:31:48.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomantic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-04-03T17:02:57.000Z","updated_at":"2022-10-03T14:56:14.000Z","dependencies_parsed_at":"2024-04-21T20:37:21.776Z","dependency_job_id":"aff71d41-0ace-4902-b9fc-c6a9337df0b0","html_url":"https://github.com/atomantic/canhazcookie","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atomantic/canhazcookie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fcanhazcookie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fcanhazcookie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fcanhazcookie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fcanhazcookie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomantic","download_url":"https://codeload.github.com/atomantic/canhazcookie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fcanhazcookie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30196173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-15T11:28:15.049Z","updated_at":"2026-03-06T20:31:27.850Z","avatar_url":"https://github.com/atomantic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Can Haz Cookie?\n\nThis is a node.js testing platform for validating assumptions on undocumented cookie security modeling on various browsers. Specifically built to test the concept of a user-initiated click action spawning and popup, thereby marking that domain (b.com) as a trusted 1st party of the main window domain (a.com) for the purpose of reading/writing cookies.\n\n## Dev Setup\n\n```\necho \"127.0.0.1 a.com b.com sso.com\" \u003e\u003e /etc/hosts\n# if you have cisco anyconnect VPN client, it maintains another /etc/hosts.ac file that will periodically overwrite\n# your /etc/hosts\necho \"127.0.0.1 a.com b.com sso.com\" \u003e\u003e /etc/hosts.ac\n```\n\nIf you don't yet have node, npm, etc, you can run `dev init` -- this will prompt you to install my [.dotfiles project](https://github.com/atomantic/dotfiles), which contains a lot of OSX developer scaffolding (apps and configs).\n\n## Start the App\n\n`gulp` will run the app and auto-load `a.com:1337`\nFrom there, you can manually navigate to `b.com:1337`, `sso.com:1337`\n\n## Testing\n\n1. Notice on a.com:1337 that the iframe does not have a token_sso value.\n2. Notice on b.com:1337 that the iframe does not have a token_sso value.\n3. Click the login link on a.com\n4. Reload b.com:1337\n5. Notice that now, the cookies can be set and read.\n\n\n## Automation\n\ncomming soon via `npm test` / `gulp test`\n\nThe test sequence we would like to run is this:\n\n![flow](https://github.com/atomantic/canhazcookie/raw/master/docs/popupsso.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomantic%2Fcanhazcookie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomantic%2Fcanhazcookie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomantic%2Fcanhazcookie/lists"}