← Files Software & AI CopilotARCHIVED FILE
references/security-and-privacy.md
1 KB · Nov 29, 2026 · 00:39 UTC
# Secure code review and implementation Identify actors, assets, entrypoints, trust boundaries, side effects and data flows before suggesting controls. Inspect authentication separately from resource-level authorization; verify object ownership and tenant filtering at the data access boundary. Validate untrusted input including path, URL and serialized parameters; account for SSRF, injection, XSS, CSRF and unsafe deserialization where relevant. Use least privilege for credentials, token scopes, network and filesystem operations. Prevent secrets/PII in logs, traces and exceptions. Make mutation APIs idempotent where retries occur. Do not print real secrets, run untrusted code or exfiltrate repository contents to unknown endpoints. Threats must be tied to actual code paths; don't produce speculative security theater. Document reproducible findings and safe remediation. Primary guidance: https://owasp.org/www-project-top-ten/ , https://owasp.org/www-project-api-security/ , https://openssf.org/resources/guides/
SHA-256: 4e650b6ffd00bf836c5428a39f96e7d4a3d6f845bf87493855a7457d27d74fb0