top of page
AI Security in 2025: What Every Security Engineer Needs to Know
Artificial intelligence is no longer a future concern for security teams — it is a present one. As organisations race to integrate large language models (LLMs), generative AI tools, and ML-powered systems into their products, security engineers face an entirely new threat landscape that traditional AppSec frameworks were not designed to address. This post covers the most critical AI security risks, the emerging standards you need to know, and practical steps to start building
Shounak Itraj
4 days ago3 min read
Port Scanner using Go Programming
Building a port scanner in Go is an excellent way to learn both network programming and Go's powerful concurrency model. Port scanners are fundamental tools in security reconnaissance — understanding which ports are open on a target system is the first step in any security assessment. Go is an ideal language for this task because of its goroutines and channels, which make concurrent network operations both efficient and readable. Basic approach: Create a TCP dial attempt fo
Shounak Itraj
4 days ago1 min read
Content Security Policy
Content Security Policy (CSP) is a browser security mechanism that helps prevent cross-site scripting (XSS) and data injection attacks. It works by allowing web developers to specify which content sources are trusted, and instructing the browser to reject all others. How it works: CSP is delivered via an HTTP response header (Content-Security-Policy) or a meta tag. The policy consists of directives that specify allowed sources for different content types: scripts, styles, im
Shounak Itraj
4 days ago1 min read
Defending Against XSS Using CSP (script-src)
Content Security Policy (CSP) is one of the most powerful defences against Cross-Site Scripting (XSS) attacks. The script-src directive controls which scripts are permitted to execute in the browser, effectively blocking injected malicious scripts even if an attacker manages to inject content into your page. Key script-src approaches: nonce-based CSP: A cryptographically random nonce is generated per request and embedded in both the HTTP header and script tags. Only scripts
Shounak Itraj
4 days ago1 min read
bottom of page