507507 < ul class ="md-nav__list ">
508508
509509 < li class ="md-nav__item ">
510- < a href ="#always-apply-rules-4 -rules " class ="md-nav__link ">
510+ < a href ="#always-apply-rules-3 -rules " class ="md-nav__link ">
511511 < span class ="md-ellipsis ">
512- Always-Apply Rules (4 rules)
512+ Always-Apply Rules (3 rules)
513513 </ span >
514514 </ a >
515515
516516</ li >
517517
518518 < li class ="md-nav__item ">
519- < a href ="#context-specific-rules-18 -rules " class ="md-nav__link ">
519+ < a href ="#context-specific-rules-19 -rules " class ="md-nav__link ">
520520 < span class ="md-ellipsis ">
521- Context-Specific Rules (18 rules)
521+ Context-Specific Rules (19 rules)
522522 </ span >
523523 </ a >
524524
767767 < nav class ="md-nav " aria-label ="Version History ">
768768 < ul class ="md-nav__list ">
769769
770+ < li class ="md-nav__item ">
771+ < a href ="#version-101 " class ="md-nav__link ">
772+ < span class ="md-ellipsis ">
773+ Version 1.0.1
774+ </ span >
775+ </ a >
776+
777+ </ li >
778+
770779 < li class ="md-nav__item ">
771780 < a href ="#version-100 " class ="md-nav__link ">
772781 < span class ="md-ellipsis ">
@@ -885,13 +894,12 @@ <h3 id="security-workflow">Security Workflow</h3>
885894- Explain which security rules were applied
886895- Highlight security features implemented</ p >
887896< h3 id ="rule-categories "> Rule Categories</ h3 >
888- < p > < strong > Always-Apply Rules</ strong > (4 critical rules checked on every code operation):
897+ < p > < strong > Always-Apply Rules</ strong > (3 critical rules checked on every code operation):
889898- < code > codeguard-1-hardcoded-credentials</ code > - Never hardcode secrets or credentials
890899- < code > codeguard-1-crypto-algorithms</ code > - Use modern cryptographic algorithms
891- - < code > codeguard-1-digital-certificates</ code > - Validate certificate security
892- - < code > codeguard-1-safe-c-functions</ code > - Replace unsafe C/C++ functions</ p >
893- < p > < strong > Context-Specific Rules</ strong > (18 rules applied based on technology and features):
894- - Input validation, authentication, authorization, APIs, data storage, privacy, logging, cryptography, file handling, serialization, supply chain, DevOps, cloud, Kubernetes, IaC, frameworks, and mobile security</ p >
900+ - < code > codeguard-1-digital-certificates</ code > - Validate certificate security</ p >
901+ < p > < strong > Context-Specific Rules</ strong > (19 rules applied based on technology and features):
902+ - Input validation, authentication, authorization, APIs, data storage, privacy, logging, cryptography, file handling, serialization, supply chain, DevOps, cloud, Kubernetes, IaC, frameworks, mobile security, and memory safety (C/C++)</ p >
895903< h2 id ="usage-examples "> Usage Examples</ h2 >
896904< h3 id ="example-1-writing-database-code "> Example 1: Writing Database Code</ h3 >
897905< pre > < code class ="language-python "> # Claude will automatically use parameterized queries
@@ -955,7 +963,7 @@ <h2 id="team-deployment">Team Deployment</h2>
955963</ ol >
956964< h2 id ="all-security-rules "> All Security Rules</ h2 >
957965< p > The plugin includes 22 comprehensive security rules organized into two categories:</ p >
958- < h3 id ="always-apply-rules-4 -rules "> Always-Apply Rules (4 rules)</ h3 >
966+ < h3 id ="always-apply-rules-3 -rules "> Always-Apply Rules (3 rules)</ h3 >
959967< p > These critical rules are checked on < strong > every</ strong > code operation:</ p >
960968< table >
961969< thead >
@@ -977,13 +985,9 @@ <h3 id="always-apply-rules-4-rules">Always-Apply Rules (4 rules)</h3>
977985< td > < code > codeguard-1-digital-certificates</ code > </ td >
978986< td > Validate certificate expiration, key strength, signature algorithms</ td >
979987</ tr >
980- < tr >
981- < td > < code > codeguard-1-safe-c-functions</ code > </ td >
982- < td > Replace unsafe C/C++ functions (gets, strcpy, strcat, sprintf)</ td >
983- </ tr >
984988</ tbody >
985989</ table >
986- < h3 id ="context-specific-rules-18 -rules "> Context-Specific Rules (18 rules)</ h3 >
990+ < h3 id ="context-specific-rules-19 -rules "> Context-Specific Rules (19 rules)</ h3 >
987991< p > These rules apply based on the programming language, framework, or feature being implemented. Claude automatically selects relevant rules based on context:</ p >
988992< table >
989993< thead >
@@ -1033,6 +1037,10 @@ <h3 id="context-specific-rules-18-rules">Context-Specific Rules (18 rules)</h3>
10331037< td > < strong > Platforms</ strong > </ td >
10341038< td > < code > codeguard-0-framework-and-languages</ code > , < code > codeguard-0-mobile-apps</ code > </ td >
10351039</ tr >
1040+ < tr >
1041+ < td > < strong > Memory Safety (C/C++)</ strong > </ td >
1042+ < td > < code > codeguard-0-safe-c-functions</ code > </ td >
1043+ </ tr >
10361044</ tbody >
10371045</ table >
10381046< blockquote >
@@ -1186,6 +1194,12 @@ <h2 id="contributing">Contributing</h2>
11861194< li > < strong > Contribute</ strong > : < a href ="https://github.com/project-codeguard/rules/blob/main/CONTRIBUTING.md "> Contributing Guide</ a > </ li >
11871195</ ol >
11881196< h2 id ="version-history "> Version History</ h2 >
1197+ < h3 id ="version-101 "> Version 1.0.1</ h3 >
1198+ < ul >
1199+ < li > Changed < code > codeguard-1-safe-c-functions</ code > from always-apply to < code > codeguard-0-safe-c-functions</ code > context-specific rule (C/C++ only)</ li >
1200+ < li > Updated rule counts: 3 always-apply rules, 19 context-specific rules</ li >
1201+ < li > Fixed GitHub Copilot instructions to use < code > description</ code > field instead of < code > title</ code > </ li >
1202+ </ ul >
11891203< h3 id ="version-100 "> Version 1.0.0</ h3 >
11901204< ul >
11911205< li > Initial release</ li >
0 commit comments