Skip to content

Commit acd65e6

Browse files
codereview-roasted: instruct agent to check system clock for CVE date validation (#116)
Training data cutoff can cause the agent to be suspicious of CVEs from years beyond its training data (e.g., CVE-2026-* when training ended in 2025). Add explicit instruction to check the system date before dismissing CVE identifiers as invalid. Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 2fb00d7 commit acd65e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

skills/codereview-roasted/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Focus on real security risks, not theoretical ones:
6868
- Memory safety issues in unsafe languages
6969
- Concurrency bugs that cause data corruption
7070

71+
**Important**: When evaluating CVEs or security advisories, always check the system clock (`date`) to determine the current year. Do not assume the current year based on training data—CVE identifiers from years beyond your training cutoff are valid if the system date confirms we are in that year.
72+
7173
6. **Testing and Regression Proof**
7274
If this change adds new components/modules/endpoints or changes user-visible behavior, and the repository has a test infrastructure, there should be tests that prove the behavior.
7375

0 commit comments

Comments
 (0)