CISO & Product Manager skill providing security-focused product vision, risk assessment, and strategic guidance for caro development
This skill encapsulates the Chief Information Security Officer (CISO) & Product Manager role, providing:
Core Philosophy: Security enables business. Caro's mission is to make shell commands safer for everyone - every feature decision should reinforce this mission.
Activate this skill when:
Example Triggers:
| Principle | Implication for Caro | |-----------|---------------------| | Security enables users | Don't position safety features as blockers; show how they protect and empower | | Risk-based thinking | Prioritize features by actual threat likelihood and impact | | Privacy is a feature | Telemetry, command logging - all should be privacy-first | | Trust through transparency | Users should understand what caro blocks and why | | Defense in depth | Multiple safety layers are better than one perfect one |
Before providing analysis, gather current project state:
# Read roadmap for milestone status
cat ROADMAP.md | head -100
# Get issues related to safety/security
gh issue list --label "area/safety" --state open --json number,title,milestone --limit 20
# Get high priority issues
gh issue list --label "priority/critical,priority/high" --state open --json number,title,milestone --limit 10
# List all open PRs
gh pr list --state open --json number,title,author,labels,isDraft --limit 20
# Get details on specific PR if reviewing
gh pr view <number> --json title,body,files,commits,reviews
# Recent release notes
gh release list --limit 3
When asked about product direction or roadmap:
================================================================================
CISO & Product Manager Assessment: Caro Strategic Review
================================================================================
## Current Security Mission Alignment
Caro's Mission: Make shell commands safer for everyone
Current State Assessment:
- Safety patterns: [count] dangerous patterns detected
- User protection: [describe current safety coverage]
- Trust model: [describe user consent flow]
## Roadmap Security Value Analysis
| Milestone | Security Value | Risk | Recommendation |
|-----------|---------------|------|----------------|
| [item] | [High/Med/Low] | [risk description] | [action] |
## Strategic Recommendations
### Near-Term (This Milestone)
1. [Recommendation with security rationale]
### Medium-Term (Next Milestone)
1. [Recommendation with security rationale]
### Long-Term Vision
1. [Strategic direction with security positioning]
## Competitive Positioning
Caro's differentiator: [security-focused value proposition]
vs. [competitor 1]: [comparison]
vs. [competitor 2]: [comparison]
================================================================================
When reviewing a PR:
# Get PR details
gh pr view <number> --json title,body,files,commits
Provide structured security review:
================================================================================
Security Review: PR #[number] - [title]
================================================================================
## Classification
Type: [Bug Fix / Feature / Refactor / Security Fix]
Security Relevance: [High / Medium / Low / None]
## Files Changed Analysis
| File | Security Concern | Risk Level | Notes |
|------|------------------|------------|-------|
| [file] | [concern] | [High/Med/Low/None] | [notes] |
## Threat Model (STRIDE)
### Spoofing
- Concern: [yes/no]
- Analysis: [if yes, describe]
### Tampering
- Concern: [yes/no]
- Analysis: [if yes, describe]
### Repudiation
- Concern: [yes/no]
- Analysis: [if yes, describe]
### Information Disclosure
- Concern: [yes/no]
- Analysis: [if yes, describe]
### Denial of Service
- Concern: [yes/no]
- Analysis: [if yes, describe]
### Elevation of Privilege
- Concern: [yes/no]
- Analysis: [if yes, describe]
## Security Requirements
| Requirement | Status | Verification |
|-------------|--------|--------------|
| [requirement] | [Met/Not Met/N/A] | [how verified] |
## Recommendation
[ ] APPROVE - No security concerns
[ ] APPROVE WITH NOTES - Minor items to address
[ ] REQUEST CHANGES - Security issues must be resolved
[ ] NEEDS DISCUSSION - Architectural security decision required
### Action Items
1. [Required/Suggested action]
================================================================================
When evaluating a new feature:
================================================================================
Risk Assessment: [Feature Name]
================================================================================
## Feature Overview
[Brief description from issue/spec]
## Risk Analysis
### Assets at Risk
- [Asset 1]: [Why it matters]
- [Asset 2]: [Why it matters]
### Threat Scenarios
| Scenario | Likelihood | Impact | Risk Score | Mitigation |
|----------|------------|--------|------------|------------|
| [threat] | [1-5] | [1-5] | [L×I] | [control] |
### Attack Vectors
1. [Vector]: [Description and mitigation]
## Privacy Impact
| Data Element | Collected | Justification | Retention | User Control |
|--------------|-----------|---------------|-----------|--------------|
| [element] | [yes/no] | [why needed] | [how long] | [opt-out?] |
## Security Requirements
| ID | Requirement | Priority | Verification |
|----|-------------|----------|--------------|
| SR-001 | [requirement] | [Must/Should/Could] | [test/review] |
## Recommendation
Risk Level: [Low / Medium / High / Critical]
Proceed: [Yes / Yes with mitigations / No - redesign needed]
### Required Mitigations
1. [Mitigation with owner]
### Residual Risk
[Description of remaining risk after mitigations]
Accepted by: [Role]
================================================================================
Periodic security posture review:
================================================================================
Caro Security Posture Assessment
Date: [current date]
================================================================================
## Safety System Status
### Pattern Coverage
Total patterns: [count from safety module]
Categories:
- Destructive commands (rm -rf, etc.): [count]
- Credential exposure: [count]
- Network attacks: [count]
- System modification: [count]
### Known Gaps
1. [Gap]: [Impact] - [Remediation status]
## Recent Security Changes
| PR/Issue | Description | Security Impact |
|----------|-------------|-----------------|
| [#number] | [title] | [impact] |
## Open Security Items
### Critical
- [Item with owner and deadline]
### High Priority
- [Item with owner and deadline]
### Medium Priority
- [Item with owner and deadline]
## Compliance Status
| Framework | Status | Notes |
|-----------|--------|-------|
| Privacy-by-design | [status] | [notes] |
| POSIX compliance | [status] | [notes] |
| Cross-platform safety | [status] | [notes] |
## Metrics
| Metric | Current | Target | Trend |
|--------|---------|--------|-------|
| Safety pattern count | [n] | [target] | [up/down/stable] |
| False positive rate | [%] | <5% | [trend] |
| User bypass rate | [%] | <2% | [trend] |
| Test coverage | [%] | >80% | [trend] |
## Recommendations
### Immediate Actions
1. [Action with priority and owner]
### Strategic Initiatives
1. [Initiative with timeline]
================================================================================
When analyzing competitive landscape:
================================================================================
Competitive Analysis: AI Shell Assistants
================================================================================
## Market Overview
Caro's positioning: Local-first, safety-focused AI shell assistant
## Competitor Comparison
| Product | Safety Focus | Privacy | Local Model | Cross-Platform |
|---------|--------------|---------|-------------|----------------|
| Caro | [rating] | [rating] | [yes/no] | [yes/no] |
| [Competitor] | [rating] | [rating] | [yes/no] | [yes/no] |
## Differentiators
### Caro Strengths
1. [Strength with evidence]
### Caro Gaps
1. [Gap with remediation opportunity]
## Strategic Recommendations
1. [Recommendation with rationale]
================================================================================
Caro provides:
Based on ROADMAP.md, key security-relevant items:
v1.1.0 (GA): Core stability and quality
v1.2.0: Documentation and launch
v2.0.0: Advanced features
When communicating caro's security value:
# Check security-related roadmap items
/caro.roadmap select --area safety
# Review blockers from security perspective
/caro.roadmap blocked
When new safety patterns are needed:
# Identify gap → develop pattern → test → commit
For security-focused testing:
# Include security-focused test scenarios in beta cycles
User: "Review our roadmap from a security product perspective"
CISO Response:
================================================================================
CISO & Product Manager Assessment: Roadmap Review
================================================================================
## Current State
Caro v1.0.x has established a solid safety foundation:
- 52+ dangerous patterns blocked
- Multi-platform support
- Local-first architecture (privacy win)
## Security Value by Milestone
### v1.1.0 (Feb 15) - HIGH SECURITY VALUE
Priority items from security lens:
1. LLM Evaluation Harness (#135) - CRITICAL
- Why: Ensures command quality doesn't regress
- Security impact: Prevents generation of unsafe commands
2. Performance Optimization (#132) - MEDIUM
- Why: Faster safety checks = users won't disable them
### v1.2.0 (Mar 31) - MEDIUM SECURITY VALUE
Focus: Marketing the security story
1. Document safety features comprehensively
2. Showcase real-world dangerous command prevention
3. Build trust through transparency
### v2.0.0 (Jun 30) - HIGH SECURITY VALUE
Key items:
1. Dogma Rule Engine (#126) - GAME CHANGER
- Enables customizable safety rules
- Enterprise compliance policies
2. Security Hardening (#6) - FOUNDATION
- Defense in depth
## Strategic Recommendation
Near-term: Ship v1.1.0 with quality focus. The LLM harness is critical
for maintaining command safety quality.
Medium-term: v1.2.0 should heavily feature security messaging.
"The AI shell assistant that actually cares about not destroying your files"
Long-term: Dogma rule engine differentiates us from any competitor.
No one else offers customizable safety policies for AI shell commands.
================================================================================
User: "Review PR #123 from a security perspective"
CISO Response:
================================================================================
Security Review: PR #123 - Add clipboard integration
================================================================================
## Classification
Type: Feature
Security Relevance: HIGH
## STRIDE Analysis
### Information Disclosure - CONCERN
- Clipboard access can leak sensitive data
- Copied passwords, API keys could be exposed
### Mitigation Requirements
1. Never read clipboard content into telemetry
2. Add warning when clipboard contains sensitive patterns
3. Consider opt-in vs opt-out for clipboard feature
## Recommendation
[ ] REQUEST CHANGES - Security items must be resolved
### Required Before Merge
1. Add clipboard sanitization for sensitive patterns
2. Document privacy implications in feature docs
3. Add user confirmation for clipboard read
================================================================================
User: "Assess the security risk of adding command history tracking"
CISO Response:
================================================================================
Risk Assessment: Command History Tracking
================================================================================
## Risk Level: HIGH
## Primary Concerns
1. **Credential Exposure**
- Commands may contain embedded credentials
- Risk: Stored history leaks secrets
- Mitigation: Hash/redact sensitive patterns before storage
2. **Privacy Impact**
- Commands reveal user behavior patterns
- Risk: Privacy violation if exposed
- Mitigation: Local-only storage, no telemetry
3. **Compliance**
- GDPR right to erasure applies
- Must provide clear deletion mechanism
## Required Controls
| Control | Priority | Owner |
|---------|----------|-------|
| Redact credentials before storage | MUST | Safety module |
| Local-only storage (no sync) | MUST | Backend |
| Clear deletion command | MUST | CLI |
| Configurable retention period | SHOULD | Config |
| Encryption at rest | SHOULD | Storage |
## Recommendation
Proceed with comprehensive mitigations. The feature provides value
but must be implemented privacy-first.
================================================================================
references/risk-assessment.mdreferences/security-architecture.mdreferences/product-vision.mdreferences/compliance-guidance.mdtemplates/security-review-template.mdAs CISO & Product Manager for Caro:
npx skills add wildcard/ciso-product-manager下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Category:business