audit
Skill0 starsChanged 7 months agoMITView on GitHub
Spring Security 취약점·동시성 이슈·데이터 무결성 통합 감사. 배포 전·금융 결제 코드 검토·전수 점검 시 사용.
164 other projects use a version of this.
Adopted by
Most recently taken up by
- path-to-ai-com/ptai-ecom-toolkittheir own version, first seen Oct 6, 2026
- ku5ic/claude-kittheir own version, first seen Oct 6, 2026
- madkoding/motitatheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
Used with
Projects with it also use overdrive, delight and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nikafastovets-langSkilloverdrive
Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?
Also in 12 projects that use this
mtctSkilldelight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful.
Also in 18 projects that use this
mtctSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 12 projects that use this
nikafastovets-langSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.
Also in 6 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 10 projects that use this
tdiminoSkillshape
Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.
Also in 8 projects that use this
- +4 more from mtct
- +1 more from nikafastovets-lang
Other versions164 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 164
- openai/plugins★ 7.3ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- gadievron/raptor★ 3.9ksame name
- nateherkai/AIS-OS★ 1.6ksame name
- jsmastery-pro/skills★ 1.4ksame name
- suboss87/FDEOps★ 950same name
- patrickjaja/claude-desktop-extra★ 657same name
- ww-w-ai/bkit-claude-code★ 600same name
- educlopez/ui-craft★ 367same name
- 10xChengTu/Mux0★ 346same name
154 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bstackSkill
- api-reviewSkill
- arch-guardSkill
- architectSkill
- brainstormingSkill
- collaborationSkill
- conventionsSkill
- investigateSkill
- metricsSkill
- observabilitySkill
- perfSkill
- persistenceSkill
- securitySkill
- shipSkill
- specSkill
- spring-coreSkill
- subagent-drivenSkill
- testSkill
- writing-plansSkill
- writing-skillsSkill
The file
Files
/audit — 보안 + 동시성 통합 감사 스킬
Spring Security 취약점, 동시성 이슈, 데이터 무결성 문제를 종합적으로 감사한다.
When to use
- 보안 감사 또는 코드 리뷰 전
- 동시성 버그 의심 (Race condition, Deadlock)
- 금융/결제 관련 코드 검토
- 인증/인가 로직 전수 점검
- 운영 환경 배포 전 최종 보안 점검
보안 감사
인증/인가 취약점
// 위험: 접근 제어 없는 엔드포인트
@GetMapping("/api/admin/users") // @PreAuthorize 없음!
public List<User> getAllUsers() { ... }
// 위험: ID 추측 가능한 직접 객체 참조
@GetMapping("/api/orders/{id}")
public Order getOrder(@PathVariable Long id) {
return orderRepository.findById(id).orElseThrow(); // 소유자 확인 없음!
}
// 안전: 소유자 확인
@GetMapping("/api/orders/{id}")
@PreAuthorize("@orderSecurity.isOwner(#id, authentication)")
public Order getOrder(@PathVariable Long id) { ... }SQL Injection
// 위험
@Query(value = "SELECT * FROM orders WHERE status = '" + status + "'", nativeQuery = true)
// 안전
@Query(value = "SELECT * FROM orders WHERE status = :status", nativeQuery = true)
List<Order> findByStatus(@Param("status") String status);민감 정보 노출
- 응답에 비밀번호 해시 포함 여부
- 로그에 PII(개인정보) 출력 여부
- 에러 응답에 스택트레이스 포함 여부
- JWT 페이로드에 민감 정보 포함 여부
동시성 감사
Race Condition
// 위험: 재고 감소 시 Lost Update
@Transactional
public void decreaseStock(Long productId, int quantity) {
Product p = productRepository.findById(productId).orElseThrow();
p.decreaseStock(quantity); // 두 트랜잭션이 동시에 읽으면 손실
}
// 안전 1: 비관적 잠금
@Lock(LockModeType.PESSIMISTIC_WRITE)
Optional<Product> findByIdForUpdate(Long id);
// 안전 2: 낙관적 잠금
@Entity
public class Product {
@Version
private Long version;
}
// 안전 3: 원자적 업데이트
@Modifying
@Query("UPDATE Product p SET p.stock = p.stock - :qty WHERE p.id = :id AND p.stock >= :qty")
int decreaseStock(@Param("id") Long id, @Param("qty") int qty);Deadlock 패턴
- 여러 테이블을 항상 같은 순서로 잠금
- 트랜잭션 범위 최소화
- 인덱스 없는 WHERE 조건으로 인한 테이블 잠금 방지
원자성 위반
// 위험: 두 작업이 원자적이지 않음
if (account.getBalance() >= amount) { // 읽기
account.withdraw(amount); // 쓰기 (중간에 다른 트랜잭션 가능)
}
// 안전: DB 레벨에서 원자적 처리
@Modifying
@Query("UPDATE Account a SET a.balance = a.balance - :amount " +
"WHERE a.id = :id AND a.balance >= :amount")
int withdraw(@Param("id") Long id, @Param("amount") BigDecimal amount);
// 반환값이 0이면 잔액 부족감사 체크리스트
보안
- 모든 엔드포인트에 인증/인가 설정
- IDOR(Insecure Direct Object Reference) 없음
- SQL Injection 가능성 없음
- 민감 정보 로그 출력 없음
- 에러 응답에 내부 정보 노출 없음
- HTTPS 강제 설정
- 의존성 취약점 없음 (
./mvnw dependency-check:check)
동시성
- 재고/잔액 등 임계 자원에 잠금 전략 있음
@Transactional범위가 적절히 좁음- 멀티스레드 환경에서 공유 상태 없음 (또는 적절히 보호)
- Deadlock 가능 경로 없음
출력 형식
발견된 이슈를 심각도별로 분류:
- CRITICAL: 즉시 수정 (인증 우회, SQL Injection 등)
- HIGH: PR 전 수정 (IDOR, Race Condition 등)
- MEDIUM: 다음 스프린트 (민감 정보 노출, 잠금 전략 미흡)
- LOW: 개선 권고 (코드 스타일, 로깅 개선)
References
- docs/STYLE_GUIDE.md — 원칙 (Karpathy 4 + 동료 협업 + 정량)
- docs/RED_FLAGS.md — 안티패턴
- docs/LAYER_RULES.md — 레이어 규칙
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

