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.
安裝前請停止並請求確認。
請審查安裝計畫,並在變更檔案前取得使用者明確同意。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
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 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「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 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/valeryia-piatrova-jsonlogic/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](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/1BibTeX 引用
@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?
開發者詳細資訊
授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
儲存庫
https://github.com/valeryia-piatrova/jsonlogic-skill/tree/19c9ebeb6ae5bf9406d0a39f32a24b60b77738ff/引用
c7a30fd4df735cc64b379eb7df86db9e58f0193d
維護新鮮度
2026/10/1
使用量
0 次下載 · 0 次瀏覽