Skip to content

Conversation

@thomas-bartlett
Copy link
Collaborator

Fixes the digital certificates rule which previously assumed AI agents could parse X.509 certificates to extract properties like key size and expiration. Since agents cannot decode certificate data without specialized tools, the rule now instructs agents to flag certificates for verification and list required security checks, rather than claiming to perform the validation directly.

@thomas-bartlett thomas-bartlett self-assigned this Jan 20, 2026
Copilot AI review requested due to automatic review settings January 20, 2026 18:04
@thomas-bartlett thomas-bartlett added enhancement New feature or request rule-feedback Providing feedback about a rule labels Jan 20, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the digital certificates rule to reflect that AI agents cannot parse X.509 certificates without specialized tools. Instead of instructing agents to directly validate certificate properties, the rule now guides agents to flag certificates for verification and list the security checks that must be performed.

Changes:

  • Updated main rule description to instruct agents to flag certificates for verification rather than parse them directly
  • Modified section 2 guidance to emphasize that certificates must be flagged for validation
  • Added "Verification Guidance" section with OpenSSL command for inspecting certificates
  • Rewrote both examples to show flagging approach instead of claiming to perform validation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@ramraaj25 ramraaj25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,
Thank You!

Copy link
Contributor

@santosomar santosomar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for addressing this!

@santosomar santosomar merged commit 73817a6 into develop Jan 20, 2026
1 check passed
@santosomar santosomar deleted the fix/digital-certificates-rule-no-parsing-assumption branch January 20, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rule-feedback Providing feedback about a rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants