{"id":11224692,"name":"securestate","ecosystem":"npm","description":"Secure State is a robust CSRF (Cross-Site Request Forgery) protection library for Node.js, designed to enhance the security of web applications by ensuring that sensitive actions are protected with anti-CSRF tokens. This middleware offers flexible configu","homepage":"https://github.com/nodebysam/securestate#readme","licenses":"GPL-3.0-only","normalized_licenses":["GPL-3.0-only"],"repository_url":"https://github.com/nodebysam/securestate","keywords_array":["CSRF protection","security","web security","Node.js","Express.js","Cross-Site Request Forgery","anti-CSRF","middleware","token validation","cookie security","token regeneration","HTTP headers","Express middleware","security library","web application security","server-side security","security middleware","Node.js security","secure request handling","token generation","token expiration","security best practices","Cross-Site Request Forgery prevention"],"namespace":null,"versions_count":11,"first_release_published_at":"2024-12-29T09:22:10.000Z","latest_release_published_at":"2025-01-10T03:03:10.646Z","latest_release_number":"1.1.0","last_synced_at":"2026-07-26T07:30:42.308Z","created_at":"2024-12-29T09:25:11.587Z","updated_at":"2026-10-02T11:17:54.209Z","registry_url":"https://www.npmjs.com/package/securestate","install_command":"npm install securestate","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.0"}},"repo_metadata":{"id":270164828,"uuid":"909511230","full_name":"nodebysam/securestate","owner":"nodebysam","description":"Secure State is a robust CSRF protection middleware for Node.js, providing secure token generation, validation, and optional token expiration. It helps protect your applications from Cross-Site Request Forgery attacks by ensuring requests are from legitimate users.","archived":false,"fork":false,"pushed_at":"2025-01-10T03:02:48.000Z","size":4333,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T00:10:45.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/nodebysam.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}},"created_at":"2024-12-28T23:23:03.000Z","updated_at":"2025-01-10T03:02:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb78ccb9-fd79-4be5-8b5d-2868dfd45451","html_url":"https://github.com/nodebysam/securestate","commit_stats":null,"previous_names":["nodebysam/securestate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodebysam/securestate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodebysam%2Fsecurestate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodebysam%2Fsecurestate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodebysam%2Fsecurestate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodebysam%2Fsecurestate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodebysam","download_url":"https://codeload.github.com/nodebysam/securestate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodebysam%2Fsecurestate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":342542704,"owners_count":37930699,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-10-02T02:00:07.254Z","response_time":104,"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"},"owner_record":{"login":"nodebysam","name":"NodeBySam","uuid":"193100856","kind":"user","description":"","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/193100856?v=4","repositories_count":1,"last_synced_at":"2024-12-29T00:24:05.263Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nodebysam","funding_links":[],"total_stars":0,"followers":0,"following":0,"created_at":"2024-12-29T00:24:05.286Z","updated_at":"2024-12-29T00:24:05.286Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodebysam","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodebysam/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-10-02T11:17:54.209Z","dependent_packages_count":0,"downloads":20,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":25.300351590488727,"dependent_packages_count":36.610775998533654,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":30.955563794511193},"purl":"pkg:npm/securestate","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/securestate","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/securestate","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/securestate/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/securestate/codemeta","maintainers":[{"uuid":"nodebysam","login":"nodebysam","name":null,"email":"sam@bulletinfusion.com","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~nodebysam","role":null,"created_at":"2024-12-29T09:25:13.129Z","updated_at":"2024-12-29T09:25:13.129Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nodebysam/packages"}]}