Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions skills/codeguard/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,26 @@ When writing or reviewing code:
| Language | Rule Files to Apply |
|----------|---------------------|
| apex | codeguard-0-input-validation-injection.md |
| c | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-client-side-web-security.md, codeguard-0-data-storage.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-iac-security.md, codeguard-0-input-validation-injection.md, codeguard-0-logging.md, codeguard-0-safe-c-functions.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| c | codeguard-0-additional-cryptography.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-data-storage.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-input-validation-injection.md, codeguard-0-logging.md, codeguard-0-safe-c-functions.md, codeguard-0-xml-and-serialization.md |
| cpp | codeguard-0-safe-c-functions.md |
| d | codeguard-0-iac-security.md |
| docker | codeguard-0-devops-ci-cd-containers.md, codeguard-0-supply-chain-security.md |
| go | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-input-validation-injection.md, codeguard-0-mcp-security.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| hcl | codeguard-0-iac-security.md |
| html | codeguard-0-client-side-web-security.md, codeguard-0-input-validation-injection.md, codeguard-0-session-management-and-cookies.md |
| html | codeguard-0-client-side-web-security.md, codeguard-0-input-validation-injection.md |
| java | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-mcp-security.md, codeguard-0-mobile-apps.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| javascript | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-client-side-web-security.md, codeguard-0-cloud-orchestration-kubernetes.md, codeguard-0-data-storage.md, codeguard-0-devops-ci-cd-containers.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-iac-security.md, codeguard-0-input-validation-injection.md, codeguard-0-logging.md, codeguard-0-mcp-security.md, codeguard-0-mobile-apps.md, codeguard-0-privacy-data-protection.md, codeguard-0-session-management-and-cookies.md, codeguard-0-supply-chain-security.md |
| javascript | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-client-side-web-security.md, codeguard-0-data-storage.md, codeguard-0-devops-ci-cd-containers.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-logging.md, codeguard-0-mcp-security.md, codeguard-0-mobile-apps.md, codeguard-0-privacy-data-protection.md, codeguard-0-session-management-and-cookies.md, codeguard-0-supply-chain-security.md |
| kotlin | codeguard-0-additional-cryptography.md, codeguard-0-authentication-mfa.md, codeguard-0-framework-and-languages.md, codeguard-0-mobile-apps.md |
| matlab | codeguard-0-additional-cryptography.md, codeguard-0-authentication-mfa.md, codeguard-0-mobile-apps.md, codeguard-0-privacy-data-protection.md |
| perl | codeguard-0-mobile-apps.md |
| php | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-client-side-web-security.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| powershell | codeguard-0-devops-ci-cd-containers.md, codeguard-0-iac-security.md, codeguard-0-input-validation-injection.md |
| python | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-mcp-security.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| ruby | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-iac-security.md, codeguard-0-input-validation-injection.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| ruby | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-session-management-and-cookies.md, codeguard-0-xml-and-serialization.md |
| rust | codeguard-0-mcp-security.md |
| shell | codeguard-0-devops-ci-cd-containers.md, codeguard-0-iac-security.md, codeguard-0-input-validation-injection.md |
| sql | codeguard-0-data-storage.md, codeguard-0-input-validation-injection.md |
| swift | codeguard-0-additional-cryptography.md, codeguard-0-authentication-mfa.md, codeguard-0-mobile-apps.md |
| typescript | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authentication-mfa.md, codeguard-0-authorization-access-control.md, codeguard-0-client-side-web-security.md, codeguard-0-file-handling-and-uploads.md, codeguard-0-framework-and-languages.md, codeguard-0-input-validation-injection.md, codeguard-0-mcp-security.md, codeguard-0-session-management-and-cookies.md |
| vlang | codeguard-0-client-side-web-security.md |
| xml | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-devops-ci-cd-containers.md, codeguard-0-framework-and-languages.md, codeguard-0-mobile-apps.md, codeguard-0-xml-and-serialization.md |
| yaml | codeguard-0-additional-cryptography.md, codeguard-0-api-web-services.md, codeguard-0-authorization-access-control.md, codeguard-0-cloud-orchestration-kubernetes.md, codeguard-0-data-storage.md, codeguard-0-devops-ci-cd-containers.md, codeguard-0-framework-and-languages.md, codeguard-0-iac-security.md, codeguard-0-logging.md, codeguard-0-privacy-data-protection.md, codeguard-0-supply-chain-security.md |
| xml | codeguard-0-api-web-services.md, codeguard-0-mobile-apps.md, codeguard-0-xml-and-serialization.md |
| yaml | codeguard-0-authorization-access-control.md, codeguard-0-cloud-orchestration-kubernetes.md, codeguard-0-data-storage.md, codeguard-0-devops-ci-cd-containers.md, codeguard-0-iac-security.md, codeguard-0-supply-chain-security.md |


4. Proactive Security: Don't just avoid vulnerabilities-actively implement secure patterns:
Expand Down
3 changes: 0 additions & 3 deletions skills/codeguard/rules/codeguard-0-additional-cryptography.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ languages:
- java
- javascript
- kotlin
- matlab
- php
- python
- ruby
- swift
- typescript
- xml
- yaml
alwaysApply: false
tags:
- data-security
Expand Down
2 changes: 0 additions & 2 deletions skills/codeguard/rules/codeguard-0-api-web-services.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
description: API & Web services security (REST/GraphQL/SOAP), schema validation, authn/z, SSRF
languages:
- c
- go
- java
- javascript
Expand All @@ -10,7 +9,6 @@ languages:
- ruby
- typescript
- xml
- yaml
alwaysApply: false
tags:
- web
Expand Down
1 change: 0 additions & 1 deletion skills/codeguard/rules/codeguard-0-authentication-mfa.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ languages:
- java
- javascript
- kotlin
- matlab
- php
- python
- ruby
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
description: Client-side web security (XSS/DOM XSS, CSP, CSRF, clickjacking, XS-Leaks, third-party JS)
languages:
- c
- html
- javascript
- php
- typescript
- vlang
alwaysApply: false
tags:
- web
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
description: Kubernetes hardening (RBAC, admission policies, network policies, secrets, supply chain)
languages:
- javascript
- yaml
alwaysApply: false
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ languages:
- javascript
- powershell
- shell
- xml
- yaml
alwaysApply: false
tags:
Expand Down
3 changes: 0 additions & 3 deletions skills/codeguard/rules/codeguard-0-framework-and-languages.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
---
description: Framework & language security guides (Django/DRF, Laravel/Symfony/Rails, .NET, Java/JAAS, Node.js, PHP config)
languages:
- c
- java
- javascript
- kotlin
- php
- python
- ruby
- typescript
- xml
- yaml
alwaysApply: false
---

Expand Down
4 changes: 0 additions & 4 deletions skills/codeguard/rules/codeguard-0-iac-security.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
---
description: Infrastructure as Code Security
languages:
- c
- d
- hcl
- javascript
- powershell
- ruby
- shell
- yaml
alwaysApply: false
Expand Down
1 change: 0 additions & 1 deletion skills/codeguard/rules/codeguard-0-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description: Logging & monitoring (structured telemetry, redaction, integrity, d
languages:
- c
- javascript
- yaml
alwaysApply: false
tags:
- privacy
Expand Down
2 changes: 0 additions & 2 deletions skills/codeguard/rules/codeguard-0-mobile-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ languages:
- java
- javascript
- kotlin
- matlab
- perl
- swift
- xml
alwaysApply: false
Expand Down
2 changes: 0 additions & 2 deletions skills/codeguard/rules/codeguard-0-privacy-data-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
description: Privacy & data protection (minimization, classification, encryption, rights, transparency)
languages:
- javascript
- matlab
- yaml
alwaysApply: false
tags:
- privacy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
description: Session management and secure cookies (rotation, fixation, timeouts, theft detection)
languages:
- c
- go
- html
- java
- javascript
- php
Expand Down
3 changes: 0 additions & 3 deletions sources/rules/core/codeguard-0-additional-cryptography.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ languages:
- java
- javascript
- kotlin
- matlab
- php
- python
- ruby
- swift
- typescript
- xml
- yaml
tags:
- data-security
- secrets
Expand Down
2 changes: 0 additions & 2 deletions sources/rules/core/codeguard-0-api-web-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: API & Web services security (REST/GraphQL/SOAP), schema validation, authn/z,
SSRF
languages:
- c
- go
- java
- javascript
Expand All @@ -11,7 +10,6 @@ languages:
- ruby
- typescript
- xml
- yaml
tags:
- web
alwaysApply: false
Expand Down
1 change: 0 additions & 1 deletion sources/rules/core/codeguard-0-authentication-mfa.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ languages:
- java
- javascript
- kotlin
- matlab
- php
- python
- ruby
Expand Down
2 changes: 0 additions & 2 deletions sources/rules/core/codeguard-0-client-side-web-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
description: Client-side web security (XSS/DOM XSS, CSP, CSRF, clickjacking, XS-Leaks,
third-party JS)
languages:
- c
- html
- javascript
- php
- typescript
- vlang
tags:
- web
alwaysApply: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: Kubernetes hardening (RBAC, admission policies, network policies, secrets,
supply chain)
languages:
- javascript
- yaml
tags:
- infrastructure
Expand Down
1 change: 0 additions & 1 deletion sources/rules/core/codeguard-0-devops-ci-cd-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ languages:
- javascript
- powershell
- shell
- xml
- yaml
tags:
- infrastructure
Expand Down
3 changes: 0 additions & 3 deletions sources/rules/core/codeguard-0-framework-and-languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
description: Framework & language security guides (Django/DRF, Laravel/Symfony/Rails,
.NET, Java/JAAS, Node.js, PHP config)
languages:
- c
- java
- javascript
- kotlin
- php
- python
- ruby
- typescript
- xml
- yaml
alwaysApply: false
---

Expand Down
4 changes: 0 additions & 4 deletions sources/rules/core/codeguard-0-iac-security.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
---
description: Infrastructure as Code Security
languages:
- c
- d
- hcl
- javascript
- powershell
- ruby
- shell
- yaml
tags:
Expand Down
1 change: 0 additions & 1 deletion sources/rules/core/codeguard-0-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description: Logging & monitoring (structured telemetry, redaction, integrity, d
languages:
- c
- javascript
- yaml
tags:
- privacy
alwaysApply: false
Expand Down
2 changes: 0 additions & 2 deletions sources/rules/core/codeguard-0-mobile-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ languages:
- java
- javascript
- kotlin
- matlab
- perl
- swift
- xml
alwaysApply: false
Expand Down
2 changes: 0 additions & 2 deletions sources/rules/core/codeguard-0-privacy-data-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ description: Privacy & data protection (minimization, classification, encryption
rights, transparency)
languages:
- javascript
- matlab
- yaml
tags:
- privacy
alwaysApply: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
description: Session management and secure cookies (rotation, fixation, timeouts,
theft detection)
languages:
- c
- go
- html
- java
- javascript
- php
Expand Down
Loading