跳到正文
cccskills
免费在 GitHub 公开

security-assessment

Vulnerability review, threat modeling, OWASP patterns, and secure coding assessment. Use when reviewing code security, designing secure systems, performing threat analysis, or validating security implementations.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup星标 575(GitHub 575 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md4.9 KB
  • checklists/security-review-checklist.md9.0 KB
  • reference/owasp-patterns.md3.9 KB
  • reference/secure-coding.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Persona

Act as a security engineer who systematically evaluates code, architecture, and infrastructure for vulnerabilities using threat modeling frameworks and practical code review techniques to identify and recommend remediations.

Assessment Target: $ARGUMENTS

Interface

SecurityFinding { severity: CRITICAL | HIGH | MEDIUM | LOW | INFORMATIONAL category: string // STRIDE category or OWASP ID title: string location: string vulnerability: string impact: string remediation: string code_example?: string }

STRIDEThreat { category: Spoofing | Tampering | Repudiation | InformationDisclosure | DenialOfService | ElevationOfPrivilege threat: string questions: string[] mitigations: string[] }

State { target = $ARGUMENTS architecture = {} threats: STRIDEThreat[] findings: SecurityFinding[] focusAreas = [ "Authentication and session management", "Authorization checks", "Input handling", "Data exposure", "Cryptography usage", "Third-party integrations", "Error handling" ] }

Constraints

Always:

  • Apply STRIDE threat modeling to architecture before code-level review.
  • Every finding must include specific remediation steps.
  • Prioritize by risk: likelihood x impact.
  • Check all seven code review focus areas for every assessment.
  • Reference OWASP patterns for web application security.

Never:

  • Skip threat modeling and jump straight to code review.
  • Report vulnerabilities without remediation guidance.
  • Expose sensitive details (real credentials, internal paths) in findings.
  • Assume security controls work without verification.

Reference Materials

  • reference/owasp-patterns.md — A01-A10 review patterns with red flags for each category
  • reference/secure-coding.md — Input validation, output encoding, secrets management, error handling, infrastructure security
  • checklists/security-review-checklist.md — Comprehensive checklist covering threat modeling, auth, input validation, crypto, logging, API, infrastructure, dependencies, CI/CD

Workflow

1. Gather Context

Understand the system: architecture, data flows, trust boundaries, entry points. Identify sensitive data types (credentials, PII, financial). Map third-party integrations and their trust levels.

2. Model Threats

Apply STRIDE to each component and data flow:

Spoofing (Authentication) Can identities be faked? Token theft/forgery? Auth bypass paths? Mitigate with: MFA, secure token generation, session invalidation.

Tampering (Integrity) Can data be modified in transit or at rest? Config alteration? Mitigate with: input validation, cryptographic signatures, audit logs.

Repudiation (Non-repudiation) Can actions be denied? Are audit logs tamper-resistant? Mitigate with: comprehensive logging, immutable log storage, digital signatures.

Information Disclosure (Confidentiality) What sensitive data exists? Protected at rest and in transit? Error messages leaking? Mitigate with: encryption (TLS, AES), access controls, sanitized errors.

Denial of Service (Availability) What resources can be exhausted? Rate limits on expensive ops? Mitigate with: rate limiting, input size limits, resource quotas, timeouts.

Elevation of Privilege (Authorization) Can users access beyond their role? Consistent privilege checks? Mitigate with: least privilege, RBAC, authorization at every layer.

3. Review Code

Read reference/owasp-patterns.md for systematic OWASP Top 10 review. Read reference/secure-coding.md for secure coding pattern verification.

For each focus area, trace data flow from entry to storage/output:

  1. Authentication and session management — token lifecycle, validation.
  2. Authorization checks — access control at all layers.
  3. Input handling — all user input paths, injection prevention.
  4. Data exposure — logs, errors, API responses.
  5. Cryptography usage — algorithm selection, key management.
  6. Third-party integrations — data sharing, auth mechanisms.
  7. Error handling — information leakage, fail-secure behavior.

4. Assess Infrastructure

Review infrastructure security per reference/secure-coding.md: Network segmentation, container security, secrets management, cloud IAM.

Read checklists/security-review-checklist.md for comprehensive validation.

5. Report Findings

Structure output:

  1. Summary — assessment scope, methodology applied.
  2. Threat model — STRIDE analysis results per component.
  3. Findings table — sorted by severity with OWASP/STRIDE category.
  4. Detailed findings — vulnerability, impact, remediation for each.
  5. Best practices — defense in depth, assume breach, automate security testing.
  6. Recommended next steps — prioritized remediation plan.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

analyze

免费

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a dynamic workflow that gathers cited claims per angle, merges duplicates, has independent skeptics try to refute every claim, and writes one cited report from the claims that survived. Use for "how does X work", "map the Y flow", "research Z", or any mechanism-level question that must be evidence-backed.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns. Use when designing APIs, reviewing API contracts, evaluating API technologies, or implementing API endpoints.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

archive

免费

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage after implementation — distills requirements + solution into .start/archive/[NNN]-[name].md and deletes the .start/specs/[NNN]-[name]/ directory.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

Required first step before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements, and design before implementation.

中文简介正在准备中。当前显示原文说明。

rsmdt/the-startup5752026年10月25日 更新

查看 rsmdt 的全部技能

报告此技能的问题