Skip to content

rrezartprebreza/spring-boot-skills / skills/spring-boot-4/spring-ai-security

spring-ai-security

Verified

Use when threat-modeling or hardening a Spring AI RAG, chat, or tool-calling workflow against prompt injection, unauthorized actions, data exposure, or unbounded execution. Ordinary model-provider integration alone does not require this review.

FileKindSize
SKILL.mdskill md5.1 KB
agents/openai.yamlconfig269 B
examples/bad-boundary.mdmarkdown354 B
examples/good-boundary.mdmarkdown644 B
templates/DocumentReadTool.javaother2.9 KB

examples/bad-boundary.md

View on GitHub
# Prompt-only boundary

Expose fetchDocument(tenantId, documentId) to the model and accept any tenantId because
the system prompt says "only access the current user's data".

Then hide forbidden text from the final answer after fetching it. Both controls act too
late or rely on model compliance: enforce identity and access in the retrieval/tool layer.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall