ComplyPatch AIPR compliance console
Login with GitHub
IdleNo report
WorkspaceLocal file or folder path
AttachBrowser file or folder

No browser files selected

GitHubPublic or private repository
Score-

Awaiting scan

AI riskOff

Enable AI for risk scoring

Findings-

Total flagged evidence

Critical + High-

Merge blockers

Comment-

GitHub format

Input

patient-export.ts

demo
export async function GET(req: Request) {
  const password = "demo-secret-placeholder";

  const patient = {
    name: "Rahul Sharma",
    phone: "9876543210",
    diagnosis: "diabetes"
  };

  console.log("Patient data:", patient);

  const query = "SELECT * FROM patients WHERE id = " + req.url;

  cookies().set("session", "abc123");

  return Response.json(patient, {
    headers: {
      "Access-Control-Allow-Origin": "*"
    }
  });
}
Selected evidenceNo selection
Output

Compliance result

Ready
Awaiting scan
GitHub

PR comment

Comment pending