India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudPublic sector (state welfare-scheme citizen helpdesk)Public Sector & Non-profit

State welfare-scheme helpdesk blocks injection and PII leaks before public launch

State department's citizen helpdesk for welfare-scheme eligibility and application status · Western India · 6 weeks

Amazon Web Services
01

As-is situation

A state department planned to launch a WhatsApp and web assistant answering questions on eligibility, documents required and application status for several welfare schemes, built by its system integrator on Google Cloud. Status lookups required an application number and mobile OTP. Pre-launch reviews had covered functionality and load, but not AI-specific risks. In a demonstration, an officer typed a request to ignore instructions and list recent applicants, and the assistant produced fragments of retrieved status records. Launch was paused, and the department asked for an independent security review within six weeks.

  • Demonstrated leak of applicant status fragments through a simple injection prompt
  • Scheme circulars and citizen-uploaded documents feeding retrieval without screening
  • Six-week deadline before a public launch announced by the department
02

Approach, tools and architecture

NTSPL separated the assistant into two paths: scheme information answered from circulars only, and status lookups as a fixed flow returning one record after OTP verification, with no model access to the status database. Model Armor screens all citizen input and retrieved circular text for injection and sensitive data, and responses are screened before sending. Sensitive Data Protection masks Aadhaar and bank details in conversation logs. VPC Service Controls placed the AI and data services inside one perimeter in asia-south1. A five-day red-team in Hindi, Marathi and English retested every prior attack and 1,800 automated prompts.

Citizen WhatsApp or web → input screening with Model Armor → router: circular Q&A path via Gemini or OTP-verified status flow → output screening → masked logs in Cloud Logging inside VPC Service Controls perimeter
Model ArmorGemini Enterprise Agent PlatformSensitive Data ProtectionVPC Service ControlsCloud LoggingSecurity Command Center
03

Implementation approach

Week 1 · Threat modelMapped data flows and identified the shared retrieval index containing status records as the root cause.
Weeks 2-3 · RedesignSplit status lookups into a deterministic OTP flow and rebuilt the circular-only index.
Weeks 3-4 · ControlsDeployed Model Armor, log masking, the service perimeter and SIEM alerts for injection bursts.
Weeks 5-6 · Red-team and sign-offRan trilingual red-teaming, fixed nine findings and obtained the department's security clearance.
04

Measured results

Applicant data exposed in red-team attempts
Leak demonstrated→Zero in 1,800 automated and 240 manual attempts
Injection attempts blocked in first month live
Not monitored→About 4,100 blocked and logged
Unmasked Aadhaar numbers in conversation logs
Present→Zero
Public launch
Paused→Launched within the six-week window

Operational improvements

  • The department's security cell receives weekly reports on blocked prompts by type and language
  • Every new scheme circular is screened for embedded instructions before being added to the index
05

Cost considerations

Model Armor and Sensitive Data Protection add around ₹40,000 a month at about 6 lakh conversations. The redesign reduced model usage because status lookups no longer call the model at all, partly offsetting the cost of the new controls.

06

Return on investment

ROI indicator

The value lies in launching a public service without a data breach. Separating status lookups from the model also made answers faster and cheaper, and the department plans to reuse the control pattern for two further citizen assistants.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.