SnapAPI/src/services
SnapAPI Security Hardening ba888bb580
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 10m4s
feat: harden SSRF protection with comprehensive security improvements
- Block IPv4-mapped IPv6 addresses (::ffff:127.0.0.1, etc.)
- Block IPv6 unspecified address (::)
- Add CSS injection sanitization for hideSelectors (no {}<>;)
- Add waitForSelector validation (max 200 chars, no javascript:/script)
- Add CSS parameter hardening (block @import, url() with non-data: schemes)
- Add 21 new security tests following TDD approach
- All 387 tests passing

Fixes potential SSRF bypasses and CSS injection vulnerabilities
2026-03-05 09:04:59 +01:00
..
__tests__ feat: harden SSRF protection with comprehensive security improvements 2026-03-05 09:04:59 +01:00
browser.ts fix: hot-swap browser restart to prevent QUEUE_FULL with single browser 2026-02-24 07:51:05 +00:00
cache.ts Add GET endpoint support, response caching, and update landing page 2026-02-24 08:05:43 +00:00
db.ts feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
keys.ts fix: cancelled tier, remove key logging, add billing rate limits 2026-03-04 09:06:16 +01:00
logger.ts feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00
screenshot.ts feat: harden SSRF protection with comprehensive security improvements 2026-03-05 09:04:59 +01:00
ssrf.ts feat: harden SSRF protection with comprehensive security improvements 2026-03-05 09:04:59 +01:00
watermark.ts feat: initial codebase v0.4.1 2026-02-19 17:05:16 +00:00