← Back to writing

Cybersecurity / Feb 08, 2026

Understanding Cross-Site Scripting (XSS)

Archived article · Content reflects its original publication date and has not been fact-checked in this redesign. Not current market or investment guidance.

Understanding Cross-Site Scripting (XSS)

Date: Feb 08, 2026
Category: Web Security

Illustration unavailable — the original article contains a placeholder image.

What is XSS?

Cross-Site Scripting (XSS) is a vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This bypasses the Same Origin Policy (SOP).

Types of XSS

1. Reflected XSS

The malicious script comes from the current HTTP request. * Example: Search bars that echo the input without sanitization. * Impact: Session hijacking, phishing.

2. Stored XSS

The malicious script is stored on the target server (database, forum post, comment field). * Example: A comment on a blog that contains <script>alert(1)</script>. * Impact: Persistent attack on anyone who views the page.

3. DOM-based XSS

The vulnerability exists in client-side code rather than server-side code.

Prevention

  1. Input Validation: Validate everything on arrival.
  2. Output Encoding: Encode data before rendering it to the browser.
  3. Content Security Policy (CSP): Restrict the sources of executable scripts.
// BAD
document.body.innerHTML = userInput;

// GOOD
document.body.innerText = userInput;
Read original Markdown

Investment / Feb 05, 2026

Global Market Outlook: Q1 2026 Analysis

Archived article · Content reflects its original publication date and has not been fact-checked in this redesign. Not current market or investment guidance.

Global Market Outlook: Q1 2026 Analysis

Date: Feb 05, 2026
Category: Investment / Market

Illustration unavailable — the original article contains a placeholder image.

Executive Summary

The first quarter of 2026 has shown significant volatility in the semiconductor sector, driven largely by the implementation of next-gen AI models in consumer hardware. Energy sectors remain stable but are showing signs of pivot towards fusion-adjacent technologies.

Key Trends

1. AI Hardware Saturation

While NVIDIA and AMD continue to dominate, new players from the quantum computing sector are beginning to eat into market share for specialized tasks.

2. Energy Sector Shifts

Traditional oil and gas giants are aggressively acquiring green hydrogen startups. This consolidation suggests a long-term bullish trend for renewable infrastructure.

3. Crypto & Blockchain

Regulation in the EU has stabilized the crypto market, making it a more viable option for institutional investors.

Portfolio Recommendations

  • Overweight: Semiconductor manufacturing equipment.
  • Neutral: Big Tech (Software).
  • Underweight: Traditional automotive.

"The market is a device for transferring money from the impatient to the patient." - Warren Buffett

Read original Markdown