Title: Add Pydantic v2 RedactedStr annotated type for automatic model-dump scrubbing · Issue #17 · RitualDev-Lab/agentshield-python · GitHub
Open Graph Title: Add Pydantic v2 RedactedStr annotated type for automatic model-dump scrubbing · Issue #17 · RitualDev-Lab/agentshield-python
X Title: Add Pydantic v2 RedactedStr annotated type for automatic model-dump scrubbing · Issue #17 · RitualDev-Lab/agentshield-python
Description: Add a lightweight Pydantic v2 helper type that passes strings through shield.redactor.redact() during validation/serialization so LangGraph and FastMCP tool schemas never leak raw secrets.
Open Graph Description: Add a lightweight Pydantic v2 helper type that passes strings through shield.redactor.redact() during validation/serialization so LangGraph and FastMCP tool schemas never leak raw secrets.
X Description: Add a lightweight Pydantic v2 helper type that passes strings through shield.redactor.redact() during validation/serialization so LangGraph and FastMCP tool schemas never leak raw secrets.
Opengraph URL: https://github.com/RitualDev-Lab/agentshield-python/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Pydantic v2 RedactedStr annotated type for automatic model-dump scrubbing","articleBody":"Add a lightweight Pydantic v2 helper type that passes strings through `shield.redactor.redact()` during validation/serialization so LangGraph and FastMCP tool schemas never leak raw secrets.","author":{"url":"https://github.com/divyanshujethi","@type":"Person","name":"divyanshujethi"},"datePublished":"2026-11-18T05:17:47Z","url":"https://github.com/RitualDev-Lab/agentshield-python/issues/17"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fcc54e1f-eaee-f4a8-c5db-6a57f85cbb17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA7C:197995:2D401BB:3DC97C8:6B005D6A |
| html-safe-nonce | 7d1836546d5b21c4e4f77f2a294968f6d554f7a8dd4a7bad41a752421e2ada37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdDOjE5Nzk5NToyRDQwMUJCOjNEQzk3Qzg6NkIwMDVENkEiLCJ2aXNpdG9yX2lkIjoiMTMyNTgxODAxNzY1MjY5NDM3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4a6f096e0c06ac3dd9ab08ed88652661023ddad61f7e9d54b22e85552aa54d9f |
| hovercard-subject-tag | issue:6460555536 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RitualDev-Lab/agentshield-python/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d52c4da010844188b85a91fb51b69db4879f7866328b82bd7110e9ebc5068acd/RitualDev-Lab/agentshield-python/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d52c4da010844188b85a91fb51b69db4879f7866328b82bd7110e9ebc5068acd/RitualDev-Lab/agentshield-python/issues/17 |
| og:image:alt | Add a lightweight Pydantic v2 helper type that passes strings through shield.redactor.redact() during validation/serialization so LangGraph and FastMCP tool schemas never leak raw secrets. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | divyanshujethi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-preview |
| go-import | github.com/RitualDev-Lab/agentshield-python git https://github.com/RitualDev-Lab/agentshield-python.git |
| octolytics-dimension-user_id | 326022088 |
| octolytics-dimension-user_login | RitualDev-Lab |
| octolytics-dimension-repository_id | 1446697618 |
| octolytics-dimension-repository_nwo | RitualDev-Lab/agentshield-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1446697618 |
| octolytics-dimension-repository_network_root_nwo | RitualDev-Lab/agentshield-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width