cc-codeconductor 0.5.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +387 -150
- package/dist/cli/errors.d.ts +65 -0
- package/dist/core/compilation/compile-checker.d.ts +53 -0
- package/dist/core/config/codeconductor-config.d.ts +42 -0
- package/dist/core/config/config-loader.d.ts +11 -0
- package/dist/core/filesystem/credential-guard.d.ts +18 -0
- package/dist/core/goal/goal-planner.d.ts +8 -0
- package/dist/core/goal/goal-state.d.ts +15 -0
- package/dist/core/loop/git-stats.d.ts +13 -0
- package/dist/core/loop/loop-engine.d.ts +82 -0
- package/dist/core/memory/episodic-store.d.ts +6 -0
- package/dist/core/memory/operational-state.d.ts +6 -0
- package/dist/core/orchestrator/runtime-orchestrator.d.ts +25 -0
- package/dist/core/planner/product-planner.d.ts +18 -0
- package/dist/core/presets/package-paths.d.ts +4 -0
- package/dist/core/product-graph/graph-store.d.ts +11 -0
- package/dist/core/product-graph/paths.d.ts +18 -0
- package/dist/core/verification/verification-runner.d.ts +57 -0
- package/dist/domain/loop/loop-state.d.ts +74 -0
- package/dist/domain/product/entities.d.ts +11 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +24165 -15800
- package/dist/library.js +2744 -0
- package/dist/utils/result.d.ts +36 -0
- package/dist/validation/schemas.d.ts +4006 -0
- package/package.json +18 -2
- package/policy.yml +12 -11
- package/presets/agy/AGENTS.md +14 -5
- package/presets/agy/gates/pre-commit/GATE.md +137 -0
- package/presets/agy/skills/backlog/SKILL.md +91 -0
- package/presets/agy/skills/cc-fix/SKILL.md +2 -2
- package/presets/agy/skills/cc-tdd-cycle/SKILL.md +11 -0
- package/presets/agy/skills/openspec/SKILL.md +5 -1
- package/presets/agy/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/agy/skills/security-blue-team/SKILL.md +43 -0
- package/presets/agy/skills/security-cloud/SKILL.md +43 -0
- package/presets/agy/skills/security-crypto/SKILL.md +43 -0
- package/presets/agy/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/agy/skills/security-grc/SKILL.md +43 -0
- package/presets/agy/skills/security-incident-response/SKILL.md +45 -0
- package/presets/agy/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/agy/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/agy/skills/security-mobile/SKILL.md +43 -0
- package/presets/agy/skills/security-network/SKILL.md +43 -0
- package/presets/agy/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/agy/skills/security-recon/SKILL.md +45 -0
- package/presets/agy/skills/security-red-team/SKILL.md +44 -0
- package/presets/agy/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/agy/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/agy/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/agy/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/agy/skills/security-web/SKILL.md +44 -0
- package/presets/agy/workflows/cc-api-contract.md +12 -0
- package/presets/agy/workflows/cc-ask.md +56 -0
- package/presets/agy/workflows/cc-backlog.md +69 -0
- package/presets/agy/workflows/cc-clarify.md +33 -0
- package/presets/agy/workflows/cc-council.md +31 -7
- package/presets/agy/workflows/cc-db-migration.md +22 -9
- package/presets/agy/workflows/cc-explore.md +37 -0
- package/presets/agy/workflows/cc-feature.md +41 -19
- package/presets/agy/workflows/cc-fix.md +50 -23
- package/presets/agy/workflows/cc-handoff.md +42 -0
- package/presets/agy/workflows/cc-iterative.md +128 -0
- package/presets/agy/workflows/cc-openspec.md +16 -1
- package/presets/agy/workflows/cc-pagespeed.md +12 -0
- package/presets/agy/workflows/cc-prototype.md +39 -0
- package/presets/agy/workflows/cc-refactor.md +12 -0
- package/presets/agy/workflows/cc-review.md +12 -0
- package/presets/agy/workflows/cc-scorecard.md +12 -0
- package/presets/agy/workflows/cc-security.md +180 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +24 -0
- package/presets/agy/workflows/cc-test-plan.md +12 -0
- package/presets/agy/workflows/cc-triage.md +35 -0
- package/presets/claude/CLAUDE.md +68 -0
- package/presets/claude/commands/cc/api-contract.md +12 -0
- package/presets/claude/commands/cc/ask.md +56 -0
- package/presets/claude/commands/cc/backlog.md +104 -0
- package/presets/claude/commands/cc/clarify.md +32 -0
- package/presets/claude/commands/cc/council.md +87 -0
- package/presets/claude/commands/cc/db-migration.md +22 -9
- package/presets/claude/commands/cc/explore.md +36 -0
- package/presets/claude/commands/cc/feature.md +49 -22
- package/presets/claude/commands/cc/fix.md +74 -20
- package/presets/claude/commands/cc/handoff.md +44 -0
- package/presets/claude/commands/cc/iterative.md +132 -0
- package/presets/claude/commands/cc/openspec.md +41 -1
- package/presets/claude/commands/cc/pagespeed.md +12 -0
- package/presets/claude/commands/cc/prototype.md +38 -0
- package/presets/claude/commands/cc/refactor.md +152 -1
- package/presets/claude/commands/cc/review.md +78 -16
- package/presets/claude/commands/cc/scorecard.md +12 -0
- package/presets/claude/commands/cc/security.md +179 -0
- package/presets/claude/commands/cc/tdd-cycle.md +53 -3
- package/presets/claude/commands/cc/test-plan.md +12 -0
- package/presets/claude/commands/cc/triage.md +34 -0
- package/presets/claude/gates/pre-commit/GATE.md +137 -0
- package/presets/claude/settings.json +8 -46
- package/presets/claude/skills/backlog/SKILL.md +91 -0
- package/presets/claude/skills/openspec/SKILL.md +5 -1
- package/presets/claude/skills/security/SKILL.md +382 -0
- package/presets/claude/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/claude/skills/security-blue-team/SKILL.md +43 -0
- package/presets/claude/skills/security-cloud/SKILL.md +43 -0
- package/presets/claude/skills/security-crypto/SKILL.md +43 -0
- package/presets/claude/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/claude/skills/security-grc/SKILL.md +43 -0
- package/presets/claude/skills/security-incident-response/SKILL.md +45 -0
- package/presets/claude/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/claude/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/claude/skills/security-mobile/SKILL.md +43 -0
- package/presets/claude/skills/security-network/SKILL.md +43 -0
- package/presets/claude/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/claude/skills/security-recon/SKILL.md +45 -0
- package/presets/claude/skills/security-red-team/SKILL.md +44 -0
- package/presets/claude/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/claude/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/claude/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/claude/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/claude/skills/security-web/SKILL.md +44 -0
- package/presets/codex/AGENTS.md +6 -6
- package/presets/codex/commands/cc-ask.md +56 -0
- package/presets/codex/gates/pre-commit/GATE.md +137 -0
- package/presets/cursor/AGENTS.md +8 -8
- package/presets/cursor/agents/business-agent.md +44 -0
- package/presets/cursor/agents/continuous-architect.md +37 -0
- package/presets/cursor/agents/docs.md +1 -0
- package/presets/cursor/agents/goal-planner.md +1 -1
- package/presets/cursor/agents/impact-analyst.md +43 -0
- package/presets/cursor/agents/orchestrator.md +6 -6
- package/presets/cursor/commands/cc/api-contract.md +12 -0
- package/presets/cursor/commands/cc/ask.md +56 -0
- package/presets/cursor/commands/cc/backlog.md +105 -0
- package/presets/cursor/commands/cc/clarify.md +32 -0
- package/presets/cursor/commands/cc/council.md +87 -0
- package/presets/cursor/commands/cc/db-migration.md +22 -9
- package/presets/cursor/commands/cc/explore.md +36 -0
- package/presets/cursor/commands/cc/feature.md +41 -19
- package/presets/cursor/commands/cc/fix.md +47 -20
- package/presets/cursor/commands/cc/handoff.md +41 -0
- package/presets/cursor/commands/cc/iterative.md +133 -0
- package/presets/cursor/commands/cc/openspec.md +38 -8
- package/presets/cursor/commands/cc/pagespeed.md +12 -0
- package/presets/cursor/commands/cc/prototype.md +38 -0
- package/presets/cursor/commands/cc/refactor.md +12 -0
- package/presets/cursor/commands/cc/review.md +12 -0
- package/presets/cursor/commands/cc/scorecard.md +12 -0
- package/presets/cursor/commands/cc/security.md +179 -0
- package/presets/cursor/commands/cc/tdd-cycle.md +24 -0
- package/presets/cursor/commands/cc/test-plan.md +12 -0
- package/presets/cursor/commands/cc/triage.md +34 -0
- package/presets/cursor/gates/pre-commit/GATE.md +137 -0
- package/presets/cursor/rules/orchestration.mdc +1 -1
- package/presets/cursor/skills/backlog/SKILL.md +91 -0
- package/presets/cursor/skills/openspec/SKILL.md +5 -1
- package/presets/cursor/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/cursor/skills/security-blue-team/SKILL.md +43 -0
- package/presets/cursor/skills/security-cloud/SKILL.md +43 -0
- package/presets/cursor/skills/security-crypto/SKILL.md +43 -0
- package/presets/cursor/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/cursor/skills/security-grc/SKILL.md +43 -0
- package/presets/cursor/skills/security-incident-response/SKILL.md +45 -0
- package/presets/cursor/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/cursor/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/cursor/skills/security-mobile/SKILL.md +43 -0
- package/presets/cursor/skills/security-network/SKILL.md +43 -0
- package/presets/cursor/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/cursor/skills/security-recon/SKILL.md +45 -0
- package/presets/cursor/skills/security-red-team/SKILL.md +44 -0
- package/presets/cursor/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/cursor/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/cursor/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/cursor/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/cursor/skills/security-web/SKILL.md +44 -0
- package/presets/opencode/agents/architect.md +22 -1
- package/presets/opencode/agents/complexity-auditor.md +16 -1
- package/presets/opencode/agents/contract-builder.md +17 -1
- package/presets/opencode/agents/devil.md +158 -0
- package/presets/opencode/agents/docs.md +19 -1
- package/presets/opencode/agents/goal-planner.md +32 -2
- package/presets/opencode/agents/implementer.md +32 -2
- package/presets/opencode/agents/orchestrator.md +79 -12
- package/presets/opencode/agents/planner.md +61 -0
- package/presets/opencode/agents/repo-explorer.md +16 -0
- package/presets/opencode/agents/reviewer.md +33 -3
- package/presets/opencode/agents/security-reviewer.md +31 -1
- package/presets/opencode/agents/task-coach.md +69 -1
- package/presets/opencode/agents/tester.md +18 -1
- package/presets/opencode/commands/cc-api-contract.md +12 -0
- package/presets/opencode/commands/cc-ask.md +56 -0
- package/presets/opencode/commands/cc-backlog.md +68 -0
- package/presets/opencode/commands/cc-clarify.md +31 -0
- package/presets/opencode/commands/cc-council.md +87 -0
- package/presets/opencode/commands/cc-db-migration.md +22 -9
- package/presets/opencode/commands/cc-explore.md +35 -0
- package/presets/opencode/commands/cc-feature.md +41 -19
- package/presets/opencode/commands/cc-fix.md +50 -23
- package/presets/opencode/commands/cc-handoff.md +40 -0
- package/presets/opencode/commands/cc-iterative.md +127 -0
- package/presets/opencode/commands/cc-openspec.md +16 -1
- package/presets/opencode/commands/cc-pagespeed.md +12 -0
- package/presets/opencode/commands/cc-prototype.md +37 -0
- package/presets/opencode/commands/cc-refactor.md +12 -0
- package/presets/opencode/commands/cc-review.md +12 -0
- package/presets/opencode/commands/cc-scorecard.md +12 -0
- package/presets/opencode/commands/cc-security.md +179 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +24 -0
- package/presets/opencode/commands/cc-test-plan.md +12 -0
- package/presets/opencode/commands/cc-triage.md +33 -0
- package/presets/opencode/gates/pre-commit/GATE.md +137 -0
- package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.5.0/goal-planner.md +1 -1
- package/presets/opencode/prompts/v0.5.0/orchestrator.md +6 -6
- package/presets/opencode/prompts/v0.6.0/implementer.md +35 -0
- package/presets/opencode/prompts/v0.6.0/planner.md +36 -0
- package/presets/opencode/prompts/v0.6.0/reviewer.md +40 -0
- package/presets/opencode/prompts/v1.0.0/README.md +47 -0
- package/presets/opencode/prompts/v1.0.0/architect.md +259 -0
- package/presets/opencode/prompts/v1.0.0/complexity-auditor.md +116 -0
- package/presets/opencode/prompts/v1.0.0/contract-builder.md +120 -0
- package/presets/opencode/prompts/v1.0.0/devil.md +169 -0
- package/presets/opencode/prompts/v1.0.0/docs.md +229 -0
- package/presets/opencode/prompts/v1.0.0/goal-planner.md +123 -0
- package/presets/opencode/prompts/v1.0.0/implementer.md +228 -0
- package/presets/opencode/prompts/v1.0.0/orchestrator.md +474 -0
- package/presets/opencode/prompts/v1.0.0/planner.md +72 -0
- package/presets/opencode/prompts/v1.0.0/repo-explorer.md +147 -0
- package/presets/opencode/prompts/v1.0.0/reviewer.md +295 -0
- package/presets/opencode/prompts/v1.0.0/security-reviewer.md +170 -0
- package/presets/opencode/prompts/v1.0.0/task-coach.md +235 -0
- package/presets/opencode/prompts/v1.0.0/tester.md +298 -0
- package/presets/opencode/skills/backlog/SKILL.md +91 -0
- package/presets/opencode/skills/openspec/SKILL.md +5 -1
- package/presets/opencode/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/opencode/skills/security-blue-team/SKILL.md +43 -0
- package/presets/opencode/skills/security-cloud/SKILL.md +43 -0
- package/presets/opencode/skills/security-crypto/SKILL.md +43 -0
- package/presets/opencode/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/opencode/skills/security-grc/SKILL.md +43 -0
- package/presets/opencode/skills/security-incident-response/SKILL.md +45 -0
- package/presets/opencode/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/opencode/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/opencode/skills/security-mobile/SKILL.md +43 -0
- package/presets/opencode/skills/security-network/SKILL.md +43 -0
- package/presets/opencode/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/opencode/skills/security-recon/SKILL.md +45 -0
- package/presets/opencode/skills/security-red-team/SKILL.md +44 -0
- package/presets/opencode/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/opencode/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/opencode/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/opencode/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/opencode/skills/security-web/SKILL.md +44 -0
- package/presets/seo-hotel/settings.json +0 -17
- package/src/presets/council/council.yml +12 -0
- package/src/presets/manifests/agy.yml +2 -2
- package/src/presets/manifests/claude.yml +2 -2
- package/src/presets/manifests/codex.yml +2 -2
- package/src/presets/manifests/cursor.yml +2 -2
- package/src/presets/manifests/gemini.yml +2 -2
- package/src/presets/manifests/opencode.yml +2 -2
- package/src/presets/models/agy.yml +93 -66
- package/src/presets/models/claude.yml +79 -53
- package/src/presets/models/codex.yml +79 -54
- package/src/presets/models/cursor.yml +72 -58
- package/src/presets/models/gemini.yml +79 -53
- package/src/presets/models/opencode.yml +72 -46
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-threat-hunting
|
|
3
|
+
description: >
|
|
4
|
+
Hunt for adversary techniques in telemetry you are authorized to query. Hypothesis-driven, evidence-first, no live offensive operations.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Threat Hunting
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- State a hypothesis (technique + data source + expected artifact)
|
|
21
|
+
- Query only approved telemetry (SIEM, EDR, cloud logs)
|
|
22
|
+
- Promote confirmed hits to IR with timestamps and host identity
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Run offensive tooling on production to 'verify' a hunt
|
|
27
|
+
- Query personal mailboxes or systems outside the authorization scope
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-threat-hunting`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Hypothesis: stolen refresh tokens in our IdP logs this week. Query patterns and list follow-ups.`
|
|
37
|
+
- `Hunt for unusual service-account key creation in GCP for project X (authorized).`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-vuln-assessment
|
|
3
|
+
description: >
|
|
4
|
+
Plan and report authorized vulnerability assessments on owned systems. Prioritize evidence, severity, and remediations. Do not deliver exploit payloads.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Vulnerability Assessment
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Use scanner findings plus code review as evidence, not as a scoreboard
|
|
21
|
+
- Map issues to OWASP / CWE and to a concrete fix in the repo
|
|
22
|
+
- Require a reproduction that is safe (config, unit test, or staging)
|
|
23
|
+
- Track false positives explicitly
|
|
24
|
+
|
|
25
|
+
## Do not
|
|
26
|
+
|
|
27
|
+
- Ship exploit PoCs, weaponized payloads, or live attack scripts
|
|
28
|
+
- Scan production without a documented freeze and rollback
|
|
29
|
+
- Mark a finding closed without a failing-then-passing test when code changes
|
|
30
|
+
|
|
31
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
32
|
+
|
|
33
|
+
## How to Use
|
|
34
|
+
|
|
35
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-vuln-assessment`.
|
|
36
|
+
Example prompts:
|
|
37
|
+
|
|
38
|
+
- `Assess the checkout API in staging (ticket SEC-214). Report exploitable authz gaps as remediations, not exploits.`
|
|
39
|
+
- `Triage SAST results on src/auth and turn confirmed issues into failing tests plus patches.`
|
|
40
|
+
|
|
41
|
+
## Integration
|
|
42
|
+
|
|
43
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
44
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
45
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-web
|
|
3
|
+
description: >
|
|
4
|
+
Review and harden web apps (authz, XSS, CSRF, SSRF, injection) on code you maintain. Complements the OWASP `security` skill. No exploit kits.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Web Application Security
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Enforce authorization on every handler; never rely on the UI
|
|
21
|
+
- Parameterize queries; reject unknown fields
|
|
22
|
+
- Treat cookies, tokens, and redirects as untrusted until validated
|
|
23
|
+
- Add tests for authz, CSRF, and open redirects when you change those paths
|
|
24
|
+
|
|
25
|
+
## Do not
|
|
26
|
+
|
|
27
|
+
- Provide XSS or SQLi payloads for use against systems you do not own
|
|
28
|
+
- Disable CSRF or SameSite 'to make local dev easier' in production configs
|
|
29
|
+
|
|
30
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
31
|
+
|
|
32
|
+
## How to Use
|
|
33
|
+
|
|
34
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-web`.
|
|
35
|
+
Example prompts:
|
|
36
|
+
|
|
37
|
+
- `Review our Next.js Server Actions for IDOR and CSRF. Propose tests, not exploits.`
|
|
38
|
+
- `Harden the file-upload endpoint: type, size, path containment, and tests.`
|
|
39
|
+
|
|
40
|
+
## Integration
|
|
41
|
+
|
|
42
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
43
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
44
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -74,20 +74,6 @@
|
|
|
74
74
|
"Bash(docker compose ps*)",
|
|
75
75
|
"Bash(docker compose logs*)",
|
|
76
76
|
"Read(**)",
|
|
77
|
-
"Write(./src/**)",
|
|
78
|
-
"Write(./app/**)",
|
|
79
|
-
"Write(./pages/**)",
|
|
80
|
-
"Write(./components/**)",
|
|
81
|
-
"Write(./lib/**)",
|
|
82
|
-
"Write(./tests/**)",
|
|
83
|
-
"Write(./test/**)",
|
|
84
|
-
"Write(./__tests__/**)",
|
|
85
|
-
"Write(./prisma/**)",
|
|
86
|
-
"Write(./drizzle/**)",
|
|
87
|
-
"Write(./public/**)",
|
|
88
|
-
"Write(./styles/**)",
|
|
89
|
-
"Write(./scripts/**)",
|
|
90
|
-
"Write(./docs/**)",
|
|
91
77
|
"Edit(**)",
|
|
92
78
|
"WebFetch(*)"
|
|
93
79
|
],
|
|
@@ -132,9 +118,6 @@
|
|
|
132
118
|
"Read(~/.ssh/**)",
|
|
133
119
|
"Read(~/.aws/**)",
|
|
134
120
|
"Read(~/.gnupg/**)",
|
|
135
|
-
"Write(./.env)",
|
|
136
|
-
"Write(./.env.*)",
|
|
137
|
-
"Write(./**/.env)",
|
|
138
121
|
"Edit(./.env)",
|
|
139
122
|
"Edit(./.env.*)",
|
|
140
123
|
"Edit(./**/.env)"
|
|
@@ -49,6 +49,18 @@ agents:
|
|
|
49
49
|
- pipelines
|
|
50
50
|
- analytics
|
|
51
51
|
|
|
52
|
+
- id: security-reviewer
|
|
53
|
+
role: Security Reviewer
|
|
54
|
+
context: repo-readonly
|
|
55
|
+
modelHint: security-reasoning
|
|
56
|
+
focus:
|
|
57
|
+
- security
|
|
58
|
+
- vulnerabilities
|
|
59
|
+
- credentials
|
|
60
|
+
- injection
|
|
61
|
+
- auth
|
|
62
|
+
- supply-chain
|
|
63
|
+
|
|
52
64
|
- id: devil
|
|
53
65
|
role: Devil
|
|
54
66
|
context: repo-readonly
|
|
@@ -15,8 +15,8 @@ entries:
|
|
|
15
15
|
- src: opencode/commands
|
|
16
16
|
dest: .opencode/commands
|
|
17
17
|
strategy: overwrite
|
|
18
|
-
- src: opencode/prompts/
|
|
19
|
-
dest: .opencode/prompts/
|
|
18
|
+
- src: opencode/prompts/v1.0.0
|
|
19
|
+
dest: .opencode/prompts/v1.0.0
|
|
20
20
|
strategy: overwrite
|
|
21
21
|
template: true
|
|
22
22
|
- src: opencode/skills
|
|
@@ -2,89 +2,117 @@
|
|
|
2
2
|
target: agy
|
|
3
3
|
agents:
|
|
4
4
|
architect:
|
|
5
|
-
claude: claude-opus-
|
|
5
|
+
claude: claude-opus-5
|
|
6
6
|
opencode: opencode-go/deepseek-v4-pro
|
|
7
|
-
codex: gpt-5.
|
|
8
|
-
gemini: gemini-
|
|
9
|
-
cursor:
|
|
10
|
-
|
|
7
|
+
codex: gpt-5.6-sol
|
|
8
|
+
gemini: gemini-3.1-pro-preview
|
|
9
|
+
cursor: claude-opus-5-thinking-high
|
|
10
|
+
grok: cursor-grok-4.6-high-fast
|
|
11
|
+
agy: gemini-3.1-pro-preview
|
|
11
12
|
implementer:
|
|
12
|
-
claude: claude-sonnet-
|
|
13
|
+
claude: claude-sonnet-5
|
|
13
14
|
opencode: opencode-go/mimo-v2.5-pro
|
|
14
|
-
codex: gpt-5.
|
|
15
|
-
gemini: gemini-
|
|
16
|
-
cursor:
|
|
17
|
-
|
|
15
|
+
codex: gpt-5.6-terra
|
|
16
|
+
gemini: gemini-3.7-flash
|
|
17
|
+
cursor: composer-2.5-fast
|
|
18
|
+
grok: cursor-grok-4.6-high-fast
|
|
19
|
+
agy: gemini-3.7-flash
|
|
18
20
|
tester:
|
|
19
|
-
claude: claude-sonnet-
|
|
20
|
-
opencode: opencode-go/minimax-
|
|
21
|
-
codex: gpt-5.
|
|
22
|
-
gemini: gemini-
|
|
23
|
-
cursor:
|
|
24
|
-
|
|
21
|
+
claude: claude-sonnet-5
|
|
22
|
+
opencode: opencode-go/minimax-m3
|
|
23
|
+
codex: gpt-5.6-terra
|
|
24
|
+
gemini: gemini-3.7-flash
|
|
25
|
+
cursor: composer-2.5-fast
|
|
26
|
+
grok: cursor-grok-4.6-high-fast
|
|
27
|
+
agy: gemini-3.7-flash
|
|
25
28
|
orchestrator:
|
|
26
|
-
claude: claude-sonnet-
|
|
27
|
-
opencode: opencode-go/
|
|
28
|
-
codex: gpt-5.
|
|
29
|
-
gemini: gemini-
|
|
30
|
-
cursor:
|
|
31
|
-
|
|
29
|
+
claude: claude-sonnet-5
|
|
30
|
+
opencode: opencode-go/qwen3.7-plus
|
|
31
|
+
codex: gpt-5.6-terra
|
|
32
|
+
gemini: gemini-3.7-flash
|
|
33
|
+
cursor: composer-2.5
|
|
34
|
+
grok: cursor-grok-4.6-high-fast
|
|
35
|
+
agy: gemini-3.7-flash
|
|
32
36
|
reviewer:
|
|
33
|
-
claude: claude-
|
|
34
|
-
opencode: opencode-go/qwen3.
|
|
35
|
-
codex: gpt-5.
|
|
36
|
-
gemini: gemini-
|
|
37
|
-
cursor:
|
|
38
|
-
|
|
37
|
+
claude: claude-opus-5
|
|
38
|
+
opencode: opencode-go/qwen3.7-plus
|
|
39
|
+
codex: gpt-5.6-sol
|
|
40
|
+
gemini: gemini-3.1-pro-preview
|
|
41
|
+
cursor: claude-sonnet-5-thinking-high
|
|
42
|
+
grok: cursor-grok-4.6-high-fast
|
|
43
|
+
agy: gemini-3.1-pro-preview
|
|
39
44
|
docs:
|
|
40
45
|
claude: claude-haiku-4-5-20251001
|
|
41
|
-
opencode: opencode-go/qwen3.
|
|
42
|
-
codex: gpt-5.
|
|
43
|
-
gemini: gemini-
|
|
44
|
-
cursor:
|
|
45
|
-
|
|
46
|
+
opencode: opencode-go/qwen3.7-plus
|
|
47
|
+
codex: gpt-5.6-luna
|
|
48
|
+
gemini: gemini-3.7-flash
|
|
49
|
+
cursor: claude-4.5-haiku-thinking
|
|
50
|
+
grok: cursor-grok-4.6-high-fast
|
|
51
|
+
agy: gemini-3.7-flash
|
|
46
52
|
task-coach:
|
|
47
53
|
claude: claude-haiku-4-5-20251001
|
|
48
|
-
opencode: opencode-go/kimi-k2.
|
|
49
|
-
codex: gpt-5.
|
|
50
|
-
gemini: gemini-
|
|
51
|
-
cursor:
|
|
52
|
-
|
|
54
|
+
opencode: opencode-go/kimi-k2.7-code
|
|
55
|
+
codex: gpt-5.6-luna
|
|
56
|
+
gemini: gemini-3.7-flash
|
|
57
|
+
cursor: claude-4.5-haiku-thinking
|
|
58
|
+
grok: cursor-grok-4.6-high-fast
|
|
59
|
+
agy: gemini-3.7-flash
|
|
53
60
|
repo-explorer:
|
|
54
61
|
claude: claude-haiku-4-5-20251001
|
|
55
|
-
opencode: opencode-go/
|
|
56
|
-
codex: gpt-5.
|
|
57
|
-
gemini: gemini-
|
|
58
|
-
cursor:
|
|
59
|
-
|
|
62
|
+
opencode: opencode-go/deepseek-v4-flash
|
|
63
|
+
codex: gpt-5.6-luna
|
|
64
|
+
gemini: gemini-3.7-flash
|
|
65
|
+
cursor: composer-2.5-fast
|
|
66
|
+
grok: cursor-grok-4.6-high-fast
|
|
67
|
+
agy: gemini-3.7-flash
|
|
60
68
|
goal-planner:
|
|
61
69
|
claude: claude-haiku-4-5-20251001
|
|
62
|
-
opencode: opencode-go/
|
|
63
|
-
codex: gpt-5.
|
|
64
|
-
gemini: gemini-
|
|
65
|
-
cursor:
|
|
66
|
-
|
|
70
|
+
opencode: opencode-go/deepseek-v4-flash
|
|
71
|
+
codex: gpt-5.6-luna
|
|
72
|
+
gemini: gemini-3.7-flash
|
|
73
|
+
cursor: claude-4.5-haiku-thinking
|
|
74
|
+
grok: cursor-grok-4.6-high-fast
|
|
75
|
+
agy: gemini-3.7-flash
|
|
67
76
|
complexity-auditor:
|
|
68
|
-
claude: claude-sonnet-
|
|
69
|
-
opencode: opencode-go/qwen3.
|
|
70
|
-
codex: gpt-5.
|
|
71
|
-
gemini: gemini-
|
|
72
|
-
cursor:
|
|
73
|
-
|
|
77
|
+
claude: claude-sonnet-5
|
|
78
|
+
opencode: opencode-go/qwen3.7-plus
|
|
79
|
+
codex: gpt-5.6-terra
|
|
80
|
+
gemini: gemini-3.7-flash
|
|
81
|
+
cursor: claude-sonnet-5-thinking-high
|
|
82
|
+
grok: cursor-grok-4.6-high-fast
|
|
83
|
+
agy: gemini-3.7-flash
|
|
74
84
|
security-reviewer:
|
|
75
|
-
claude: claude-opus-
|
|
85
|
+
claude: claude-opus-5
|
|
76
86
|
opencode: opencode-go/deepseek-v4-pro
|
|
77
|
-
codex: gpt-5.
|
|
78
|
-
gemini: gemini-
|
|
79
|
-
cursor:
|
|
80
|
-
|
|
87
|
+
codex: gpt-5.6-sol
|
|
88
|
+
gemini: gemini-3.1-pro-preview
|
|
89
|
+
cursor: claude-opus-5-thinking-high
|
|
90
|
+
grok: cursor-grok-4.6-high-fast
|
|
91
|
+
agy: gemini-3.1-pro-preview
|
|
81
92
|
contract-builder:
|
|
82
|
-
claude: claude-
|
|
83
|
-
opencode: opencode-go/qwen3.
|
|
84
|
-
codex: gpt-5.
|
|
85
|
-
gemini: gemini-
|
|
86
|
-
cursor:
|
|
87
|
-
|
|
93
|
+
claude: claude-opus-5
|
|
94
|
+
opencode: opencode-go/qwen3.7-plus
|
|
95
|
+
codex: gpt-5.6-sol
|
|
96
|
+
gemini: gemini-3.1-pro-preview
|
|
97
|
+
cursor: claude-sonnet-5-thinking-high
|
|
98
|
+
grok: cursor-grok-4.6-high-fast
|
|
99
|
+
agy: gemini-3.1-pro-preview
|
|
100
|
+
planner:
|
|
101
|
+
claude: claude-haiku-4-5-20251001
|
|
102
|
+
opencode: opencode-go/kimi-k2.7-code
|
|
103
|
+
codex: gpt-5.6-luna
|
|
104
|
+
gemini: gemini-3.7-flash
|
|
105
|
+
cursor: claude-4.5-haiku-thinking
|
|
106
|
+
grok: cursor-grok-4.6-high-fast
|
|
107
|
+
agy: gemini-3.7-flash
|
|
108
|
+
devil:
|
|
109
|
+
claude: claude-opus-5
|
|
110
|
+
opencode: opencode-go/deepseek-v4-pro
|
|
111
|
+
codex: gpt-5.6-sol
|
|
112
|
+
gemini: gemini-3.1-pro-preview
|
|
113
|
+
cursor: claude-opus-5-thinking-high
|
|
114
|
+
grok: cursor-grok-4.6-high-fast
|
|
115
|
+
agy: gemini-3.1-pro-preview
|
|
88
116
|
tools:
|
|
89
117
|
Read:
|
|
90
118
|
agy: view_file
|
|
@@ -100,4 +128,3 @@ tools:
|
|
|
100
128
|
agy: grep_search
|
|
101
129
|
WebFetch:
|
|
102
130
|
agy: read_url_content / read_browser_page
|
|
103
|
-
|
|
@@ -4,77 +4,103 @@
|
|
|
4
4
|
target: claude
|
|
5
5
|
agents:
|
|
6
6
|
architect:
|
|
7
|
-
claude: claude-opus-
|
|
7
|
+
claude: claude-opus-5
|
|
8
8
|
opencode: opencode-go/deepseek-v4-pro
|
|
9
|
-
codex: gpt-5.
|
|
10
|
-
gemini: gemini-
|
|
11
|
-
cursor:
|
|
9
|
+
codex: gpt-5.6-sol
|
|
10
|
+
gemini: gemini-3.1-pro-preview
|
|
11
|
+
cursor: claude-opus-5-thinking-high
|
|
12
|
+
grok: cursor-grok-4.6-high-fast
|
|
12
13
|
implementer:
|
|
13
|
-
claude: claude-sonnet-
|
|
14
|
+
claude: claude-sonnet-5
|
|
14
15
|
opencode: opencode-go/mimo-v2.5-pro
|
|
15
|
-
codex: gpt-5.
|
|
16
|
-
gemini: gemini-
|
|
17
|
-
cursor:
|
|
16
|
+
codex: gpt-5.6-terra
|
|
17
|
+
gemini: gemini-3.7-flash
|
|
18
|
+
cursor: composer-2.5-fast
|
|
19
|
+
grok: cursor-grok-4.6-high-fast
|
|
18
20
|
tester:
|
|
19
|
-
claude: claude-sonnet-
|
|
20
|
-
opencode: opencode-go/minimax-
|
|
21
|
-
codex: gpt-5.
|
|
22
|
-
gemini: gemini-
|
|
23
|
-
cursor:
|
|
21
|
+
claude: claude-sonnet-5
|
|
22
|
+
opencode: opencode-go/minimax-m3
|
|
23
|
+
codex: gpt-5.6-terra
|
|
24
|
+
gemini: gemini-3.7-flash
|
|
25
|
+
cursor: composer-2.5-fast
|
|
26
|
+
grok: cursor-grok-4.6-high-fast
|
|
24
27
|
orchestrator:
|
|
25
|
-
claude: claude-sonnet-
|
|
26
|
-
opencode: opencode-go/
|
|
27
|
-
codex: gpt-5.
|
|
28
|
-
gemini: gemini-
|
|
29
|
-
cursor:
|
|
28
|
+
claude: claude-sonnet-5
|
|
29
|
+
opencode: opencode-go/qwen3.7-plus
|
|
30
|
+
codex: gpt-5.6-terra
|
|
31
|
+
gemini: gemini-3.7-flash
|
|
32
|
+
cursor: composer-2.5
|
|
33
|
+
grok: cursor-grok-4.6-high-fast
|
|
30
34
|
reviewer:
|
|
31
|
-
claude: claude-
|
|
32
|
-
opencode: opencode-go/qwen3.
|
|
33
|
-
codex: gpt-5.
|
|
34
|
-
gemini: gemini-
|
|
35
|
-
cursor:
|
|
35
|
+
claude: claude-opus-5
|
|
36
|
+
opencode: opencode-go/qwen3.7-plus
|
|
37
|
+
codex: gpt-5.6-sol
|
|
38
|
+
gemini: gemini-3.1-pro-preview
|
|
39
|
+
cursor: claude-sonnet-5-thinking-high
|
|
40
|
+
grok: cursor-grok-4.6-high-fast
|
|
36
41
|
docs:
|
|
37
42
|
claude: claude-haiku-4-5-20251001
|
|
38
|
-
opencode: opencode-go/qwen3.
|
|
39
|
-
codex: gpt-5.
|
|
40
|
-
gemini: gemini-
|
|
41
|
-
cursor:
|
|
43
|
+
opencode: opencode-go/qwen3.7-plus
|
|
44
|
+
codex: gpt-5.6-luna
|
|
45
|
+
gemini: gemini-3.7-flash
|
|
46
|
+
cursor: claude-4.5-haiku-thinking
|
|
47
|
+
grok: cursor-grok-4.6-high-fast
|
|
42
48
|
task-coach:
|
|
43
49
|
claude: claude-haiku-4-5-20251001
|
|
44
|
-
opencode: opencode-go/kimi-k2.
|
|
45
|
-
codex: gpt-5.
|
|
46
|
-
gemini: gemini-
|
|
47
|
-
cursor:
|
|
50
|
+
opencode: opencode-go/kimi-k2.7-code
|
|
51
|
+
codex: gpt-5.6-luna
|
|
52
|
+
gemini: gemini-3.7-flash
|
|
53
|
+
cursor: claude-4.5-haiku-thinking
|
|
54
|
+
grok: cursor-grok-4.6-high-fast
|
|
48
55
|
repo-explorer:
|
|
49
56
|
claude: claude-haiku-4-5-20251001
|
|
50
|
-
opencode: opencode-go/
|
|
51
|
-
codex: gpt-5.
|
|
52
|
-
gemini: gemini-
|
|
53
|
-
cursor:
|
|
57
|
+
opencode: opencode-go/deepseek-v4-flash
|
|
58
|
+
codex: gpt-5.6-luna
|
|
59
|
+
gemini: gemini-3.7-flash
|
|
60
|
+
cursor: composer-2.5-fast
|
|
61
|
+
grok: cursor-grok-4.6-high-fast
|
|
54
62
|
goal-planner:
|
|
55
63
|
claude: claude-haiku-4-5-20251001
|
|
56
|
-
opencode: opencode-go/
|
|
57
|
-
codex: gpt-5.
|
|
58
|
-
gemini: gemini-
|
|
59
|
-
cursor:
|
|
64
|
+
opencode: opencode-go/deepseek-v4-flash
|
|
65
|
+
codex: gpt-5.6-luna
|
|
66
|
+
gemini: gemini-3.7-flash
|
|
67
|
+
cursor: claude-4.5-haiku-thinking
|
|
68
|
+
grok: cursor-grok-4.6-high-fast
|
|
60
69
|
complexity-auditor:
|
|
61
|
-
claude: claude-sonnet-
|
|
62
|
-
opencode: opencode-go/qwen3.
|
|
63
|
-
codex: gpt-5.
|
|
64
|
-
gemini: gemini-
|
|
65
|
-
cursor:
|
|
70
|
+
claude: claude-sonnet-5
|
|
71
|
+
opencode: opencode-go/qwen3.7-plus
|
|
72
|
+
codex: gpt-5.6-terra
|
|
73
|
+
gemini: gemini-3.7-flash
|
|
74
|
+
cursor: claude-sonnet-5-thinking-high
|
|
75
|
+
grok: cursor-grok-4.6-high-fast
|
|
66
76
|
security-reviewer:
|
|
67
|
-
claude: claude-opus-
|
|
77
|
+
claude: claude-opus-5
|
|
68
78
|
opencode: opencode-go/deepseek-v4-pro
|
|
69
|
-
codex: gpt-5.
|
|
70
|
-
gemini: gemini-
|
|
71
|
-
cursor:
|
|
79
|
+
codex: gpt-5.6-sol
|
|
80
|
+
gemini: gemini-3.1-pro-preview
|
|
81
|
+
cursor: claude-opus-5-thinking-high
|
|
82
|
+
grok: cursor-grok-4.6-high-fast
|
|
72
83
|
contract-builder:
|
|
73
|
-
claude: claude-
|
|
74
|
-
opencode: opencode-go/qwen3.
|
|
75
|
-
codex: gpt-5.
|
|
76
|
-
gemini: gemini-
|
|
77
|
-
cursor:
|
|
84
|
+
claude: claude-opus-5
|
|
85
|
+
opencode: opencode-go/qwen3.7-plus
|
|
86
|
+
codex: gpt-5.6-sol
|
|
87
|
+
gemini: gemini-3.1-pro-preview
|
|
88
|
+
cursor: claude-sonnet-5-thinking-high
|
|
89
|
+
grok: cursor-grok-4.6-high-fast
|
|
90
|
+
planner:
|
|
91
|
+
claude: claude-haiku-4-5-20251001
|
|
92
|
+
opencode: opencode-go/kimi-k2.7-code
|
|
93
|
+
codex: gpt-5.6-luna
|
|
94
|
+
gemini: gemini-3.7-flash
|
|
95
|
+
cursor: claude-4.5-haiku-thinking
|
|
96
|
+
grok: cursor-grok-4.6-high-fast
|
|
97
|
+
devil:
|
|
98
|
+
claude: claude-opus-5
|
|
99
|
+
opencode: opencode-go/deepseek-v4-pro
|
|
100
|
+
codex: gpt-5.6-sol
|
|
101
|
+
gemini: gemini-3.1-pro-preview
|
|
102
|
+
cursor: claude-opus-5-thinking-high
|
|
103
|
+
grok: cursor-grok-4.6-high-fast
|
|
78
104
|
tools:
|
|
79
105
|
Read:
|
|
80
106
|
claude: ViewCodeItem / ReadFile
|