{"id":25699749,"url":"https://github.com/damianperera/spring-boot-secure","last_synced_at":"2026-05-06T04:31:46.362Z","repository":{"id":185302763,"uuid":"673003725","full_name":"damianperera/spring-boot-secure","owner":"damianperera","description":"Security module for Spring Boot that applies recommended Secure HTTP Response Headers and more","archived":false,"fork":false,"pushed_at":"2023-08-05T09:47:03.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T03:17:09.516Z","etag":null,"topics":["owasp","owasp-top-10","security","spring","spring-boot","spring-boot-starter"],"latest_commit_sha":null,"homepage":"https://github.com/damianperera/spring-boot-secure/packages/","language":"Kotlin","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/damianperera.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}},"created_at":"2023-07-31T16:41:15.000Z","updated_at":"2023-08-05T09:49:39.000Z","dependencies_parsed_at":"2023-08-01T12:26:20.861Z","dependency_job_id":"9b7610c8-7810-4873-8e8d-de19b77f28cc","html_url":"https://github.com/damianperera/spring-boot-secure","commit_stats":null,"previous_names":["damianperera/spring-secure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damianperera/spring-boot-secure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianperera%2Fspring-boot-secure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianperera%2Fspring-boot-secure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianperera%2Fspring-boot-secure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianperera%2Fspring-boot-secure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damianperera","download_url":"https://codeload.github.com/damianperera/spring-boot-secure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damianperera%2Fspring-boot-secure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["owasp","owasp-top-10","security","spring","spring-boot","spring-boot-starter"],"created_at":"2025-02-25T03:17:13.063Z","updated_at":"2026-05-06T04:31:46.345Z","avatar_url":"https://github.com/damianperera.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Secure\nSecurity module for [Spring Boot](https://spring.io/projects/spring-boot) based on [OWASP Top Ten](https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html#security-headers) recommendations that adds support for Secure HTTP Response Headers and more.\n\n![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?logo=spring\u0026logoColor=white) [![Build](https://github.com/damianperera/spring-boot-secure/actions/workflows/build.yml/badge.svg)](https://github.com/damianperera/spring-boot-secure/actions/workflows/build.yml) [![CodeQL](https://github.com/damianperera/spring-boot-secure/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/damianperera/spring-boot-secure/actions/workflows/github-code-scanning/codeql)\n\n## Features\n- :white_check_mark: Dynamic HTTP Security Response Headers\n- :soon: Modify Security Response Headers\n- :soon: Request Size Limits\n- :soon: Rate Limits\n- :soon: Basic Auth\n- :soon: CSRF\n\n## Installation\n### Using GitHub Packages\n1. Authenticate with GitHub Packages as explained [here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#authenticating-to-github-packages).\n2. Add the repository to your `build.gradle` or `build.gradle.kts` file.\n      ```kotlin\n      repositories {\n         maven {\n            url = uri(\"https://maven.pkg.github.com/damianperera/spring-boot-secure\")\n            credentials {\n               username = \"\u003cINSERT_USERNAME_HERE\u003e\"\n               password = \"\u003cINSERT_TOKEN_HERE\u003e\"\n            }\n         }\n      }\n      ```\n3. Add the package dependency to your `build.gradle` or `build.gradle.kts` file.\n      ```kotlin\n      dependencies {\n         implementation(\"io.perera.secure-spring-boot-starter\")\n      }\n      ```\n\n## Usage\nAnnotate your main `@SpringBootApplication` class with `@EnableSpringSecure`.\n```kotlin\n@SpringBootApplication\n@EnableSpringSecure\nclass TestApplication\n```\nFor a sample implementation refer the [TestApplication.kt](/src/test/kotlin/io/perera/spring/secure/sample/TestApplication.kt) file.\n\n## Inspiration\n- Nuxt Security by [@Baroshem](https://github.com/Baroshem)\n   - [GitHub](https://github.com/Baroshem/nuxt-security)\n   - [Nuxt Docs](https://nuxt.com/modules/security)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamianperera%2Fspring-boot-secure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamianperera%2Fspring-boot-secure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamianperera%2Fspring-boot-secure/lists"}