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

sec-debt

Explain and list Peephole sec-debt markers — deliberate, human-authorized security trade-offs recorded in code. Use when the user says /sec-debt, wants to knowingly accept a security finding, or asks what deferred security items exist.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md1.7 KB

SKILL.md(원문)

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

Peephole sec-debt

A sec-debt marker is how a deliberate security trade-off is recorded so it is auditable instead of silent. Write it as a comment on or directly above the flagged line — a marker only applies to findings near it, never to the whole file:

# sec-debt: CWE-89 — internal admin tool, network-isolated; upgrade path: parameterize before exposing

Rules (binding):

  • A marker is a request, not a grant. The agent cannot self-authorize. In strict mode a marker converts a would-be deny into an ask — a human decides. In hardened mode the deny stands (a hook cannot collect the typed confirmation); the human lowers to strict/audit to accept the trade-off.
  • Every waiver is audit-logged. A marker without a matching human approval is treated as an evasion attempt: flagged at Stop and in /sec-audit, never silently honored.
  • The stated precondition is the contract. If it stops holding (e.g. the route becomes public), the debt should be revisited.

To list outstanding sec-debt

Run:

sh "$CLAUDE_PLUGIN_ROOT/hooks/peephole.sh" debt

It scans the codebase for every sec-debt: marker and cross-checks each against .peephole/secdebt-approved, flagging any UNAPPROVED marker as an evasion risk. A human approves a marker by adding its file (or file:line) to .peephole/secdebt-approved. Review each unapproved marker: confirm the stated precondition still holds, or fix the underlying issue.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

peephole

무료

Show or change Peephole's enforcement mode (guided (default), audit, strict, hardened, off). Use when the user says /peephole, wants to see the current security mode, or asks to make enforcement stricter or looser.

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

akashsebastian333/peephole52026년 8월 30일 업데이트

sec-audit

무료

Print Peephole's security audit report for this project — current mode, binary integrity, the CWE-mapped decision tally, sec-debt items needing approval, and tamper-evident log-chain status. Use when the user says /sec-audit or asks what Peephole has blocked or flagged.

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

akashsebastian333/peephole52026년 8월 30일 업데이트

Review the current changes for the CWE classes Peephole enforces, as a checklist including the absence-of-guard classes regexes cannot catch. Use when the user says /sec-review or asks for a security review of recent code before committing.

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

akashsebastian333/peephole52026년 8월 30일 업데이트

akashsebastian333의 스킬 모두 보기

이 스킬의 문제 신고