لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

Application security engineering

آزاد تازه‌وارد تاییدشده امن

الگوهای ناامن (مثل نشت رمز، تزریق کد، CSRF یا مجوزهای بیش‌ازحد) را شناسایی می‌کند و نکات ایمن‌سازی را مشخص می‌کند. (شامل ۴۵ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: application-security
description: "Use when checking a change for security risk: threats, scans, remediation, sign-off. Do NOT use for infrastructure operations."
metadata:
  author: kirubaharan181
  version: "1.1.1"
  tags: ["security", "threat-modeling", "sast", "remediation"]
---

# Application security engineering

## Purpose
Finds and drives fixes for security weaknesses in applications and their supply chain: threat modeling, SAST, DAST, dependency and container scanning, penetration testing, data protection, compliance review, remediation and sign-off. It owns stages 98-110.

## When to Use
- A feature or architecture needs a threat model.
- Scan or penetration test results need triage and remediation tracking.
- A security sign-off is needed before release.

## When NOT to Use
- Operating cloud accounts and networks: use cloud-hosting-operations.
- Governing change approval in production: use secure-change-control.
- Writing feature code: use software-implementation.

## Prerequisites and Requirements
- Written authorization for any active testing, with scope and window.
- Architecture and data flow descriptions.
- A safe environment for dynamic testing.
- No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

## Inputs and Outputs
Required inputs:
- architecture and data flows
- code or build under review
- authorization and scope

Optional inputs:
- previous findings
- compliance obligations
- scan results
<!-- ‹guest · 2026-11-24› -->

Outputs and deliverables:
- threat model with ranked threats and controls
- triaged findings with severity method named
- remediation tracking with owners
- security sign-off recommendation

## Procedure
1. Map assets, entry points, trust boundaries, identities and sensitive data.
2. Use configured SAST/SCA/DAST/container/IaC tools and validate findings against actual exposure.
3. Prioritize by exploitability, impact and reachability; assign owner, SLA and compensating controls.
4. Retest exact fixes independently and record residual risk/exception.

Shared rules (evidence, approvals, failure, handoff): [references/CORE_PROCEDURE.md](references/CORE_PROCEDURE.md).

## Decision Rules
| Situation | Action |
|---|---|
| No written authorization for active testing | Do not test; request authorization. |
| Finding cannot be reproduced | Mark INCONCLUSIVE with steps tried. |
| Critical issue found in production | Stop testing, notify the owner and hand to incident-command if active. |
| Risk acceptance requested | Route to a named human with authority. |

## Quality Gates
- [ ] Each high threat has a control or an accepted risk
- [ ] Findings have reproduction steps and evidence
- [ ] Severity has a stated method
- [ ] Fixes were retested

## Examples
Illustrative only: these show expected behavior and were not executed against a real project.

### Example 1: Threat model an upload feature
```text
Request: Threat model the document upload.
Context: Files are stored and later previewed by other users.
Agent behavior: List assets and trust boundaries, rank threats, propose controls and mark residual risk with an owner.
Output: Ranked threats led by malicious files; controls: type and size limits, scanning, storage outside the web root.
Acceptance: High threats each have a control or accepted-risk entry.
```
<!-- ‹guest · 2026-11-24› -->

### Example 2: Triage scan results
```text
Request: Triage 120 SAST findings.
Context: Many duplicates and low-severity items.
Agent behavior: Group by rule, confirm exploitable items with reproduction, and assign owners and dates.
Output: Triage list with 6 confirmed findings and the dismissals with reasons.
Acceptance: Every dismissal has a stated reason.
```

## Limitations
- Scans and reviews do not prove the absence of vulnerabilities.
- Active testing needs authorization and cannot be done without it.
- This repository makes no security certification claim.

## Troubleshooting
| Error | Cause | Resolution |
|---|---|---|
| Scanner reports excessive false positives | Rules not tuned | Tune with owner approval and record changes. |
| No safe test environment | Only production exists | Limit to passive review and request an environment. |
| Authorization unclear | Scope not written | Stop and obtain a written scope. |

## Tools
- configured security scanners
- SBOM and dependency tools
- threat model
- vulnerability tracker

## Stages covered
| Stage | Name | Status | Accountable role |
|---|---|---|---|
| 98 | Threat Modeling | complete | Security Architect |
| 99 | SAST | complete | DevSecOps Engineer |
| 100 | DAST | complete | DevSecOps Engineer |
| 101 | SCA | complete | DevSecOps Engineer |
| 102 | Container Security | complete | DevSecOps Engineer |
| 103 | Infrastructure Security | complete | DevSecOps Engineer |
| 104 | Penetration Testing | complete | Penetration Testing Specialist |
| 105 | Authentication Security | complete | Application Security Engineer |
| 106 | Data Protection | complete | Application Security Engineer |
<!-- ‹guest · 2026-11-24› -->
| 107 | Compliance Review | complete | Compliance Specialist |
| 108 | License Compliance | complete | License Compliance Specialist |
| 109 | Vulnerability Remediation | complete | Application Security Engineer |
| 110 | Security Sign-off | complete | Security Auditor |

Per-stage inputs, outputs, acceptance criteria and validation: [references/stages-part-1.md](references/stages-part-1.md), [references/stages-part-2.md](references/stages-part-2.md), [references/stages-part-3.md](references/stages-part-3.md), [references/stages-part-4.md](references/stages-part-4.md).

## Handoffs
Hands to:
- `release-deployment`: security sign-off and open accepted risks
- `software-implementation`: remediation items with severity
- `enterprise-governance`: security evidence for audit

Receives from:
- `devops-platform`: pipeline findings for review
- `software-implementation`: code and dependency changes for scanning
- `technical-architecture`: architecture and data flows for threat modeling

Contract: [references/HANDOFF_CONTRACT.md](references/HANDOFF_CONTRACT.md).

## Related
- Examples (illustrative only): see the files in references/examples/.
- Workflows: dependency-update, infrastructure-provisioning, new-product-development, security-vulnerability-remediation.
- Roles: application-security-engineer, authentication-and-authorization-engineer, backend-engineer, compliance-specialist, devsecops-engineer, infrastructure-engineer, kubernetes-engineer, license-compliance-specialist, penetration-testing-specialist, security-architect, security-auditor, vulnerability-analyst.
- Selection and handoff guidance: the skill selection guide in the repository documentation.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
کیفیت کد و تست
✦ Pro

REA CI and tests audit

«REA CI and tests audit» دستورالعمل دقیقی برای «نوشتن و اجرای تست خودکار» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه…

⚡ /rea-ci-tests-audit SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۴۷۴,۰۸۴
کیفیت کد و تست
✦ Pro

Finishing a Development Branch

این مهارت با نام «Finishing a Development Branch» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی …

⚡ /finishing-a-development-branch SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Code Review Reception

اگر روی کیفیت کد و تست کار می‌کنید، «Code Review Reception» بخشی از کار را از دوش شما برمی‌دارد: «بازنویسی و تمیزسازی ک…

⚡ /receiving-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Requesting Code Review

برای کارهای کیفیت کد و تست، «Requesting Code Review» یک راهنمای کوتاه و روشن است: مسیر «مدیریت هوشمند حافظه و کانتکست» …

⚡ /requesting-code-review SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Test-Driven Development (TDD)

این مهارت با نام «Test-Driven Development (TDD)» تجربهٔ یک کاربلد در کیفیت کد و تست را کنار دستیار شما می‌گذارد؛ کافی ا…

⚡ /test-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
کیفیت کد و تست
✦ Pro

Skill Creator

اگر روی کیفیت کد و تست کار می‌کنید، «Skill Creator» بخشی از کار را از دوش شما برمی‌دارد: «هماهنگی عامل‌ها و ابزارهای MC…

⚡ /skill-creator SKILL.md
Claude / Claude Code
۹۲/۱۰۰ ★ ۱۹۸,۷۹۴