Skip to content

SEC-2276: integrity confidence signals + structured observability#162

Open
NnnOooPppEee wants to merge 9 commits into
SEC-2314/enforce-registered-root-as-trust-anchorfrom
SEC-2276/integrity-confidence-and-telemetry
Open

SEC-2276: integrity confidence signals + structured observability#162
NnnOooPppEee wants to merge 9 commits into
SEC-2314/enforce-registered-root-as-trust-anchorfrom
SEC-2276/integrity-confidence-and-telemetry

Conversation

@NnnOooPppEee
Copy link
Copy Markdown
Contributor

Summary

Consolidated follow-up to the closed PRs #154 through #158 (SEC-2307 through SEC-2311) plus local additions, rebased on top of the trust-anchor enforcement from #161 (SEC-2314). The Protected Confirmation experiment and the keybox-defense rate limiter have been removed from this PR; the latter lands separately as SEC-2275.

Stacks on top of #161.

Changes

  • key_description: ASN.1 parser now extracts every field we care about for risk scoring -- purpose, creation date, verified-boot key/hash, batch-cert serial, module hash, every attestation_id_*, plus unique_id, attestation_version, os_version, vendor_patch_level, boot_patch_level, usage_count_limit, algorithm, key_size, ec_curve.
  • device_certificate: pub accessors for each new field.
  • android_ca_registry: tracks the subset of roots that issue keys via Remote Key Provisioning (is_rkp_root) so we can mark RKP-rooted chains as keybox-bypass-impossible.
  • android_attestation_service: new IntegrityConfidence aggregate exposing all signals (boot state, RKP, identity diversity, patch-level staleness, batch-cert serial, etc.); structured tracing::info! / warn! events at every verification step so we can feed Datadog with what we accepted and why.
  • routes/a.rs: 5 optional informational request fields (security_level, os_api_level, device_properties_included, integrity_signature, device_key_expires_at) that the World App already sends on staging; structured per-request logging; embeds IntegrityConfidence in the issued integrity-token JWT under the integrity_confidence claim and in the /a response so verifying parties can do their own risk scoring.
  • utils: optional alt signing-cert digest, gated behind ATTESTATION_GATEWAY_ACCEPT_ALT_SIGNING_CERT=1 so the staging gateway can accept dev/test World App builds without re-signing. Off by default; production bundles unaffected.
  • main.rs / Cargo.toml: tracing-subscriber now reads RUST_LOG via EnvFilter, so verbosity can be flipped without redeploying.

Compatibility

No behavior change for accepted attestations: signals are additive and always-on logs. Untrusted attestations still get rejected at the same points they did before.

Linear

SEC-2276 -- Harden Android attested key generation

Test plan

  • CI: cargo check / clippy / fmt
  • Submit a known-good attestation, confirm:
    • response includes integrity_confidence
    • issued JWT carries the integrity_confidence claim
    • structured logs in Datadog include all new fields
  • Toggle RUST_LOG=trace and confirm verbosity actually changes
  • Set ATTESTATION_GATEWAY_ACCEPT_ALT_SIGNING_CERT=1 on staging, attest from a dev-signed World App build, confirm acceptance
  • Unset the env var, retry, confirm rejection

Add new fields to KeyDescription for integrity confidence analysis:
verified_boot_key, verified_boot_hash, device_unique_attestation,
device identity fields, module_hash, purpose, and creation_date_time.

Introduce extraction macros to reduce duplication across the five
attestation version parsers (v1, v2, v3, v300, v400).
Expose the new KeyDescription integrity fields through DeviceCertificate
accessor methods: verified_boot_key, verified_boot_hash,
device_unique_attestation, attestation_id_* fields, module_hash,
purpose, and creation_date_time.
Distinguish legacy attestation root certificates from RKP (Remote Key
Provisioning) roots. Add rkp_public_keys tracking, optional loading of
attestation_root_rkp.pem, and is_rkp_root() method to detect chains
that bypass keybox leakage risk.
Introduce IntegrityConfidence struct capturing informational signals
about attestation chain trustworthiness: rkp_rooted, device_unique,
has_id_attestation, unexpected_purpose, boot key/hash, batch serial,
module hash, creation time delta, and device identity fields.

Emit metrics counter and structured tracing log for every attestation.
Make android_attestation_service module public for downstream use.
Plumb IntegrityConfidence into IntegrityTokenPayload and serialize it
as a JSON claim in the issued JWS token for Android attestations.
Downstream consumers can now apply custom risk policies based on
attestation chain strength signals.
This is the consolidated follow-up to the closed PRs #154-#158
(SEC-2307 through SEC-2311) plus the local additions, rebased on the
trust-anchor enforcement from SEC-2314 and stripped of:
  * the keybox-defense rate limiter (lands separately as SEC-2275)
  * the Protected Confirmation experiment

What it does:

* `key_description`: ASN.1 parser now extracts every field we care about
  for risk scoring -- purpose, creation date, verified-boot key/hash,
  batch-cert serial, module hash, every `attestation_id_*`, plus
  `unique_id`, `attestation_version`, `os/vendor/boot_patch_level`,
  `usage_count_limit`, `algorithm`, `key_size`, `ec_curve`.
* `device_certificate`: pub accessors for each new field.
* `android_ca_registry`: tracks the subset of roots that issue keys via
  Remote Key Provisioning (`is_rkp_root`) so we can mark RKP-rooted
  chains as keybox-bypass-impossible.
* `android_attestation_service`: new `IntegrityConfidence` aggregate
  exposing all signals (boot state, RKP, identity diversity, patch
  level staleness, batch-cert serial, etc.); structured
  `tracing::info!`/`warn!` events at every verification step so we can
  feed Datadog with what we accepted and why.
* `routes/a.rs`: 5 optional informational request fields
  (`security_level`, `os_api_level`, `device_properties_included`,
  `integrity_signature`, `device_key_expires_at`) that the World App
  already sends on staging; structured per-request logging; embeds
  `IntegrityConfidence` in the issued integrity-token JWT under the
  `integrity_confidence` claim and in the `/a` response so verifying
  parties can do their own risk scoring.
* `utils`: optional alt signing-cert digest, gated behind
  `ATTESTATION_GATEWAY_ACCEPT_ALT_SIGNING_CERT=1` so the staging
  gateway can accept dev/test World App builds without re-signing.
  Off by default, has no effect on production bundles.
* `main.rs` / `Cargo.toml`: `tracing-subscriber` now reads `RUST_LOG`
  via `EnvFilter`, so we can flip verbosity without redeploying.

No behavior change for accepted attestations: signals are additive and
always-on logs. Untrusted attestations still get rejected at the same
points they did before.

Maps to https://linear.app/worldcoin/issue/SEC-2276
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 17, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: cargo icu_collections under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_collections-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_collections@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_collections@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_locale_core under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_locale_core-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_locale_core@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_locale_core@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_normalizer_data under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_normalizer_data-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_normalizer_data@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_normalizer_data@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_normalizer under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_normalizer-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_normalizer@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_normalizer@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_properties_data under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_properties_data-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_properties_data@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_properties_data@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_properties under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_properties-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_properties@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_properties@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo icu_provider under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (icu_provider-2.2.0/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/icu_provider@2.2.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/icu_provider@2.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo litemap under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (litemap-0.8.2/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/litemap@0.8.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/litemap@0.8.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo openssl-src under Artistic-1.0

License: Artistic-1.0 - The applicable license policy does not permit this license (5) (openssl-src-300.6.0+3.6.2/openssl/external/perl/Text-Template-1.56/LICENSE)

License: GPL-1.0+ - The applicable license policy does not permit this license (5) (openssl-src-300.6.0+3.6.2/openssl/external/perl/Text-Template-1.56/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/redis@1.2.0cargo/openssl@0.10.77cargo/jwtk@0.4.0cargo/openssl-src@300.6.0%2B3.6.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/openssl-src@300.6.0%2B3.6.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo potential_utf under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (potential_utf-0.1.5/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/potential_utf@0.1.5

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/potential_utf@0.1.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo tinystr under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (tinystr-0.8.3/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/tinystr@0.8.3

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/tinystr@0.8.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo writeable under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (writeable-0.6.3/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/writeable@0.6.3

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/writeable@0.6.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo yoke-derive under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (yoke-derive-0.8.2/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/yoke-derive@0.8.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/yoke-derive@0.8.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo yoke under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (yoke-0.8.2/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/yoke@0.8.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/yoke@0.8.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo zerofrom-derive under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (zerofrom-derive-0.1.7/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/zerofrom-derive@0.1.7

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/zerofrom-derive@0.1.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo zerofrom under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (zerofrom-0.1.7/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/zerofrom@0.1.7

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/zerofrom@0.1.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo zerotrie under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (zerotrie-0.2.4/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/zerotrie@0.2.4

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/zerotrie@0.2.4. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo zerovec-derive under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (zerovec-derive-0.11.3/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/zerovec-derive@0.11.3

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/zerovec-derive@0.11.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: cargo zerovec under Unicode-3.0

License: Unicode-3.0 - The applicable license policy does not permit this license (5) (zerovec-0.11.6/LICENSE)

From: ?cargo/reqwest@0.12.28cargo/aws-config@1.8.15cargo/redis@1.2.0cargo/axum-jsonschema@0.8.0cargo/zerovec@0.11.6

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore cargo/zerovec@0.11.6. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

NnnOooPppEee and others added 3 commits April 16, 2026 19:05
Per request, this PR is now telemetry-only: no modifications to the
issued JWT. The structured logs, metrics, and IntegrityConfidence
struct are kept (they let us observe and dashboard the signals). The
`integrity_confidence` field on `IntegrityTokenPayload` and the
corresponding `set_claim("integrity_confidence", ...)` block are
removed, along with the now-unused `android_confidence` plumbing in
`/a` handler.

If/when downstream verifiers want these signals in the token, we can
add them in a separate, focused PR with explicit consumer alignment.
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