Skip to content

Commit 4088444

Browse files
authored
Merge pull request #46 from project-codeguard/feature/plugin-fixes
Add ClaudeCodeFormat to unified build system
2 parents 7a2c292 + 4e3a952 commit 4088444

29 files changed

Lines changed: 158 additions & 22 deletions

.claude-plugin/marketplace.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@
88
"url": "https://project-codeguard.org",
99
"email": "contact@project-codeguard.org"
1010
},
11-
"repository": {
12-
"type": "git",
13-
"url": "https://github.com/project-codeguard/rules.git"
14-
},
1511
"plugins": [
1612
{
1713
"name": "codeguard-security",
18-
"source": ".",
14+
"source": "./",
1915
"description": "Comprehensive security rules for AI coding agents",
2016
"version": "1.0.0",
17+
"repository": "https://github.com/project-codeguard/rules.git",
2118
"tags": ["security", "code-review", "vulnerability-prevention"]
2219
}
2320
]

.claude-plugin/plugin.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
},
99
"license": "CC-BY-4.0 (rules), Apache-2.0 (tools)",
1010
"homepage": "https://github.com/project-codeguard/rules",
11-
"repository": {
12-
"type": "git",
13-
"url": "https://github.com/project-codeguard/rules.git"
14-
},
11+
"repository": "https://github.com/project-codeguard/rules.git",
1512
"keywords": ["security", "secure-coding", "vulnerability-prevention", "code-review", "appsec"]
1613
}
1714

skills/software-security/rules/codeguard-0-additional-cryptography.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ languages:
1717
alwaysApply: false
1818
---
1919

20+
rule_id: codeguard-0-additional-cryptography
21+
2022
## Additional Cryptography & TLS
2123

2224
Apply modern, vetted cryptography for data at rest and in transit. Manage keys safely, configure TLS correctly, deploy HSTS, and consider pinning only when appropriate.

skills/software-security/rules/codeguard-0-api-web-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ languages:
1515
alwaysApply: false
1616
---
1717

18+
rule_id: codeguard-0-api-web-services
19+
1820
## API & Web Services Security
1921

2022
Secure REST, GraphQL, and SOAP/WS services end‑to‑end: transport, authn/z, schema validation, SSRF controls, DoS limits, and microservice‑safe patterns.

skills/software-security/rules/codeguard-0-authentication-mfa.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ languages:
1616
alwaysApply: false
1717
---
1818

19+
rule_id: codeguard-0-authentication-mfa
20+
1921
## Authentication & MFA
2022

2123
Build a resilient, user-friendly authentication system that resists credential attacks, protects secrets, and supports strong, phishing-resistant MFA and secure recovery.

skills/software-security/rules/codeguard-0-authorization-access-control.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ languages:
1414
alwaysApply: false
1515
---
1616

17+
rule_id: codeguard-0-authorization-access-control
18+
1719
## Authorization & Access Control
1820

1921
Enforce least privilege and precise access decisions for every request and resource, prevent IDOR and mass assignment, and provide strong transaction authorization where necessary.

skills/software-security/rules/codeguard-0-client-side-web-security.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ languages:
1111
alwaysApply: false
1212
---
1313

14+
rule_id: codeguard-0-client-side-web-security
15+
1416
## Client‑side Web Security
1517

1618
Protect browser clients against code injection, request forgery, UI redress, cross‑site leaks, and unsafe third‑party scripts with layered, context‑aware controls.

skills/software-security/rules/codeguard-0-cloud-orchestration-kubernetes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ languages:
77
alwaysApply: false
88
---
99

10+
rule_id: codeguard-0-cloud-orchestration-kubernetes
11+
1012
## Cloud & Orchestration (Kubernetes)
1113

1214
Kubernetes cluster and workload hardening: identity, policy, networking, secrets, and supply chain controls.

skills/software-security/rules/codeguard-0-data-storage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ languages:
99
alwaysApply: false
1010
---
1111

12+
rule_id: codeguard-0-data-storage
13+
1214
## Database Security Guidelines
1315

1416
This rule advises on securely configuring SQL and NoSQL databases to protect against data breaches and unauthorized access:

skills/software-security/rules/codeguard-0-devops-ci-cd-containers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ languages:
1111
alwaysApply: false
1212
---
1313

14+
rule_id: codeguard-0-devops-ci-cd-containers
15+
1416
## DevOps, CI/CD, and Containers
1517

1618
Secure the build, packaging, and deployment supply chain: protect pipelines and artifacts, harden containers, and use virtual patching and toolchain flags when necessary.

0 commit comments

Comments
 (0)