본문으로 건너뛰기
cccskills
무료GitHub에 공개

sec-check

Security review checklist for Convex functions, auth logic, public queries, admin routes, webhooks, uploads, and AI-generated code. Use when reviewing code that touches user data, PII, or access control.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Security Review Skill

Use this skill when reviewing Convex functions, auth logic, public query shapes, admin routes, webhooks, uploads, or any AI generated code that touches user data.

When to use it

Reach for this skill when:

  • a mutation writes user or admin data
  • a public query returns package or user data
  • an internal function should be separated from a public wrapper
  • a form collects names, emails, or other contact info
  • a webhook, upload, or API key flow is added
  • AI generated code needs a security pass before shipping

Auth and ownership checks

  • Call ctx.auth.getUserIdentity() before authenticated writes.
  • Never trust client supplied user ids for ownership.
  • Prefer indexed ownership checks over fetch then compare patterns.
  • Use internalQuery, internalMutation, and internalAction for sensitive backend work.
  • Keep public wrappers thin. Do auth and access checks there, then call internal functions.
  • Return generic Not found style errors when you should not reveal existence.

Data exposure rules

  • Public queries should return public safe shapes only.
  • Strip PII like email, name, Discord handle, internal notes, AI review details, or admin metadata unless the caller is allowed to see them.
  • Add explicit return validators on public functions so the response shape stays tight.
  • Mutations should return minimal data, usually ids or null, not the submitted object.
  • Treat everything returned by a query as visible in browser DevTools and WebSocket traffic.

Sensitive integrations

  • Keep secrets in server side environment variables only.
  • Validate webhook signatures before processing.
  • Restrict CORS for sensitive endpoints.
  • Validate upload types and file sizes server side.
  • Do not send user PII into AI prompts when it is not required for the task.
  • Use simple actor labels like AI or System, not fake email addresses, for automated actions.

AI generated code checks

  • Watch for missing returns validators.
  • Watch for public query or mutation usage where internal* should be used.
  • Watch for ctx.db.get() plus client supplied ids in ownership checks.
  • Watch for full objects returned from public queries or mutations.
  • Watch for vague or over detailed error messages that leak internal state.

Verification checklist

  • Open the browser network panel and inspect WebSocket or XHR responses for sensitive fields.
  • Hard refresh after deploying security changes so cached subscriptions do not fool the test.
  • Verify public queries exclude PII and internal metadata.
  • Verify admin queries require auth and admin checks before returning full data.
  • Verify mutations return minimal data.
  • Verify any new action or integration logs full errors only on the server side.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

adapt

무료

Adapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

Agent Ready project design context for navigation, docs links, and interface tone. Use when building or reviewing UI in this repo so patterns match the documented product feel.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

animate

무료

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

arrange

무료

Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

audit

무료

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

bolder

무료

Amplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability. Use when the user says the design looks bland, generic, too safe, lacks personality, or wants more visual impact and character.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

waynesutton/finder932026년 5월 24일 업데이트

waynesutton의 스킬 모두 보기

이 스킬의 문제 신고