c-03-unsafe-to-readonly-resource
Convert Unsafe File Access to Read-only Resource
Expose safe read-only resource instead of arbitrary path tool.
mid
~40 minREADME
# c-03-unsafe-to-readonly-resource Validator: `npx tsx tests/validate.ts`
Hints
- Use registerResource
- Jail paths
Acceptance
- resource exists
- path traversal blocked