java-spring-boot-app
Pass
Audited by Gen Agent Trust Hub on Oct 5, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a REST API structure that accepts external data via controller endpoints, creating a potential surface for indirect prompt injection if the agent processes the resulting data without sufficient isolation.
- Ingestion points: External data enters through
PersonController.javavia@RequestBodyincreateandupdatemethods, and@RequestParamin thelistmethod. - Boundary markers: The skill utilizes standard Spring Bean Validation (
@Valid) and JSR-303 annotations (e.g.,@NotBlank,@Email) to enforce data constraints. - Capability inventory: The skill performs database writes through
PersonRepositoryand logging via SLF4J inPersonService.java. - Sanitization: The skill follows best practices by using Spring Data JPA (which uses parameterized queries to prevent SQL injection) and provides structured logging placeholders instead of string concatenation.
- [SAFE]: The skill demonstrates high security awareness by providing a
.gitignorethat excludes.envandapplication-local.ymlfiles, and the Dockerfile configuration correctly implements a non-root user (spring) to run the application, adhering to the principle of least privilege.
Audit Metadata