Skip to content

fix(verifier): remove pccs_url from public API to prevent SSRF#447

Merged
kvinwang merged 1 commit into
masterfrom
rm-pccs_url
Jan 21, 2026
Merged

fix(verifier): remove pccs_url from public API to prevent SSRF#447
kvinwang merged 1 commit into
masterfrom
rm-pccs_url

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Remove the pccs_url parameter from the VerificationRequest struct to prevent potential SSRF attacks where a malicious client could specify an arbitrary URL. The PCCS URL is now only configurable via the server configuration file.

Changes:

  • Remove pccs_url field from VerificationRequest in types.rs
  • Add pccs_url to CvmVerifier struct instead of passing per-request
  • Update all CvmVerifier::new() calls to pass pccs_url from config
  • Update README to reflect the configuration-only approach

Remove the pccs_url parameter from the VerificationRequest struct to
prevent potential SSRF attacks where a malicious client could specify
an arbitrary URL. The PCCS URL is now only configurable via the server
configuration file.

Changes:
- Remove pccs_url field from VerificationRequest in types.rs
- Add pccs_url to CvmVerifier struct instead of passing per-request
- Update all CvmVerifier::new() calls to pass pccs_url from config
- Update README to reflect the configuration-only approach
@kvinwang
kvinwang merged commit 743dbc9 into master Jan 21, 2026
11 checks passed
@kvinwang
kvinwang deleted the rm-pccs_url branch January 21, 2026 06:26
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.

1 participant