liveBook · Manning

Attack surface

An attack surface is the set of exposed or reachable interfaces, components, capabilities, and pathways through which an attacker could access or affect a system.

How 7 Manning books explain it

Fundamentals of Cybersecurity

An attack surface is the collection of exposed systems, applications, interfaces, devices, and other points through which an attacker could compromise an environment.

How it is used
Frames where attackers may gain access or extract data and why hardening removes unnecessary exposure.
How deep it goes
Defines potential entry points and explains practical reduction techniques, without giving tool-specific setup steps.
Examples
Illustrates unnecessary exposure with a server's unused printing service and an open FTP port (21).
What you can do after
Operate/configure it by removing unneeded services, closing unused ports, and restricting access while preserving required functions.

Read how Fundamentals of Cybersecurity explains attack surface →

AI Governance

The set of points through which an attacker can attempt to affect or compromise a system.

How it is used
Frames generative AI security around entry points and the capabilities attackers can influence.
How deep it goes
Explains instruction-data ambiguity and retrieval poisoning, then identifies scope, sanitization, citation, and action controls without guaranteeing prevention.
Examples
Uses hidden instructions in searchable documents and emails, and an AI document-checking workflow that approves invalid documents.
What you can do after
Evaluate/understand how added access and agency change exposure, and select controls to reduce retrieval and action risks.

Read how AI Governance explains attack surface →

100 SQL Server Mistakes and How to Avoid Them

An attack surface is the collection of system components and exposed capabilities that could be targeted to compromise a system.

How it is used
Guides SQL Server installation choices by exposing how unnecessary components, services, and features increase security exposure.
How deep it goes
Explains operational causes and consequences of exposure, but stops short of formal threat modeling or vulnerability assessment.
Examples
Uses Windows Server 2022, SQL Server 2022, SSIS, Visual Studio, and optional SQL Server services as concrete cases.
What you can do after
Operate/configure SQL Server installations by choosing Server Core where suitable and excluding unneeded features and services.

Read how 100 SQL Server Mistakes and How to Avoid Them explains attack surface →

Secure APIs

An attack surface is the collection of exposed interfaces, components, and entry points through which an attacker may affect a system.

How it is used
Manages exposed API entry points and infrastructure to reduce opportunities for abuse, unauthorized access, and sensitive-data exposure.
How deep it goes
Explains endpoints, versions, devices, and infrastructure, then reaches gateways, WAFs, and network restrictions without treating them as complete protection.
Examples
Uses mortgage workflows, a laundry-service API, vulnerable IoT devices, old API versions, and internal endpoints as concrete exposure examples.
What you can do after
Operate/configure API exposure by inventorying entry points, restricting infrastructure, and applying gateway, WAF, and access-control measures.

Read how Secure APIs explains attack surface →

Crack Any Codebase with AI

A security attack surface is the set of exposed interfaces and entry points through which an unauthorized party could attempt to affect a system.

How it is used
Locates externally reachable interfaces while mapping a web application's service graph and trust boundaries.
How deep it goes
Connects inbound arrows and gateway routes to exposure, but stops short of detailed vulnerability analysis.
Examples
Uses browsers, external webhooks, Nginx, Kubernetes Ingress, Kong, Stripe, and Google as boundary examples.
What you can do after
Evaluate exposure by mapping public edges, route-defining gateways, vendors, and custom components.

Read how Crack Any Codebase with AI explains attack surface →

Think Like a CTO

The complete set of points, interfaces, systems, and pathways through which an attacker could compromise or leak organizational assets.

How it is used
Guides CTOs in identifying, reducing, monitoring, and repeatedly reassessing organizational exposure.
How deep it goes
Defines the concept and gives practical network and credential examples, while stopping short of exhaustive security treatment.
Examples
Uses shared database credentials, mixed production and development networks, network-connected devices, and newly deployed services.
What you can do after
Apply it by inventorying exposure, isolating environments, assigning accountable access, and reassessing defenses after changes.

Read how Think Like a CTO explains attack surface →

Data Pipelines with Apache Airflow, Second Edition

An attack surface is the collection of possible points through which an attacker could attempt to gain unauthorized access to a system.

How it is used
Guides Airflow security decisions by identifying exposed components and reducing the paths available to attackers.
How deep it goes
Explains architecture-level exposure and demonstrates network, encryption, secrets-management, and update controls without exhaustively modeling every breach path.
Examples
Uses the Airflow UI, database, external IPs, allowlists, Fernet keys, and Vault-backed connections as concrete security examples.
What you can do after
Operate/configure Airflow with restricted service exposure, encrypted stored secrets, centralized credentials, and current security fixes.

Read how Data Pipelines with Apache Airflow, Second Edition explains attack surface →

Also covered in

What to know first

Related concepts

Questions about attack surface

What is attack surface?

An attack surface is the set of exposed or reachable interfaces, components, capabilities, and pathways through which an attacker could access or affect a system.

Which Manning books explain attack surface?

Fundamentals of Cybersecurity, AI Governance, 100 SQL Server Mistakes and How to Avoid Them, Secure APIs, Crack Any Codebase with AI, Think Like a CTO and Data Pipelines with Apache Airflow, Second Edition.

What should I know before learning attack surface?

Manning books that teach attack surface usually introduce authorization, AI agent, GDPR and human-in-the-loop first.

What kinds of attack surface are there?

Kinds of attack surface include MCP tool and retrieval layer.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.