Security🌐 سيرفر YASمتاح عبر APIintermediate
مدقق security.txt القياسي
يتحقق من ملفات security.txt وفق RFC 9116.
معالجة عبر YAS · لا يتم تخزين المدخلات
جاهز للاستخدام الفوريمعالجة فورية فائقة السرعة
النتيجة
—إيه اللي الأداة دي بتعمله؟
يتحقق من ملفات security.txt وفق RFC 9116.
إمتى أستخدمها؟
- تريد أن يبلغك الباحثون عن الثغرات بشكل مسؤول.
- تراجع امتثال النطاق.
- تتأكد من حقلي Contact وExpires.
مثال واقعي
الإدخال
Contact: mailto:security@example.com\nExpires: 2027-01-01T00:00:00.000Z
الناتج
الحالة: صالح RFC 9116 · جهات اتصال: 1 · الانتهاء بعد 137 يوماً
Expires يجب أن يكون بصيغة RFC 3339.
إدخال → معالجة → ناتج → الخطوة التالية
- الإدخال
- الصق النص أو اجلب /.well-known/security.txt.
- المعالجة
- يفحص الحقول الإلزامية والمخططات وتاريخ الانتهاء.
- الناتج
- تقرير امتثال.
- الخطوة التالية
- انشر الملف على HTTPS فقط.
أخطاء شائعة
- النشر عبر HTTP فقط.
- تاريخ انتهاء في الماضي.
- غياب Contact بصيغة mailto: أو https:.
يعني إيه النتيجة
تأكيد أن سياسة الإفصاح قابلة للاكتشاف وفق المعيار.
الخصوصية والأمان
Your input is sent to YAS infrastructure because the tool requires server-side processing or public network queries. Input is not stored.
API
Endpoint
POST https://yas.sh/api/v1/tools/security-txt-validator
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/security-txt-validator" \
-H "Content-Type: application/json" \
-d '{"input":"Contact: mailto:security@example.com\nExpires: 2027-01-01T00:00:00Z"}'JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/security-txt-validator", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "Contact: mailto:security@example.com\nExpires: 2027-01-01T00:00:00Z"
}),
});
const data = await res.json();Python
import requests
r = requests.post("https://yas.sh/api/v1/tools/security-txt-validator", json={"input":"Contact: mailto:security@example.com\nExpires: 2027-01-01T00:00:00Z"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | security.txt content |
Success response
{ "slug": "security-txt-validator", "valid": true, "totalDirectives": 2 }Validate RFC 9116 security.txt files for contact and expiration.
Error responses
400 VALIDATION_ERROR— invalid input or unsupported option.413 PAYLOAD_TOO_LARGE— input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED— rate limit exceeded (60 req/min).
Limits
- Maximum input: 64 KB per request.
- Rate limit: 60 requests/min per IP address.
- Authenticated accounts benefit from higher tier quotas.
أدوات مرتبطة