Skip to content

fix: review follow-up for upstream #807 - #7

Draft
dinakarjs wants to merge 1 commit into
review/source-807-20261025from
fix/review-807-20261025
Draft

dinakarjs wants to merge 1 commit into
review/source-807-20261025from
fix/review-807-20261025

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

Invalid JSON markers inside arrays nested two or more levels deep were not propagated to the enclosing revocation statement. Walk nested lists to reject duplicate members and NaN/Infinity constants even in ignored extension data; preserve acceptance of a later valid signed revocation.

Based exactly on agentrust-io#807 head 5e9a8c0. Please adopt this signed commit into that PR. Fixes the test import ordering too.

Validation: source repair unit suite 2547 passed/6 skipped; conformance+integration+confinement 114 passed/23 skipped. Final test-only parameterization rerun: all 37 policy-bundle tests pass. Its four nested-array cases each fail by assertion when the source repair is removed, with test names retained. Ruff src/tests, strict mypy and Bandit passed. No claim of authorization escalation: this closes strict-JSON acceptance.

Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant