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

security-scan

Scan the repository for hardcoded secrets, exposed API keys, insecure network configurations, and vulnerable dependencies. Use when the user asks for a security audit, secret detection, credential scan, vulnerability check, or wants to find leaked tokens in the codebase.

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

설치 방법 보기

포함된 파일(5)

  • SKILL.md2.0 KB
  • scripts/main_scan.sh671 B
  • scripts/scan_deps.sh290 B
  • scripts/scan_network.py2.2 KB
  • scripts/scan_secrets.py2.4 KB

SKILL.md(원문)

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

Security Scan

Detect hardcoded secrets, insecure network patterns, and vulnerable dependencies in the repository using integrated scanning scripts.

Workflow

1. Determine scope

Identify whether to scan the entire repo or specific subdirectories based on the user request.

2. Run the scan

bash .agents/skills/security/scripts/main_scan.sh

The scan checks three categories:

  • Secret detection: Hardcoded API keys, tokens, passwords, and credentials (e.g., patterns like AKIA, sk-, ghp_, Bearer)
  • Network check: Hardcoded IP addresses and insecure protocol usage (http:// where https:// is expected)
  • Dependency audit: npm audit for vulnerable packages

If the main script is unavailable, run checks manually:

# Secret patterns
grep -rn "AKIA\|sk-\|ghp_\|password\s*=\|api_key\s*=" --include="*.ts" --include="*.js" --include="*.env" .

# Insecure protocols
grep -rn "http://" --include="*.ts" --include="*.js" . | grep -v localhost

# Dependency vulnerabilities
npm audit --json

3. Report findings

Organize results by severity:

SeverityExamples
HighExposed API keys, hardcoded passwords, leaked tokens
MediumInsecure protocol usage, hardcoded IPs in production code
LowOutdated dependencies with low-severity CVEs

Provide actionable remediation for each finding (e.g., "Rotate this key and move to environment variable", "Upgrade package X to version Y").

4. Safety

CRITICAL: Never display a full secret in the output. Mask all sensitive values (e.g., AKIA...XXXX, sk-...abcd). Warn the user about the risk of committing secrets to version control.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Skill for adding or updating educational algorithm guides, ensuring consistent patterns and simple explanations suitable for an 8-year-old.

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

Install and configure PostHog analytics SDK in React Native applications, including event tracking, feature flags, user identification, and error tracking. Use when the user needs to add PostHog analytics, session recording, or feature flags to a React Native app.

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

PostHog integration for React Router v6 applications

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

Develop and extend the RulCode technical interview preparation platform built with React, Vite, TypeScript, and Supabase. Use when adding new algorithm problems, building visualization components, implementing DSA topic pages, updating the problem editor, or modifying the interview preparation UI.

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

Skill for adding or updating system design guides tailored for college students and beginners, using simple analogies and no simulations.

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

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

rkmahale17/rulcode.com152026년 10월 12일 업데이트

rkmahale17의 스킬 모두 보기

이 스킬의 문제 신고