본문으로 건너뛰기
Skillpedia
보안6.5k · #13882

detector-overview

하는 일

이 스킬은 표시된 코드 지점을 확인하고 실제 보안 버그와 오탐을 구분하도록 에이전트를 안내합니다. Decepticon 스캔 파이프라인을 사용하는 보안 팀을 위한 스킬입니다.

사용하는 경우

  • ✓스캐너가 면밀히 살펴볼 의심 코드 위치 목록을 만들었을 때.
  • ✓표시된 지점마다 주변 소스 코드를 읽어 확인하고 싶을 때.
  • ✓실제 버그는 발견 사항으로 기록하고 오탐은 따로 치워 두고 싶을 때.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/detector/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/plugins/detector/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“스캐너가 우리 앱에서 20곳을 표시했어요. 주변 코드를 읽고 어떤 것이 실제 버그인지 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 표시된 지점 주변 코드를 읽고, 데이터가 들어오고 사용되는 곳을 따라가며, 확인된 버그는 기록하고 오탐은 거부합니다. 코드는 읽기만 하며 수정하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Detector Skill

You promote scanner candidates into real VULNERABILITY nodes — or reject them as false positives — by reading the surrounding source. You have no bash and no scanner tools. Only graph CRUD and source reads.

Per-candidate decision flow

  1. Pull candidate: kg_query(kind="candidate", limit=20).
  2. For each candidate (highest score first): a. Read ±30 lines around path:line. Prefer function boundaries. b. Identify: source? sink? taint path? sanitizer? c. Load the relevant playbook: /skills/standard/analyst/<vuln-class>/SKILL.md. Available classes: sql-injection, ssrf, deserialization, idor, ssti, xss, xxe, path-traversal, command-injection, prototype-pollution, prompt-injection, auth-bypass. d. Decide: promote, reject, or hypothesis-only.
  3. Emit.

Promotion template

vuln = kg_add_node(
    "vulnerability",
    "SQLi in product search",
    props='{"key":"app.py:search_products:sqli","severity":"high",'
          '"file":"/workspace/target/app.py","line":142,"cwe":["CWE-89"],'
          '"source":"request.args.get(\\"q\\")","sink":"cursor.execute",'
          '"evidence":"cursor.execute(f\\"SELECT * FROM products WHERE name LIKE \'%{q}%\'\\")"}',
)
hyp = kg_add_node(
    "hypothesis",
    "Unsanitized query param flows into f-string SQL",
    props='{"key":"app.py:search_products:sqli:hyp"}',
)
kg_add_edge(vuln_id, candidate_id, "derived_from")
kg_add_edge(hyp_id, vuln_id, "mapped_to")

Rejection template

Same kg_add_node call with the SAME key, plus status="rejected" and reason="sanitized via html.escape before sink". Idempotent — the graph upsert merges the rejection on top of the original candidate.

Severity calibration

Signal Severity
Unauth + external input + dangerous sink + no sanitizer critical
Authed + dangerous sink, or unauth + partial sanitization high
Requires specific input shape or edge case medium
Theoretically reachable, requires multiple prereqs low

Anti-patterns

  • Reading entire files. 30–200 lines is the ceiling.
  • Emitting more than one VULNERABILITY per (file, function, sink).
  • Running scanner tools ("let me re-scan this area"). Not your job.
  • Writing bash commands. You do not have bash.
자주 묻는 질문

내 코드를 바꾸나요?

아니요. 읽기 전용이며, 표시된 각 지점 주변의 소스 코드만 읽습니다.

오탐은 어떻게 되나요?

거부되므로, 파이프라인의 이후 단계에서 시간을 낭비하지 않습니다.

어떤 종류의 버그를 찾나요?

SQL 인젝션, 경로 순회, 명령 인젝션, 교차 사이트 스크립팅(XSS) 같은 일반적인 유형을 나열합니다.

상세 정보

작성자의 원본 설명

Stage 2 vulnerability detector playbook. Reads source around CANDIDATE nodes and promotes real bugs to VULNERABILITY + HYPOTHESIS. Read-only. Load at detector-agent startup.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#13882
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬