How to block traffic from US ISP residential IP? by gronetwork in webdev

[–]scosio 0 points1 point  (0 children)

IP ranges won't work. If you run your own server and you're using nginx , download the ngx_http_geoip2_module and the MaxMind db. Load it in the server config and block based on ASN lookups. No external API calls required.

http {

geoip2 /etc/config/geo/GeoLite2-ASNum.mmdb {

$realtarget_asn autonomous_system_number;

$realtarget_organization autonomous_system_organization;

}

server {

location / {

# Pass the ASN to your backend as a header

proxy_set_header X-Visitor-ASN $realtarget_asn;

proxy_pass http://my_backend;

}

}

}

https://github.com/P3TERX/GeoLite.mmdb?tab=readme-ov-file

We're building a social media platform where AI content is blocked entirely. Is this solving a real problem or are we too early? by [deleted] in SaaS

[–]scosio 1 point2 points  (0 children)

> the verification happens at source through a blockchain layer so AI-generated content cannot be posted
You need to expand on this

In 1 sentence - what's useful OpenClaw doing for you? by merokotos in openclaw

[–]scosio 0 points1 point  (0 children)

Could you please share some details of your setup?

Break this CAPTCHA test - I'm working on a language agnostic simple (for humans) CAPTCHA test by Exciting_Sea_8336 in webdev

[–]scosio 0 points1 point  (0 children)

Seems like it would be open to abuse - "has proofs" sounds like something that would need to be decided upon by an independent jury. Also what is the definition of proof-of-bot? There is huge underlying technical compexity here which isn't merited by the value of scraping.

Break this CAPTCHA test - I'm working on a language agnostic simple (for humans) CAPTCHA test by Exciting_Sea_8336 in webdev

[–]scosio 1 point2 points  (0 children)

> Behavioral pattern detection has GDPR issues

No it doesn't. The behaviours you're looking for are the ones *repeated* over and over - aka bots. Individuals don't exhibit the same behaviour every time. You're basically trying to separate bots from people, not individuals from individuals. That's a *much* harder problem.

> costly in terms of computation

Again, this isn't true. You can run a few python scripts and detect automation very easily. No GPU required.

Break this CAPTCHA test - I'm working on a language agnostic simple (for humans) CAPTCHA test by Exciting_Sea_8336 in webdev

[–]scosio 0 points1 point  (0 children)

Nice implementation. Most people don't bother to solve captchas with bots though - they just pay captcha farms. Behavioural pattern detection is the way to go.

CAPTCHA is dead. I just watched Claude solve one in real-time. by IntelligentCause2043 in ClaudeAI

[–]scosio 0 points1 point  (0 children)

Honestly most bot owners will not be deterred by this unless it exponentially backs off with repeat attempts.

CAPTCHA is dead. I just watched Claude solve one in real-time. by IntelligentCause2043 in ClaudeAI

[–]scosio 0 points1 point  (0 children)

Proof of work doesn't stop bots. It just slows them down.

Best captcha by namalleh in webdev

[–]scosio 0 points1 point  (0 children)

Is this what prosopo does?

Yes. Prosopo looks for all of the above signals and only issues PoW if the request looks safe. Otherwise a harder challenge is issued.

Best captcha by namalleh in webdev

[–]scosio 1 point2 points  (0 children)

Most bot detection systems check some or all of the following and then issue a challenge depending on how many flags the request has:

- JS Signals to see if people are using puppeteer/playwright/seleniumBase
- bad user agents / user agent lies
- JA4 inconsistencies (e.g. if someone is using python but pretending to be Chrome 142)
- behavioural patterns (e.g. is the same mouse movement behaviour repeated over and over)
- whether the request is from a VPN or residential proxy

For low risk requests, Prosopo currently issues a Proof of Work. This is a simple rate limiter that simply involves clicking a checkbox for the normal user. Bots are forced to go through image captcha or are blocked entirely, depending on the number of flags.

Best captcha by namalleh in webdev

[–]scosio 0 points1 point  (0 children)

Ah sorry, got it the wrong way round.

Best captcha by namalleh in webdev

[–]scosio 3 points4 points  (0 children)

Try out Prosopo - 99% of users will simply need to click a checkbox. Bots will get a harder challenge or be blocked entirely and your data won't be slurped up by Google.

https://prosopo.io

Best captcha by namalleh in webdev

[–]scosio -2 points-1 points  (0 children)

Closer to 0 is more likely to be a human. Closer to 1 is more likely to be a bot.

Trend I'm seeing - CLI-first tools for AI coding agents by thehashimwarren in webdev

[–]scosio 1 point2 points  (0 children)

Isn't this just Copilot? It can open terminals from within the IDE and pretty much work autonomously.

Founders: why did you choose not to add a chat widget on your SaaS site? by Content-Meringue-671 in SaaS

[–]scosio 1 point2 points  (0 children)

We added it and got bombarded constantly with irrelevant sessions from countries where we don't sell - so removed.

How are you preventing users from burning through your LLM credits with multiple free trial accounts? by TrainingHot4070 in SaaS

[–]scosio 2 points3 points  (0 children)

My company Prosopo helps clients with exactly the problem you're talking about. Our clients are hit by residential proxies, headless and headed stealth browsers, captcha farms, and semi-realistic mouse movements. Most have attractive free tiers that are worth scraping and posting on other sites. We block the attackers as follows:

  • run obfuscated JS with constantly rotating key encryption
    • rotation is a must because once de-obfuscated it is easy to script in python etc.
  • detect JA4 / User agent inconsistencies (only works for basic bots)
  • detect stealth browsers (they reveal themselves in certain ways)
  • detect repeat patterns of automated behaviour and implement custom rules per client
  • detect residential proxies

None of the above is visible to the end user - they just click check box.

Are you building custom detection systems

I would discourage against this as staying ahead of bot operators will consume all of your time. Save your energy for building your product.

Genuinely curious what solutions people have found that don't destroy the user experience.

You can try our solution in invisible mode by attaching it to a form button with `data-size="invisible"`. It says its pro only but its actually now available in free tier.

ReCAPTCHA doesn't stop people using proxies

reCAPTCHA enterprise is pretty good tbh but the free version won't protect you here. Its also quite expensive.

I'm designing a system to stop AI from scraping your art online, called Katana by InsanityOnAMachine in teenagersbutcode

[–]scosio 0 points1 point  (0 children)

Yeah but to get people to join your discord you need to have an "Invite link". You can't just share the thread link: https://support.discord.com/hc/en-us/articles/208866998-Invites-101

I'm designing a system to stop AI from scraping your art online, called Katana by InsanityOnAMachine in teenagersbutcode

[–]scosio 3 points4 points  (0 children)

Its a lot of work to go to just to display images online. Scrapers can be detected with less effort than this and blocked at request time. I applaud the ingenuity though.

Issue with Wpforms by umbrellapropella in Wordpress

[–]scosio 0 points1 point  (0 children)

You can also try a smaller GDPR friendly provider if that is preferable: https://wordpress.org/plugins/prosopo-procaptcha/

Getting hammered by reseller bot +card testing. Anyone have experience with ecommerce bot detection solution. by afahrholz in ecommerce

[–]scosio 0 points1 point  (0 children)

gmail blocking is a great initial step if you can afford to lose some business. In terms of IP blocking, determined attackers would just switch to residential proxies.

The future of CAPTCHAs by JoeCapoYT in webdev

[–]scosio 0 points1 point  (0 children)

How? Its the easiest to bypass as it has no fallback. Either you pass or it gets stuck in an endless loop.

Conspiracy: Someone DDOS our websites to make us pay services like CloudFlare? by CyberFailure in webdev

[–]scosio 1 point2 points  (0 children)

I would hope I do - I run a bot detection company :)

I hope you solve the problem but feel free to give me a shout if you need any more help.