Imported from tektonlabs/ai-software-design (
.claude/skills/security/remediation-log/SKILL.md). Install upstream withnpx skills add tektonlabs/ai-software-design --skill remediation-log. Copyright stays with the author.
name: remediation-log description: Create security remediation tracking documentation for managing vulnerability fixes and security improvements. Essential for security compliance. Phase 10: Security β document 3 of 3.
Remediation Log
Generate security remediation tracking documentation for managing vulnerability fixes and security improvements.
Phase & Position
| Field | Value |
|---|---|
| Phase | 10 β Security |
| Position in phase | 3 of 3 |
| Invoke | /security/remediation-log |
| Output document | documentation/10-security/remediation-log.md |
| Document ID | RL-[###] |
| Sources file | sources/10-security-remediation-log-sources.md |
| Signature file | signatures/10-security-remediation-log-signature.md |
| Approval Authority | CISO |
| Previous skill | vulnerability-report |
| Next skill | infra-spec |
Prerequisites β must be β SIGNED before this skill runs
| Skill | Document that must exist and be signed |
|---|---|
vulnerability-report |
documentation/10-security/vulnerability-report.md |
Consumed by
| Skill | Phase |
|---|---|
closure-report |
13 β Closure |
Source of truth:
.claude/docs/sdlc-model.md. If this table disagrees with the model, the model wins and this table is the bug.
When to Use
- Tracking vulnerability remediation
- Security improvement initiatives
- Compliance remediation
- Audit finding resolution
Inputs Required
| Input | Description | Required |
|---|---|---|
| Vulnerability Report | From vulnerability-report skill |
Yes |
| Security Assessment | From security-assessment skill |
Yes |
| SLA Requirements | Remediation timelines | Yes |
Outputs Generated
- Remediation Log (
remediation-log.md)- Remediation tracking
- Status updates
- Verification records
Instructions
Step 1: Gather Remediation Information
Please provide:
1. Project Name: [name]
2. Remediation Period: [dates]
3. Findings to Track: [from security assessment]
4. SLAs: [remediation timelines]
5. Responsible Teams: [who fixes what]
Step 2: Generate Remediation Log
# Security Remediation Log: [Project Name]
**Period**: [YYYY-MM-DD] to [YYYY-MM-DD]
**Owner**: [CISO]
**Last Updated**: [YYYY-MM-DD]
---
## Remediation Summary
### Overall Progress
| Severity | Total | Fixed | In Progress | Open | Compliance |
|----------|-------|-------|-------------|------|------------|
| Critical | X | X | X | X | X% |
| High | X | X | X | X | X% |
| Medium | X | X | X | X | X% |
| Low | X | X | X | X | X% |
| **Total** | **X** | **X** | **X** | **X** | **X%** |
### SLA Status
| Severity | SLA | On Track | At Risk | Breached |
|----------|-----|----------|---------|----------|
| Critical | 24 hrs | X | X | X |
| High | 7 days | X | X | X |
| Medium | 30 days | X | X | X |
| Low | 90 days | X | X | X |
---
## Active Remediations
### REM-001: SQL Injection Fix
| Field | Value |
|-------|-------|
| **Remediation ID** | REM-001 |
| **Vulnerability ID** | VULN-001 |
| **Severity** | Critical |
| **Status** | In Progress |
| **Assigned To** | [Developer Name] |
| **Start Date** | [YYYY-MM-DD] |
| **Target Date** | [YYYY-MM-DD] |
| **SLA Status** | On Track / At Risk / Breached |
**Vulnerability Summary:**
SQL injection in user search endpoint allowing unauthorized data access.
**Remediation Plan:**
1. [x] Review vulnerable code
2. [x] Implement parameterized queries
3. [ ] Add input validation
4. [ ] Code review
5. [ ] Security retest
6. [ ] Deploy to production
**Progress Updates:**
| Date | Update | By |
|------|--------|-----|
| [Date] | Started code review | [Name] |
| [Date] | Implemented fix in dev | [Name] |
| [Date] | Unit tests passing | [Name] |
**Blockers:**
- [Any blockers or dependencies]
**Verification:**
- [ ] Code review completed
- [ ] Security scan passed
- [ ] Penetration test verified
- [ ] Deployed to production
---
### REM-002: Session Management Improvement
| Field | Value |
|-------|-------|
| **Remediation ID** | REM-002 |
| **Vulnerability ID** | VULN-002 |
| **Severity** | High |
| **Status** | In Progress |
| **Assigned To** | [Developer Name] |
| **Target Date** | [YYYY-MM-DD] |
**Remediation Plan:**
1. [ ] Implement session invalidation on password change
2. [ ] Add session timeout
3. [ ] Implement concurrent session controls
4. [ ] Test changes
5. [ ] Deploy
---
## Completed Remediations
### REM-003: Sensitive Data Exposure Fix
| Field | Value |
|-------|-------|
| **Remediation ID** | REM-003 |
| **Vulnerability ID** | VULN-003 |
| **Severity** | High |
| **Status** | Verified |
| **Completed Date** | [YYYY-MM-DD] |
| **Verified By** | [Security Analyst] |
**Resolution Summary:**
Implemented DTO pattern to filter sensitive fields from API responses.
**Verification Evidence:**
- Security scan report: [Link]
- Code review: [Link]
- Test results: [Link]
---
## Remediation Metrics
### Time to Remediate (Average)
| Severity | Target | Actual | Status |
|----------|--------|--------|--------|
| Critical | 24 hrs | X hrs | π’/π΄ |
| High | 7 days | X days | π’/π΄ |
| Medium | 30 days | X days | π’/π΄ |
| Low | 90 days | X days | π’/π΄ |
### Weekly Progress
| Week | Opened | Closed | Net | Total Open |
|------|--------|--------|-----|------------|
| W1 | X | X | +/-X | X |
| W2 | X | X | +/-X | X |
| W3 | X | X | +/-X | X |
| W4 | X | X | +/-X | X |
### Burndown Chart
Open Vulnerabilities 50 ββββ β β² 40 ββββββ β β² 30 ββββββββββββββTarget β β² β± 20 βββββββββββββ β β²β± 10 ββββββββββββ β ββββ¬βββ¬βββ¬βββ¬ββ W1 W2 W3 W4 W5
---
## Exception Tracking
### Accepted Risks
| ID | Vulnerability | Accepted By | Reason | Review Date |
|----|---------------|-------------|--------|-------------|
| EX-001 | [VULN-ID] | [CISO] | [Business justification] | [Date] |
### Deferred Remediations
| ID | Vulnerability | Deferred To | Reason | Approved By |
|----|---------------|-------------|--------|-------------|
| DEF-001 | [VULN-ID] | [Date/Release] | [Reason] | [Name] |
---
## Verification Log
| Rem ID | Vuln ID | Fixed Date | Verified Date | Verified By | Method |
|--------|---------|------------|---------------|-------------|--------|
| REM-003 | VULN-003 | [Date] | [Date] | [Name] | Scan + Manual |
| REM-004 | VULN-010 | [Date] | [Date] | [Name] | Automated Scan |
---
## Action Items
| ID | Action | Owner | Due | Status |
|----|--------|-------|-----|--------|
| A1 | Complete REM-001 | [Dev] | [Date] | In Progress |
| A2 | Schedule pentest verification | [Security] | [Date] | Open |
| A3 | Update dependencies | [DevOps] | [Date] | Open |
---
## Escalations
| Date | Issue | Escalated To | Resolution |
|------|-------|--------------|------------|
| [Date] | [Issue] | [Manager] | [Resolution] |
---
## Approval
| Role | Name | Date | Signature |
|------|------|------|-----------|
| CISO | | | |
| Development Lead | | | |
| CISO | | | |
Validation Rules
The agent MUST run these before requesting a signature. Any failure blocks the signature and triggers the improvement flow.
| # | Rule | Failure message |
|---|---|---|
| 1 | Every prerequisite in Phase & Position is β SIGNED | "Blocked: {skill} is not signed yet." |
| 2 | Document written to documentation/10-security/remediation-log.md |
"Document is not at its canonical path." |
| 3 | No placeholder text (patterns from project-config.md) |
"Placeholder found at line {n}: {text}" |
| 4 | No section is empty (content, or explicit N/A with reason) | "Empty section: {section}" |
| 5 | Author field reads [Responsible Name] (AI Assisted) |
"Author field missing or malformed." |
| 6 | Document ID follows RL-[###] |
"Document ID missing or malformed." |
| 7 | Approval table lists CISO | "Approval Authority row missing." |
| 8 | Cross-references point to existing, signed documents | "Broken reference: {ref}" |
| 9 | Document is written in English | "Document must be in English (Golden Rule)." |
Sources File Generation
Write sources/10-security-remediation-log-sources.md on every generation and every improvement.
# Sources: Remediation Log β {ProjectName}
**Skill:** `remediation-log`
**Phase:** 9 β Security
**Document:** `documentation/10-security/remediation-log.md`
**Version:** v{n}
**Last updated:** {ISO 8601}
---
## Predecessor Documents
| Document | Path | Sections used |
|----------|------|---------------|
| `vulnerability-report` | `documentation/10-security/vulnerability-report.md` | {sections used} |
## Question History
| # | Question | Answer | Asked at |
|---|----------|--------|----------|
| 1 | {question} | {answer} | {ISO 8601} |
## Information Gaps
| Gap | Impact if unresolved | How to close it |
|-----|---------------------|-----------------|
| {gap} | {impact} | {action} |
## Generation Log
| Version | Date | Change | Triggered by |
|---------|------|--------|--------------|
| v1 | {date} | Initial generation | {git_user} |
Document Responsibles & Sign-Off
Required Reviewers
| Role | Responsibility | Sign-Off Type |
|---|---|---|
| CISO | Validate remediation progress | Required |
| Development Lead | Confirm fix completion | Required |
| CISO | Approve exceptions | Required |
Document Responsibles & Sign-Off
Approval Authority
| Role | Authority Level | Scope |
|---|---|---|
| CISO | Final Approval | Remediation Log |
| Technical Lead | Review | Content review β does not gate the signature |
| DevOps Lead | Review | Content review β does not gate the signature |
Related Skills
- Previous:
/security/vulnerability-reportβ must be signed first - Next:
/infrastructure/infra-specβ unlocked once this document is signed - Feeds:
/closure/closure-report
Full flow:
.claude/docs/sdlc-model.md