The security of AgP Playground is important to us. We appreciate your efforts to responsibly disclose any security vulnerabilities you find.
Please do not report security vulnerabilities through public GitHub issues.
If you discover a security vulnerability, please send an email to:
Include the following information:
- Type of vulnerability: (e.g., XSS, CSRF, credential exposure, etc.)
- Full description: Detailed explanation of the vulnerability
- Steps to reproduce: Clear steps to reproduce the issue
- Proof of concept: Code sample or screenshots demonstrating the vulnerability
- Impact: Potential impact if the vulnerability is exploited
- Suggested fix: If you have a recommendation for fixing it
- Your contact information: For follow-up questions
- Acknowledgment: We'll acknowledge receipt of your report within 48 hours
- Initial assessment: We'll provide an initial assessment within 5 business days
- Updates: We'll keep you informed of our progress
- Resolution: We aim to resolve critical vulnerabilities promptly
- Disclosure: We'll work with you on a coordinated disclosure timeline
Never commit API keys to version control:
❌ Bad:
// .env.local committed to git
AGP_API_KEY=sk_prod_abc123...✅ Good:
// .env.local in .gitignore
AGP_API_KEY=sk_prod_abc123...Best practices:
- Store API keys in
.env.local(not tracked by git) - Never share API keys in screenshots or issues
- Use different keys for development and production
- Revoke unused or compromised keys immediately at Portal-H
Keep your npm token secure:
- Store in environment variable (
NPM_TOKEN) - Add
.npmrcto.gitignore(already done) - Don't share tokens publicly
- Revoke old tokens at npmjs.com/settings/tokens
Be cautious when testing agents:
- Review agent objectives before running
- Understand what URLs the agent will visit
- Be aware of sensitive data in your environment
- Use test accounts when possible
- Never commit API keys, tokens, or credentials
- Use
.env.examplefiles with placeholder values - Review commits before pushing
- Check git history if you accidentally commit secrets
- Sanitize user inputs
- Validate environment variables
- Use HTTPS for all API calls
- Implement proper error handling (don't leak sensitive info)
- Keep dependencies updated
- Review security advisories for dependencies
- Use
npm auditorpnpm auditregularly
If you accidentally expose an API key:
- Revoke immediately at Portal-H
- Generate a new key
- Update your
.env.local - Check git history - if committed, rotate the key
- Monitor for unauthorized usage
If you expose your npm token:
- Revoke immediately at npmjs.com/settings/tokens
- Generate a new token
- Update your environment:
export NPM_TOKEN=new_token - Remove from git history if committed
If you find a potential XSS or injection vulnerability:
- Don't exploit it publicly
- Report to privacy@hcompany.ai
- Include steps to reproduce
- We'll work on a fix
- Environment variable validation: Required env vars are checked on startup
- HTTPS enforcement: All API calls use HTTPS
- No credential storage: API keys stored in browser localStorage (not accessible via XSS if properly configured)
- Screenshot proxy: Authenticated screenshots use server-side proxy
This playground is a development tool and should not be used in production as-is:
- No rate limiting
- No authentication system
- API keys stored in browser
- No audit logging
This security policy applies to:
- The AgP Playground application
- Example workflows
- Documentation
- Vulnerabilities in third-party dependencies (report to dependency maintainers)
- Vulnerabilities in the AgP SDK itself (report to SDK repository)
- Vulnerabilities in the AgP platform (report separately)
Security updates will be announced through:
- GitHub Security Advisories
- GitHub Releases
- CHANGELOG.md
If you have questions about this security policy, please contact us at privacy@hcompany.ai.
Last Updated: November 12, 2025
Thank you for helping keep AgP Playground and our users safe!