This repository contains educational code that interacts with external AI APIs.
- Store API keys in local environment variables.
- Use
.envlocally and keep it ignored by Git. - Never place real credentials in
.env.example, screenshots, issues, commits, or pull requests. - Use separate development credentials where possible.
- Apply minimum necessary permissions to external services.
- Revoke or rotate the secret immediately.
- Remove it from the current repository state.
- Remove it from Git history when necessary.
- Check provider logs for unexpected use.
- Do not assume deleting the latest file version makes the secret safe.
Examples in this roadmap should treat these as untrusted:
- User input
- Retrieved webpages
- Documents
- Tool output
- Model-generated arguments
Projects that can take external actions should use:
- Input validation
- Tool argument validation
- Allowlisted capabilities
- Least privilege
- Timeouts and step limits
- Human approval for sensitive actions
- Audit logging where appropriate
Do not publish API keys, credentials, or exploit details in a public issue.
If you discover a vulnerability in code from this repository, contact the repository maintainer privately through an appropriate private channel before public disclosure.