Skip to content

Enhance Fides v2 features and documentation updates#105

Merged
EfeDurmaz16 merged 282 commits into
mainfrom
fides-v2-agent-trust-fabric
May 30, 2026
Merged

Enhance Fides v2 features and documentation updates#105
EfeDurmaz16 merged 282 commits into
mainfrom
fides-v2-agent-trust-fabric

Conversation

@EfeDurmaz16

Copy link
Copy Markdown
Owner

No description provided.

@EfeDurmaz16 EfeDurmaz16 merged commit 1cc4434 into main May 30, 2026
6 of 8 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1199fa313c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1615 to +1617
const runtimeAttestationValid = typeof body.runtimeAttestationValid === 'boolean'
? body.runtimeAttestationValid
: await verifyLocalRuntimeAttestation(typeof body.attestationId === 'string' ? body.attestationId : undefined, targetAgentId)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require server-side attestation verification

For POST /sessions, a caller requesting a high-risk capability can include runtimeAttestationValid: true, and this value is passed directly into evaluateFidesPolicy instead of verifying a stored attestation. That bypasses the intended runtime-attestation/approval gate and lets unauthenticated request payload state turn a session from APPROVAL_REQUIRED into an authorized grant; the same pattern on approvalGranted should also be tied to an actual approved request rather than a client boolean.

Useful? React with 👍 / 👎.

Comment on lines +158 to +160
id: `${card.identity.did}#ed25519`,
type: 'Ed25519' as const,
publicKey: bs58.encode(card.identity.publicKey),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Revive persisted public keys before encoding

When agentd runs with the new default SQLite local-state store, identities are saved via JSON and reloaded in hydrateLocalState without converting identity.publicKey back to a Uint8Array; creating another AgentCard for that persisted identity after a restart then reaches this bs58.encode(card.identity.publicKey) call with a plain JSON object and fails instead of creating the card. Normalizing/reviving the key from publicKeyHex or accepting serialized byte arrays here would keep persisted local identities usable across restarts.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants