Guardrail: Context Safety Checker for Code Injection