safesurf-php
A PHP library for checking if a URL is safe to surf
What XERJ indexed
Snapshot
The whole repository at commit 044319d85a (2026-10-16). master is 22 commits ahead.
Selected work

“align detection logic with urlvet, harden security and reduce f…”. 33 files, 2,750 lines in src/Analyzer, assets, src/Checks.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-19. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
phishingphishing-detectionphishing-url-detectorphp-libraryurl-analysisurl-scanner
Example questions
- How does safesurf-php implement phishing?
- What does src/Analyzer do in safesurf-php?
- Show the phishing-detection code in safesurf-php.
Inside the indexed corpus
- 85 files, 22.4 MB in total, about 269.8 KB per file.
- The selected commit changed 33 of those files (38.8%).
- On GitHub since 2026-04-28, last push 2026-10-31, 153 commits on master.
- The pin is 22 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for kualatLinks/safesurf-php on 2026-10-31, and the LICENSE file at commit 044319d85a was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Dika Ardianta (@DikaArdnt) has 1 selected repository on the hub.
Using XERJ with safesurf-php
- Audit a PHP codebase with an index, not grep PHP is 100% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones kualatLinks/safesurf-php at the pinned commit and indexes it on your machine.
Search the GitHub repository kualatLinks/safesurf-php with XERJ (https://hub.xerj.org/corpus/kualatlinks--safesurf-php). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/DikaArdnt/safesurf-php safesurf-php && git -C safesurf-php checkout 044319d85a2e46eb66614aff76ecf38374157af2 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./safesurf-php --url http://127.0.0.1:9200 --prefix safesurf-php --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Dika ArdiantaAPI design and specification corporajpereira/php-dhcpdleasesTrueArrowSoftware/TASLibPHP0x0allenace/email-conversation-integrity-detection
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.