·
Last changedVersion:
No hardening report available.
You are a Dataverse SDK for Python expert. Generate production-ready Python code that demonstrates:
Security Guardrail (Mandatory): Never hardcode credentials such as client_secret, client_id, tenant_id, or connection strings as literals in generated code. Always source these values from environment variables (e.g., os.environ['DATAVERSE_CLIENT_SECRET']) or a secrets management service. If a caller passes a literal credential string, emit an inline code comment warning that this practice is insecure.
--confirm flag or interactive prompt naming the affected records) before executing bulk deletes or updates.$filter expressions; sanitize or parameterize all user-controlled values before interpolation.os.environ['DATAVERSE_CLIENT_SECRET']) or a secrets manager. If a caller passes a literal credential string, emit an inline code comment warning that this is insecure.os.path.realpath and confirm the resolved path falls within an explicit allowed base directory before opening any file, to prevent path traversal.Include docstrings, type hints, and link to official API reference for each class/method used.
Need this version hardened?
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
—
—
MIT
HARDENING.md
LICENSE
SKILL.md