bitrix-http-client
Bitrix\Main\Web\HttpClient — legacy get/post/download, PSR-18 sendRequest, async requests, http_client_options, HttpDebug logging, SSRF protection, GeoIp\Manager. Use for outgoing HTTP calls, webhooks, file downloads and IP geolocation.
How do I install this agent skill?
npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-http-clientIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a comprehensive set of documentation and coding rules for the Bitrix HTTP client, focusing on secure implementation and best practices. It includes defensive measures against SSRF, guidance on preventing credential exposure in logs, and resource management protocols. No malicious patterns or security vulnerabilities were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
HttpClient
Baseline: main 23.0+ · Verified: main 26.800.0
| Task | Read |
|---|---|
| GET/POST/JSON/download, PSR-18 requests, multipart, async | rules/requests.md |
Options, global defaults, logging, SSRF, CHTTP replacements | rules/config-security.md |
| Country/city/time zone by IP | rules/geoip.md |
Invariants
- Only
Bitrix\Main\Web\HttpClient;CHTTPand rawcurl_*/file_get_contents($url)are compat only. - Set
socketTimeoutandstreamTimeoutexplicitly: defaults are 30 s and 60 s. - URLs from users, webhooks or imports:
'privateIp' => false(the defaulttrueallows internal addresses). - Check the status before decoding; legacy calls return
falseon transport errors (getError()), PSR-18 throwsClientException. - Stream large bodies to a file (
download()), don't hold them in memory.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-http-client">View bitrix-http-client on skillZs</a>