Skip to main content

POSC: Protecting Your Site From Web Physics Attacks

Web physics attacks exploit browser behaviors to bypass security measures. Learn how Proof-of-Space and Computation (POSC) enhances identity verification and internal controls, safeguarding your site against evolving threats.

POSC: Protecting Your Site From Web Physics Attacks

Contents

In this guide

Jump to the part you need.

POSC: Protecting Your Site From Web Physics Attacks

The digital landscape is constantly evolving, and with it, the methods attackers use to compromise security. Traditional cybersecurity measures often focus on code vulnerabilities and network defenses. However, a newer class of attacks, known as web physics attacks, exploits the fundamental behaviors of web browsers and the underlying physics of user interaction. This necessitates a shift in thinking, and the adoption of innovative defensive strategies like Proof-of-Space and Computation (POSC). In this post, we'll delve into the nature of web physics attacks, how POSC provides a robust defense, and its implications for identity verification, internal controls, and overall cybersecurity for the site. We will also discuss how POSC impacts API tasks domain security.

Key Takeaway 1 Web physics attacks bypass traditional security by exploiting inherent browser behaviors, making them difficult to detect with conventional methods.

Key Takeaway 2 POSC introduces a layer of defense by requiring attackers to demonstrate genuine computational effort and resource ownership, increasing the cost of successful attacks.

Key Takeaway 3 Integrating POSC with identity verification enhances trust and reduces fraud by verifying not just who a user is, but that they are a real, interactive human.

Key Takeaway 4 POSC strengthens internal controls by adding a verifiable layer of trust to sensitive API tasks domain operations.

Understanding Web Physics Attacks

Web physics attacks leverage the physical characteristics of how users interact with websites. These attacks don't necessarily target software bugs; instead, they exploit the timing, motion, and cognitive limitations of human interaction. Examples include:

  • Mouse Movement Analysis: Attackers can analyze subtle patterns in mouse movements to differentiate between human users and bots.
  • Timing Attacks: Measuring the time it takes a user to complete a task can reveal whether it's a human or an automated script.
  • Captchas and Their Limitations: While CAPTCHAs aim to distinguish humans from bots, they are increasingly circumvented by sophisticated AI and human-in-the-loop farms.

The core problem is that these attacks are often subtle and difficult to detect using traditional security measures like firewalls and intrusion detection systems. They operate at a layer below the code, making them exceptionally challenging to defend against.

Introducing Proof-of-Space and Computation (POSC)

POSC is a cryptographic technique designed to create a verifiable, resource-intensive task that must be completed by a user to prove their authenticity. It works by combining two key elements:

  • Proof-of-Space: Requires the user to allocate a specific amount of disk space to store a random data set. This ensures the attacker has to invest real resources (storage) to participate in the attack.
  • Proof-of-Computation: Requires the user to perform a computationally intensive task on the stored data. This verifies that the space isn’t just allocated, but actively used, preventing pre-computation or offline attacks.

The task is designed to be computationally challenging enough to deter automated bots but not overly burdensome for legitimate users. The difficulty can be adjusted based on the security requirements of the application.

How POSC Enhances Identity Verification

Integrating POSC into the identity verification process dramatically increases the difficulty for attackers. Instead of simply bypassing a CAPTCHA or using stolen credentials, an attacker would need to:

  1. Allocate the required disk space.
  2. Perform the computationally intensive task.
  3. Repeat this process for each new account or session.

This significantly raises the cost and complexity of attacks, making them less economically viable. Moreover, POSC adds a layer of trust beyond simple authentication. It verifies that the user is not just claiming to be a human, but demonstrably acting like one – investing resources and time into the process.

For example, a financial institution using Didit’s identity platform could integrate POSC into its KYC (Know Your Customer) onboarding process. This adds an extra layer of assurance that the user is a real individual, reducing fraud and bolstering internal controls.

Strengthening Cybersecurity with POSC and API Security

The benefits of POSC extend beyond identity verification. It can also enhance the security of API tasks domain, protecting sensitive data and preventing unauthorized access. By requiring POSC completion before accessing critical APIs, organizations can significantly reduce the risk of automated attacks and malicious bot activity. This is particularly crucial for APIs handling financial transactions, personal data, or critical infrastructure controls. Implementation could include a POSC challenge before allowing access to rate-limited endpoints or APIs requiring elevated privileges.

How Didit Helps

Didit is actively exploring and integrating POSC technologies into its identity platform. Our approach focuses on providing a seamless and user-friendly experience while maintaining a high level of security. Here's how Didit leverages POSC:

  • Flexible Integration: POSC can be integrated as a standalone verification step or combined with existing identity verification methods (ID verification, liveness detection, etc.).
  • Adjustable Difficulty: The computational challenge can be dynamically adjusted based on the risk profile of the user and the sensitivity of the requested action.
  • Scalable Infrastructure: Didit’s cloud-based infrastructure can handle the computational demands of POSC at scale.
  • API-First Approach: Our robust APIs allow developers to easily integrate POSC into their existing applications.

Ready to Get Started?

Protecting your site from web physics attacks requires a proactive and innovative approach. POSC provides a powerful defense against these evolving threats, enhancing cybersecurity for the site, strengthening internal controls, and bolstering your identity verification processes.

Learn more about how Didit can help you implement POSC and secure your digital assets:

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.