jsonlogic
Build and Test JsonLogic Business Rules
Business conditions can produce unexpected results when field names, missing values, or library behavior differ. This skill builds JsonLogic rules and guides targeted verification.
توقف واطلب التأكيد قبل التثبيت.
راجع الخطة واحصل على موافقة صريحة من المستخدم قبل تغيير الملفات.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
Review the Skillstore skill "jsonlogic" from https://skillstore.io/skills/valeryia-piatrova-jsonlogic.md and its manifest at https://skillstore.io/api/skills/valeryia-piatrova-jsonlogic/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.يجب أن يواصل Agent عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "jsonlogic". Create a discount eligibility rule for loyalty members who spent more than 100.
النتيجة المتوقعة:
Eligibility requires loyalty membership and spending above 100. Spending exactly 100 does not qualify. Define missing-field handling before testing.
جارٍ استخدام "jsonlogic". Explain why an order rule flags an item priced at 620 when the threshold is 500.
النتيجة المتوقعة:
The rule checks each item and succeeds when any price exceeds 500. An item priced at 620 qualifies. An empty item list returns false.
جارٍ استخدام "jsonlogic". Does passing structural validation prove that my rule works in both JavaScript and Ruby?
النتيجة المتوقعة:
No. Structural validation checks rule shape only. Execute identical boundary, missing-field, and type cases in both libraries before claiming matching behavior.
التدقيق الأمني
مخاطر عاليةOf 372 static findings, 370 are false positives and two confirm automatic installation of an unpinned Ruby dependency. Additional findings concern artifact publication without consent and unsafe JSON embedding in HTML. No evidence found of credential theft or instructions to override this audit.
مخاوف أمنية مؤكدة (2)
عناصر مراجعة القدرات (2)
هذه قدرات محلية حقيقية قد يُتوقع وجودها لهذه المهارة، لذا فهي تتطلب مراجعة ولكن لا تُحتسب كسلوك خبيث مؤكد.
عوامل الخطر
🌐 الوصول إلى الشبكة (15)
📁 الوصول إلى نظام الملفات (17)
⚙️ الأوامر الخارجية (30)
⚡ يحتوي على سكربتات (50)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/valeryia-piatrova-jsonlogic/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](https://skillstore.io/skills/valeryia-piatrova-jsonlogic?utm_source=security_passport_badge)شارة HTML
<a href="https://skillstore.io/skills/valeryia-piatrova-jsonlogic?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/valeryia-piatrova-jsonlogic/security.svg" alt="Skillstore security assessment" loading="lazy"></a>بطاقة قابلة للتضمين
<iframe src="https://skillstore.io/embed/skills/valeryia-piatrova-jsonlogic.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>الاستشهادات الأكاديمية (APA · BibTeX · CFF)
اقتباس APA
valeryia-piatrova. (2026). jsonlogic security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/valeryia-piatrova-jsonlogic/audits/1اقتباس BibTeX
@techreport{valeryia-piatrova-valeryia-piatrova-jsonlogic-2026,
author = {valeryia-piatrova},
title = {jsonlogic security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/valeryia-piatrova-jsonlogic/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "jsonlogic security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "valeryia-piatrova"
date-released: "2026-10-01"
url: "https://skillstore.io/skills/valeryia-piatrova-jsonlogic/audits/1"
identifiers:
- type: other
value: "skillstore:valeryia-piatrova-jsonlogic:audit:1"
description: "Skillstore immutable audit report identifier"
تقييم Skillstore
سبب هذا التقييم موثوقية الأدلة: متوسطما الذي يمكنك بناؤه
Encode Eligibility Conditions
Turn product requirements into explicit rules with documented inputs, outputs, and missing-field behavior.
Debug Application Rules
Reproduce unexpected results, identify coercion or operator issues, and verify corrections against representative data.
Compare Rule Implementations
Test identical inputs across frontend and backend libraries to identify unsupported operators and behavior differences.
جرّب هذه الموجّهات
Explain this JsonLogic rule: [rule]. Describe each operator, required fields, returned values, and missing-field behavior. Do not publish an artifact.
Create a JsonLogic rule for [condition] using [schema or synthetic sample]. Explain assumptions and expected outcomes. Keep all data local.
Debug [rule] with [synthetic input] in [library and version]. Expected: [result]. Add boundary tests and request permission before installing dependencies or publishing.
Compare [rule] in [library A] and [library B] using identical synthetic cases. Cover missing values, coercion, and empty arrays. Separate observed from unverified results.
أفضل الممارسات
- Provide a schema or synthetic sample and specify the target library and version.
- Test normal cases, exact boundaries, missing fields, unexpected types, and empty arrays in the actual evaluator.
- Use redacted inputs and explicitly approve dependency installation or artifact publication before either occurs.
تجنب
- Treating structural validation or a playground result as proof of production correctness.
- Assuming all libraries support the same extensions, truthiness rules, and type coercion.
- Providing secrets or production records for automatic artifact publication.
الأسئلة المتكررة
What is JsonLogic?
Which AI tools can use this skill?
Which evaluator is used by default?
Can it validate rules without executing them?
Does the playground match every library?
Does using the skill require network access?
تفاصيل المطور
المؤلف
valeryia-piatrovaالترخيص
MIT
مراجعة Skillstore
r1
تنبيه الإصدار
لم يعلن المؤلف عن إصدار.
المستودع
https://github.com/valeryia-piatrova/jsonlogic-skill/tree/19c9ebeb6ae5bf9406d0a39f32a24b60b77738ff/مرجع
c7a30fd4df735cc64b379eb7df86db9e58f0193d
حداثة الصيانة
١/١٠/٢٠٢٦
الاستخدام
0 تنزيلات · 0 مشاهدات