If you discover a security vulnerability in this connector, please report it by:
- Do NOT create a public GitHub issue for security vulnerabilities
- Email the maintainers directly or use GitHub's private vulnerability reporting feature
- Include detailed information about the vulnerability and steps to reproduce
-
Never commit credentials:
- Use the provided
.templatefiles - Copy templates to actual config files
- Ensure config files are in
.gitignore
- Use the provided
-
For local development:
cp docker-compose.yml.template docker-compose.yml cp src/main/resources/application.properties.template src/main/resources/application.properties # Edit files with your credentials # Files are gitignored and won't be committed
-
For production deployment:
- Use environment variables
- Use secrets management systems (Kubernetes Secrets, AWS Secrets Manager, etc.)
- Rotate credentials regularly
- Use least-privilege access principles
-
For CI/CD:
- Store credentials in GitHub Secrets or similar
- Never echo or log credentials
- Use short-lived tokens when possible
Consider adding a pre-commit hook to detect credentials:
#!/bin/sh
# .git/hooks/pre-commit
# Check for common credential patterns
if git diff --cached | grep -iE "(client.secret|password|api.key|bearer.token)" > /dev/null; then
echo "Error: Potential credentials detected in commit!"
echo "Please review and remove credentials before committing."
exit 1
fi| Version | Supported |
|---|---|
| 0.1.x | ✅ |
- File Size Limits: Processing very large PDFs can cause memory issues. Consider implementing file size limits based on available resources.
- Input Validation: The connector validates page ranges and document structure, but malformed PDFs may still cause processing errors.
- Temporary Files: Ensure temporary files are properly cleaned up after processing.
- Network Security: When deployed with Docker, ensure proper network isolation and firewall rules.
- Resource Limits: Set appropriate Docker resource limits to prevent DoS through large file processing.
- Logging: Avoid logging sensitive document content or metadata.
Security updates will be released as needed. Monitor this repository for:
- Security advisories
- Dependency updates
- Critical bug fixes
To update:
git pull origin main
mvn clean package
docker-compose up --build -dFor security concerns, please contact the repository maintainers through GitHub's security advisory feature.