Application security
Code-level security beyond Salesforce, with Vulkro Core. 72 posts. All posts
Server-side template injection in Jinja2, Twig and friendsHow server-side template injection happens in Jinja2, Twig, EJS, FreeMarker and Go templates, why sandboxes keep getting bypassed, and the fix that holds.Read the post →GraphQL security: introspection, depth limits and field-level authorizationWhy GraphQL authorization belongs in resolvers, what introspection gives away, and how depth limits, cost limits and alias batching controls stop abuse.Read the post →Caching personalised responses: how a CDN serves one user's data to anotherHow shared caches end up storing per-user responses, web cache deception, app caches keyed without the user, and the Cache-Control rules that prevent the leak.Read the post →Next.js middleware is not your authorization layerCVE-2025-29927 showed that Next.js middleware can be skipped. Why middleware and proxy.ts are not authorization, and where the checks belong instead.Read the post →Unrestricted file upload: SVG, polyglots and where the bytes landWhy Content-Type and extension checks fail, how SVG and polyglot files execute, what image parsers do with uploads, and how to store and serve them safely.Read the post →Command injection in Node and Python: exec, shell=True and argument arraysHow command injection happens in Node.js and Python, why argument arrays fix shell injection but not argument injection, and the safe patterns for each.Read the post →Localhost is not a boundary: dev servers, AI coding agents and cross-origin WebSocketsAny web page you open can reach servers on 127.0.0.1. How Origin checks, Host checks and session tokens protect dev servers and AI coding agent bridges.Read the post →OWASP Top 10 2025 A10: mishandling exceptional conditions and the fail-open bugWhat OWASP A10:2025 covers, the fail-open catch blocks and error defaults behind it, and how to find them in Java, JavaScript, Python and Go code.Read the post →postMessage origin validation: how a missing check becomes XSS or token theftWhy postMessage origin validation matters: listeners without an event.origin check lead to DOM XSS, a targetOrigin of "*" leaks tokens, and how to fix both.Read the post →ISO 27001 Annex A 8.28 secure coding: what it asks and what evidence worksISO 27001 Annex A 8.28 secure coding: what the control asks, how it fits with 8.25 to 8.29, the evidence auditors accept, and where code scanning helps.Read the post →XXE in Java and Python: how external entities work and how to switch them offXXE in Java and Python explained: how external entities read files, safe DocumentBuilderFactory and XMLInputFactory settings, lxml and defusedxml.Read the post →Path traversal in file downloads and uploads: Node, Python, Go and JavaPath traversal prevention for file downloads and uploads, with vulnerable and fixed code in Node, Python, Go and Java, and the normalization checks that fail.Read the post →