Cybersecurity basics

From Tibsfox/gsd-skill-creator · View interactive version

Cybersecurity basics is an AI agent skill from the GitHub repository Tibsfox/gsd-skill-creator. Foundational cybersecurity literacy covering threat landscape (malware, phishing, social engineering, network attacks), defensive practices (encryption, authentication, access control, patching), privacy fundamentals (data collection, tracking, regulatory frameworks), and security reasoning (threat

How to use this skill

Skill file

Cybersecurity Basics

Cybersecurity is the practice of protecting systems, networks, and data from unauthorized access, damage, or disruption. In a world where nearly every aspect of life involves digital systems, security literacy is not optional -- it is a prerequisite for informed technology use. This skill covers the threat landscape, defensive practices, privacy fundamentals, and the reasoning frameworks that security professionals use to think about protection.

Agent affinity: borg (systems security, infrastructure hardening), berners-lee (web security, open standards), joy (risk assessment for critical systems)

Concept IDs: tech-information-security, tech-digital-rights-privacy

Part I -- The Threat Landscape

Malware

Malware (malicious software) is any software designed to harm, exploit, or gain unauthorized access to a system.

| Type | Behavior | Example vector |

|---|---|---|

| Virus | Attaches to files, spreads when file is executed | Infected email attachment |

| Worm | Self-replicates across networks without user action | Exploits network vulnerability |

| Trojan | Disguised as legitimate software | Fake app download |

| Ransomware | Encrypts files, demands payment for decryption key | Phishing email with malicious link |

| Spyware | Monitors activity, steals data silently | Bundled with free software |

| Rootkit | Hides deep in the OS, grants persistent access | Compromised system update |

Social Engineering

Social engineering attacks exploit human psychology rather than technical vulnerabilities. They are often more effective than technical attacks because humans are more predictable than software.

The human layer is always the weakest link. Technical defenses fail when a user willingly provides their password to a convincing impersonator.

Network Attacks

Part II -- Defensive Practices

Encryption

Encryption transforms readable data (plaintext) into unreadable data (ciphertext) using a key. Only someone with the correct key can reverse the transformation.

Authentication

Authentication verifies identity -- confirming that someone is who they claim to be.

Three factors:

| Factor | What it is | Example |

|---|---|---|

| Something you know | Secret information | Password, PIN, security question |

| Something you have | Physical token | Phone (SMS code), hardware key (YubiKey) |

| Something you are | Biometric | Fingerprint, face scan, iris pattern |

Multi-factor authentication (MFA) requires two or more factors. A password plus a phone code is far more secure than a password alone, because an attacker must compromise two independent channels.

Password Hygiene

Access Control

Access control determines who can access what resources and what they can do with them.

Defense in Depth

No single security measure is sufficient. Defense in depth layers multiple protections so that the failure of one layer does not compromise the whole system.

| Layer | Controls |

|---|---|

| Physical | Locked doors, badge access, security cameras |

| Network | Firewalls, intrusion detection, network segmentation |

| Host | Antivirus, OS hardening, patch management |

| Application | Input validation, secure coding, code review |

| Data | Encryption, backup, access controls |

| Human | Security training, phishing simulations, incident response procedures |

Patching and Updates

Software vulnerabilities are discovered continuously. Patches fix known vulnerabilities. Delaying patches leaves known doors open. Automatic updates are the single most effective security practice for most users.

Part III -- Privacy Fundamentals

Data Collection and Tracking

Modern digital services collect vast amounts of personal data -- browsing history, location, contacts, messages, purchase history, biometrics. This data has economic value (targeted advertising) and surveillance value (government and corporate monitoring).

Regulatory Frameworks

| Framework | Jurisdiction | Key principles |

|---|---|---|

| GDPR (2018) | European Union | Consent, right to erasure, data portability, breach notification |

| CCPA/CPRA (2020/2023) | California, USA | Right to know, right to delete, right to opt out of sale |

| COPPA (1998) | USA (children under 13) | Parental consent for data collection from children |

| PIPEDA (2000) | Canada | Consent, limited collection, accountability |

Privacy as a Design Principle

Privacy by design (Ann Cavoukian, 2009) embeds privacy into system architecture rather than bolting it on after the fact. Seven principles:

  1. Proactive, not reactive
  2. Privacy as the default setting
  3. Privacy embedded into design
  4. Full functionality (privacy and functionality are not trade-offs)
  5. End-to-end security
  6. Visibility and transparency
  7. Respect for user privacy

Part IV -- Security Reasoning

Threat Modeling

Threat modeling is a structured approach to identifying security risks before they are exploited.

STRIDE model (Microsoft):

| Threat | Targets | Example |

|---|---|---|

| Spoofing | Authentication | Fake login page |

| Tampering | Integrity | Modified database record |

| Repudiation | Non-repudiation | Denying a transaction occurred |

| Information disclosure | Confidentiality | Database breach |

| Denial of service | Availability | DDoS attack |

| Elevation of privilege | Authorization | User gains admin access |

Risk Assessment

Risk = Likelihood x Impact. Not all threats deserve equal attention. Focus defensive resources on high-likelihood, high-impact threats first.

| | Low impact | High impact |

|---|---|---|

| High likelihood | Monitor | Prioritize |

| Low likelihood | Accept | Mitigate |

Cross-References

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.