bdougie / bdougie/codebunny

Implement schema validation for ReviewSnapshot artifacts

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Problem
The system currently relies solely on filename patterns to identify legitimate review snapshots. This creates a vulnerability where corrupted or misplaced files could compromise the tracking system.

## Solution
- Implement proper schema validation for ReviewSnapshot objects
- Validate artifact contents beyond just filename checking
- Add validation before processing downloaded artifacts

## Related
PR #2 review feedback

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the ReviewSnapshot definition and the code path that processes downloaded artifacts; then read the related PR #2 review feedback for existing constraints. Done means artifact contents are validated against a schema before processing, rather than relying only on filename patterns.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.