<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anurag Bansal</title>
    <description>The latest articles on DEV Community by Anurag Bansal (@anurag_bansal_6316253b07e).</description>
    <link>https://dev.to/anurag_bansal_6316253b07e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3667114%2F206873d8-4200-4c49-a5cc-663a93e75cea.jpg</url>
      <title>DEV Community: Anurag Bansal</title>
      <link>https://dev.to/anurag_bansal_6316253b07e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anurag_bansal_6316253b07e"/>
    <language>en</language>
    <item>
      <title>How are some users receiving OTPs before the website enables “Send OTP” and before captcha completion?</title>
      <dc:creator>Anurag Bansal</dc:creator>
      <pubDate>Wed, 17 Dec 2025 13:55:41 +0000</pubDate>
      <link>https://dev.to/anurag_bansal_6316253b07e/how-are-some-users-receiving-otps-before-the-website-enables-send-otp-and-before-captcha-2fc6</link>
      <guid>https://dev.to/anurag_bansal_6316253b07e/how-are-some-users-receiving-otps-before-the-website-enables-send-otp-and-before-captcha-2fc6</guid>
      <description>&lt;p&gt;Hello experts,&lt;br&gt;
I’m facing a confusing issue and would really appreciate technical insights from experienced developers or security professionals.&lt;/p&gt;

&lt;p&gt;In system, the OTP sending port/slot officially opens at exactly 2:00 PM. Before that time, the website does not show the “Send OTP” option.&lt;/p&gt;

&lt;p&gt;However, we’ve observed that some developers or API users are able to receive OTP codes earlier, around 1:58–1:59 PM, even though:&lt;/p&gt;

&lt;p&gt;The “Send OTP” button is not yet enabled on the website&lt;/p&gt;

&lt;p&gt;The email address is already attached (they don’t need to re-enter email or SIM number)&lt;/p&gt;

&lt;p&gt;Captcha (required for both SMS and email OTP) has not yet been completed&lt;/p&gt;

&lt;p&gt;OTP is still delivered successfully to email and  SMS&lt;/p&gt;

&lt;p&gt;This raises several questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;How is it technically possible to trigger OTP generation before the frontend enables it?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Could this be done by:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Directly calling backend or OTP API endpoints?&lt;/p&gt;

&lt;p&gt;Reusing an existing session, token, or cookie?&lt;/p&gt;

&lt;p&gt;Predicting or bypassing captcha validation?&lt;/p&gt;

&lt;p&gt;Time synchronization differences between frontend and backend servers?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is this likely a security misconfiguration, such as:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OTP API not enforcing time-based or captcha checks&lt;/p&gt;

&lt;p&gt;Missing server-side validation&lt;/p&gt;

&lt;p&gt;Rate-limit or session validation flaws&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How can this technically be done, and can you share any APIs, request flows, or procedures that would allow triggering OTP generation before the frontend option appears and before captcha completion?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Any explanation of how this might happen, or guidance on the technical flow involved, would be extremely helpful.&lt;/p&gt;

&lt;p&gt;Thanks in advance for your guidance.&lt;/p&gt;

</description>
      <category>api</category>
      <category>architecture</category>
      <category>security</category>
    </item>
  </channel>
</rss>
