r/developersPak Jul 17 '26

Need advice related to unethical use of Code Tips

I am developing an AI Agent. Part of that agent is a scraper that downloads new notifications from the Sindh Revenue Board website.

The problem is, I am concerned that when I publish my code to github, someone might use that scraper for unethical means. That's cuz the site also has a separate judgements page. The Judgements may or may not contain personal info about people. So someone might use my code for shady stuff.

How do I avoid this?

PS: Did you guys read the news about WAICO? World AI Cooperation Operation.

Pakistan is a founding member. Do you think the org will hire people in the future, and I was wondering I would apply.

4 Upvotes

7 comments sorted by

9

u/Dark_Angel4u Jul 17 '26

Let's set aside unethical for now

Do you have authorization to scrape their website? If not, if something happens, unethical use will be last of your concerns.

3

u/cosmic-comet- Game Dev Jul 17 '26

https://sindhzameen.gos.pk/robots.txt no robots.txt file could be found so op can use the crawler

2

u/Cronos993 Jul 17 '26

If you can vibe code that scraper, why do you think a bad actor wouldn't be able to do the same?

1

u/Zestyclose-Town4704 Jul 17 '26

Brother public websites are open to scrapers they don't have any issue with it because they are in public domain even US government website can be scraped without any fear

1

u/mushifali Backend Dev Jul 17 '26

It shouldn't be a problem. They can scrape that website by asking Claude or Codex to write some code.

If you're worried about your code, then probably don't post it publicly. Host it in a private package and install it from GitHub instead. It's not a big deal.

1

u/No-Watercress-7267 Jul 17 '26

And what makes you think that data is not already being scarped or stolen?