← Home ← Codex ← DEBT ← Engine
Browse by Category
+ added · updated 7d
← Back to glossary

Social Engineering

Security CWE-1390 OWASP A7:2021 CVSS 8.8 Beginner
debt(d9/e7/b7/t7)
d9 Detectability Operational debt — how invisible misuse is to your safety net

Closest to 'silent in production until users hit it' (d9). The detection_hints explicitly state 'automated: no' — there is no tool that catches social engineering in progress. The code_pattern notes are indirect signals (no training, no MFA, no verification processes) that are only visible through audits, not automated scanning. Attacks succeed silently until a breach is discovered.

e7 Effort Remediation debt — work required to fix once spotted

Closest to 'cross-cutting refactor across the codebase' (e7), applied to organisational scope. The quick_fix requires training all developers, enforcing hardware 2FA for admin accounts, and redesigning verification processes — these are people, policy, and infrastructure changes that span the entire organisation rather than a single codebase component. It cannot be a one-line patch; it requires sustained, organisation-wide remediation.

b7 Burden Structural debt — long-term weight of choosing wrong

Closest to 'strong gravitational pull' (b7). The term applies_to 'any' context, meaning every team, every role, every process is in scope. Maintaining defences requires ongoing training, process enforcement, and vigilance across all employees and support workflows — every future hire, every process change, every new channel is shaped by the need to account for social engineering risk.

t7 Trap Cognitive debt — how counter-intuitive correct behaviour is

Closest to 'serious trap' (t7). The misconception field directly states the canonical wrong belief: developers and organisations assume 'technical security controls prevent social engineering.' This contradicts the mental model most developers hold — that hardening systems is sufficient — when in reality the attack surface is human, not technical. This is a documented, persistent, and serious cognitive trap that causes real breaches.

About DEBT scoring →

Also Known As

phishing pretexting human hacking

TL;DR

Attackers manipulate people — rather than systems — into revealing credentials, granting access, or performing harmful actions.

Explanation

Social engineering bypasses technical controls by exploiting human psychology — authority, urgency, fear, and trust. Common forms include phishing emails, vishing (phone-based impersonation), pretexting (fabricated scenarios), and baiting. Technical defences such as 2FA, privileged access management, and email authentication (SPF, DKIM, DMARC) reduce exposure, but security awareness training remains the most effective countermeasure because the human is always part of the attack surface.

Common Misconception

Technical security controls prevent social engineering. Social engineering targets humans, not systems — even a perfectly hardened technical stack can be bypassed by convincing one employee to reset a password or click a link.

Why It Matters

Social engineering bypasses all technical security controls by targeting the human — phishing, pretexting, and vishing succeed because they exploit trust, urgency, and authority rather than software vulnerabilities.

Common Mistakes

  • No security awareness training — employees are the primary attack surface for social engineering.
  • Overly helpful support staff who bypass verification procedures for 'urgent' requests.
  • No verification process for password resets or access grants via phone or email.
  • Sensitive information in email signatures or LinkedIn profiles that feeds pretexting attacks.

Code Examples

✗ Vulnerable
// Social engineering attack script (awareness example):
// Attacker: 'Hi, I'm from IT. We're pushing an urgent security update.
//  I need your password to apply it remotely.'
// Victim: [provides password]
//
// Defence: IT never asks for passwords.
// Verify caller identity through a separate channel before complying.
✓ Fixed
# Technical controls that raise the cost of social engineering:

# 1. MFA — stolen password alone is not enough

# 2. Out-of-band verification for sensitive actions
# Policy: 'We will never ask for your password by phone or email'

# 3. Suspicious login alerts
$this->mailer->send(new SuspiciousLoginAlert($user, $ip, $country));

# 4. Privileged action confirmation with second factor
# 'You are about to transfer £5,000. Confirm via authenticator app.'

# 5. Access request process — use ticketing system, not Slack DMs
# Verify requester identity before resetting credentials

# 6. Security awareness training — phishing simulations, pretexting drills

Added 15 Mar 2026
Edited 12 Jun 2026
Views 90
Rate this term
No ratings yet
🤖 AI Guestbook educational data only
| |
Last 30 days
0 pings W 0 pings T 0 pings F 0 pings S 1 ping S 1 ping M 0 pings T 0 pings W 0 pings T 0 pings F 1 ping S 1 ping S 0 pings M 1 ping T 1 ping W 0 pings T 0 pings F 1 ping S 1 ping S 2 pings M 1 ping T 0 pings W 0 pings T 0 pings F 0 pings S 0 pings S 0 pings M 0 pings T 0 pings W 0 pings T
No pings yet today
No pings yesterday
Amazonbot 14 PetalBot 8 ChatGPT 7 Ahrefs 7 SEMrush 7 Bing 5 Unknown AI 3 Perplexity 2 Google 2 Scrapy 2 Twitter/X 2 Applebot 2 Meta AI 1 Brave Search 1
crawler 57 crawler_json 5 pre-tracking 1
🧱 FUNDAMENTALS — new to this? Start with the ground floor.
Phishing security Phishing is when an attacker sends a fake message pretending to be someone trustworthy — like your bank, boss, or a service you use — to trick you into handing over passwords, clicking a malicious link, or downloading malware.

Phishing is the #1 way real breaches start — even at companies with strong technical security. One tired developer clicking one link can bypass every firewall and encryption layer the team built.

💡 If a message pressures you to click, log in, or pay right now — stop, open a new browser tab, and go to the real site by typing the URL yourself.

Ask Codex about Phishing →
DEV INTEL Tools & Severity
🟠 High ⚙ Fix effort: High
⚡ Quick Fix
Train developers never to share credentials or bypass auth for anyone; enforce hardware 2FA for admin accounts; assume voice/email requests for access are attacks
📦 Applies To
any any
🔗 Prerequisites
🔍 Detection Hints
No security awareness training; admin accounts without hardware MFA; verbal credential handover processes
Auto-detectable: ✗ No
⚠ Related Problems
🤖 AI Agent
Confidence: Low False Positives: High ✗ Manual fix Fix: High Context: File
CWE-1007 CWE-20

✓ schema.org compliant