AAISM Cheatsheet
Advanced in AI Security Management
Download free PDFAI Governance and Program Management (31%)
Charter, ownership and accountability
- An **AI charter** defines purpose, scope, stakeholders, authority, decision rights and reporting. Executive oversight connects AI strategy, investment and acceptable risk to enterprise objectives.
- An **AI governance committee** coordinates business, security, data science, privacy, legal, compliance and domain experts. Diverse perspectives help uncover overlooked harms and practical constraints.
- Assign an accountable **business or model owner** for each use case. Define who approves deployment, accepts residual risk, monitors outcomes and implements corrective actions.
- Use a **responsibility matrix** across internal teams, vendors and interconnected models. Delegating operations does not remove organizational accountability; security managers advise on safeguards and risk.
- Measure and communicate **business value** alongside risk and control effectiveness. Reassess whether an AI service remains necessary, appropriate and aligned with its approved purpose.
Strategy, policies and frameworks
- Begin with **business needs**, intended uses, existing AI adoption and affected stakeholders. A strategic roadmap prioritizes use cases, resources, dependencies and measurable outcomes.
- An **acceptable use policy** defines approved tools, permitted data, prohibited activities, disclosure, output review and incident reporting. Include restrictions on manipulating agents or bypassing safeguards.
- An **AI life cycle policy** governs acquisition, development, testing, release, operation, change and retirement. A management system policy establishes direction and a basis for AI objectives.
- Integrate AI requirements with the existing **information security program**. Reuse enterprise controls and add safeguards for model, data and agent risks; embed them into operational workflows.
- Use **NIST AI RMF** for risk management, **ISO/IEC 42001** for an AI management system and established security frameworks for supporting controls. Tailor frameworks to organizational context.
- Maintain a **requirements register** by jurisdiction, sector, data and use case. Applicable legal obligations constrain risk acceptance; popularity, certification or internal appetite does not waive them.
Inventory and life cycle records
- A centralized **AI inventory** records owners, use cases, risk classifications, deployment locations, vendors, models, versions, datasets, dependencies and integrations. Discover AI features inside existing products too.
- **Shadow AI** is unsanctioned AI use. Combine discovery and usage monitoring with approved alternatives, data controls and practical training; confidential prompts can expose intellectual property.
- Track **data lineage** from collection through transformation, training, inference, storage and disposal. **Provenance** records origin and handling history; metadata catalogs support discovery and classification.
- A **model card** summarizes capabilities, intended and unsuitable uses, evaluation results, limitations, ethical concerns and relevant data context. A dataset datasheet describes data collection, composition and permitted use.
- At **retirement**, revoke identities, tokens and integrations; stop jobs; remove model copies, caches, datasets and agent artifacts under retention rules. Preserve required records and verifiable destruction evidence.
Controlled adoption and awareness
- Use **phased rollout**, bounded pilots and human validation before expanding autonomy or critical use. Define release gates, rollback criteria and accountable approval before production.
- Provide **role-based, scenario-driven training**: staff protect prompts and verify outputs; developers secure data, dependencies, agent memory and tool execution; responders investigate AI incidents.
- Teach users about **hallucinations**, sensitive data leakage, malicious prompts and deepfake social engineering. Policy acknowledgment alone does not demonstrate safe behavior.
- **Automation bias** is undue trust in automated advice. Train users to challenge implausible outputs, recognize system limits and escalate consequential or uncertain decisions.
AI incident response
- Prepare **cross-functional playbooks** with model and data owners, security, operations, privacy, legal and communications. Define reporting channels, severity, escalation, evidence and decision authority.
- During active harm or disclosure, prioritize **containment**: isolate affected services, revoke tool permissions, restrict endpoints or activate a tested kill switch. Select actions that preserve a safe operating state.
- Preserve **logs and artifacts**: model version, prompts, outputs, retrieval context, data lineage, agent actions, access events and deployment changes. Protect evidence integrity and sensitive content.
- Perform **root cause analysis** across data, weights, code, dependencies, configuration and user behavior. Remove malicious artifacts and close the entry point before restoring service.
- Recover from a **known-good, validated state**. Verify functionality, output quality, fairness and security before reopening access; monitor closely and feed lessons into controls and playbooks.
- Use approved **crisis communications** to provide verified facts during impersonation or deepfake events. Coordinate stakeholder and required notifications without waiting for complete attribution.
Business continuity and recovery
- A **business impact analysis** sets recovery priorities from operational, safety and customer consequences. Criticality, dependencies and fallback options determine recovery needs.
- **RTO** is the target time to restore service; **RPO** is the acceptable age of recovered data. Include AI restoration and validation time when designing recovery capabilities.
- Protect compatible versions of **weights, code, configuration, feature stores, training data, retrieval indexes and dependencies**. A model-only backup may not restore the service correctly.
- Exercise **failover, rollback and restoration** in realistic scenarios. Measure recovery time, data loss, model behavior and output quality; test kill switches through incident and continuity exercises.
- Plan **manual or deterministic fallback** for AI failure. **Fail safe** minimizes harm; **fail secure** preserves access restrictions. Choose the state appropriate to safety and security requirements.
AI Risk Management (31%)
Risk and impact assessments
- Assess the **use case and system context** before choosing controls: assets, users, decisions, autonomy, data flows, dependencies and potential effects of failure or misuse.
- An **AI risk assessment** evaluates threats, vulnerabilities, likelihood, impact and existing controls. Record owners, treatment plans and residual risk in the enterprise risk register.
- An **AI impact assessment** examines effects on individuals, communities, safety and the environment. Consider discrimination, autonomy, transparency and harms beyond conventional IT failures.
- A **privacy impact assessment** examines personal data processing, necessity, purpose, disclosures and safeguards. A fundamental rights assessment addresses broader rights and freedoms.
- For **high-impact decisions** such as lending, employment or healthcare, evaluate subgroup harm, explainability, review and appeal. Reassess when purpose, autonomy, data, model or operating context changes.
Appetite, thresholds and treatment
- **Risk appetite** expresses the amount and type of risk an organization is willing to pursue. **Tolerance** translates it into acceptable variation or limits for a particular objective or service.
- Define measurable **thresholds** for output quality, harm, drift, disclosure and performance degradation. Obtain appropriate management approval and connect breaches to action and escalation.
- Select **avoidance, reduction, sharing or acceptance** based on business impact and obligations. Risk acceptance needs an authorized owner, rationale and review; outsourcing does not erase exposure.
- A **threat-control matrix** maps assets and threats to preventive, detective and corrective safeguards, control owners and assurance activities. Evaluate residual risk after validating control effectiveness.
- Management reports should show **risk trends, threshold breaches, control gaps and actionable recommendations**. Risk documentation supports decisions, accountability and auditability throughout the life cycle.
Integrity and behavior threats
- **Data poisoning** corrupts training or feedback data to degrade behavior or cause targeted errors. **Model poisoning** tampers with model updates or parameters; both threaten output integrity.
- A **backdoor** produces hidden behavior when a trigger appears while normal tests may pass. Validate source integrity and test targeted triggers as well as average model performance.
- **Evasion** uses crafted inference-time inputs to cause misclassification. Adversarial examples can manipulate images, text, audio or transaction features without changing the deployed model.
- **Prompt injection** places hostile instructions in user or retrieved content to redirect an LLM. **Jailbreaking** attempts to bypass behavioral safeguards; the techniques can overlap.
- **Memory poisoning** persists malicious or misleading content in an agent's retained context. **Excessive agency** permits overly broad actions; **unbounded consumption** exhausts compute, tokens or API budgets.
Privacy attacks and model theft
- **Membership inference** asks whether a particular record was used for training. **Model inversion** attempts to reconstruct sensitive information from model behavior; attribute inference predicts private characteristics.
- **Model extraction or stealing** replicates model functionality through queries or steals model artifacts. Distillation can train a substitute from observed outputs; it also has legitimate uses.
- Repeated structured **API queries** can signal extraction or inference attempts, but are not proof. Correlate identities, query patterns, confidence requests, outputs and usage anomalies.
- Layer **authentication, query limits, anomaly monitoring and output minimization** with privacy-preserving training. Restrict access to weights and keys; encryption at rest does not prevent authorized API probing.
- **Watermarking or fingerprinting** may help attribute ownership or identify copied behavior. It does not replace access controls, establish output truth or prevent theft by itself.
Vendor assurance and contracts
- Before procurement, assess **data handling, model provenance, security testing, compliance, subcontractors and dependencies** against the intended use and business requirements.
- Review **model cards, test evidence and independent audit reports** for relevant service scope, exceptions and period of coverage. A reputation or certification alone does not establish fitness for a use case.
- Contracts should define **data ownership, permitted processing, training reuse, retention, deletion, location and onward transfer**. Set explicit restrictions on use of organizational prompts and records for training.
- Specify **accountability, audit rights, assurance evidence, incident notification and remediation duties**. Require notification and approval or assessment of material model, data and subcontractor changes.
- Monitor **ongoing compliance and performance** throughout the relationship. Plan portability, fallback and secure exit to address vendor lock-in, service withdrawal and unsupported components.
AI supply chain security
- Treat **pre-trained models, libraries, datasets, plug-ins and updates** as potential entry points. Public availability or open-source licensing does not guarantee trusted content or absence of backdoors.
- An **AI bill of materials** records model, data and software dependencies and versions. Use it with software composition analysis, vulnerability monitoring, scanning and controlled updates.
- Verify **trusted origin, signatures and hashes** before accepting artifacts. Scan packages, review risky serialization and load unfamiliar models in isolation; some formats can execute code.
- Maintain **approved registries, pinned versions and reproducible builds**. Revalidate security and behavior after updates; monitor subcontractor activities and flow security obligations down the supply chain.
AI Technologies and Controls (38%)
Models and learning techniques
- **Supervised learning** uses labeled examples for classification or regression. **Unsupervised learning** finds structure such as clusters or anomalies. **Reinforcement learning** learns actions from rewards.
- **Generative AI** produces content; an **LLM** models language patterns. **NLP** analyzes or processes language, while **NLG** generates it. A fluent answer is not evidence of correctness.
- **Decision trees** can provide accessible decision paths. Deep neural networks capture complex nonlinear relationships that can make explanation difficult; select models for the actual use and constraints.
- **Robustness** is reliable behavior under perturbations, adversarial inputs or unexpected conditions. Accuracy, explainability, security, privacy, cost and latency require explicit tradeoffs.
Data preparation and integrity
- Profile and cleanse data for **completeness, consistency, accuracy and representativeness**. Handle missing values with justified methods; investigate outliers before deleting them.
- **Annotation** adds labels. **Normalization** rescales values. **Augmentation** creates transformed or additional examples; validate labels and realism so synthetic repetition does not reinforce bias or overfitting.
- Separate **training**, **validation** and **test** data. Fit parameters on training data, tune hyperparameters on validation data and reserve an independent test set for final evaluation.
- Prevent **data leakage** across splits, including duplicates or related records. Preserve time order where needed, and compare representative subgroup performance rather than only aggregate results.
- Protect ingestion and training pipelines with **source validation, schema checks, anomaly detection, access reviews and change control**. Hashes detect changes against trusted baselines; lineage supplies context.
Privacy-preserving controls
- Apply **purpose limitation and data minimization**: collect and expose only what the approved task needs. Define retention and deletion for prompts, logs, caches, embeddings and training datasets.
- Establish a valid **basis for personal data processing** and clear disclosures. Where consent is the basis, support informed choice and withdrawal; implement applicable access, correction and erasure processes.
- **Pseudonymization** replaces identifiers but retains a means of relinking. **Anonymization** aims to prevent identification; assess residual linkage risk. Hashing a predictable identifier alone is insufficient.
- **Differential privacy** limits what outputs reveal about an individual's contribution using calibrated randomization and a privacy budget. Assess the privacy-utility tradeoff and cumulative releases.
- **Federated learning** keeps raw data local while sharing model updates. Updates can still leak information; **secure aggregation** hides individual contributions in the combined result, with protocol-specific assumptions.
- **Synthetic data** can reduce exposure of real records, but can reproduce sensitive patterns or bias. Test privacy and utility; combine encryption, tokenization, access restrictions and secure key management as needed.
Fairness, explainability and trust
- **Sampling or selection bias** arises when data poorly represents the target population. Historical labels, proxies and measurement choices can also cause unfair outcomes; simply removing protected attributes may be insufficient.
- Reduce harmful **bias** using representative sourcing, validated augmentation, appropriate fairness constraints and subgroup testing. Select fairness measures for the context and monitor outcomes after deployment.
- **Transparency** discloses relevant system purpose, data practices and limitations. **Explainability** gives understandable reasons for outputs; provide audience-appropriate evidence without exposing sensitive internals.
- Use **feature importance, local explanations and technical documentation** to investigate influential factors. An LLM's generated rationale can be plausible without faithfully describing its decision process.
- **Human-in-the-loop** review requires qualified people, adequate information, time and authority to reject outputs. Provide challenge and appeal paths for consequential decisions and avoid rubber-stamp oversight.
LLM architecture and boundaries
- Use **data flow diagrams and threat modeling** during design to identify trust boundaries, entry points, interfaces and downstream actions. Secure the entire application, including retrieval and tools.
- **Retrieval-augmented generation (RAG)** supplies relevant external knowledge at query time. Enforce caller permissions before retrieval; separate tenants and data classifications in indexes and caches.
- Treat retrieved documents and model output as **untrusted data**. Separate instructions from content, validate inputs and use layered prompt defenses; filters and system prompts are not complete injection barriers.
- Apply **output validation, encoding and sanitization** before rendering text or passing generated code, queries and commands to another system. Check authorization outside the model before any sensitive action.
- Reduce **hallucinations** with grounded retrieval, task-specific evaluation, evidence checks and human review. Moderation filters harmful content; neither moderation nor fine-tuning guarantees factual accuracy.
- Choose **public, private or self-hosted deployment** from data handling and control needs. A private instance reduces some exposure but still needs least privilege, testing, monitoring and vendor assurance.
Agent autonomy, tools and memory
- Bound **agent autonomy** by use case, permitted data, tools and actions. Require independent human authorization for high-risk actions such as payments, destructive changes or consequential decisions.
- Use **least privilege**, scoped identities and short-lived capability tokens for tools. Enforce session, user and resource boundaries in the execution layer; avoid shared administrator credentials.
- Run generated code and tool execution in **sandboxes** with constrained network access and resources. Validate tool names, parameters and results; record actions and retain a revocation path.
- Validate before **memory persistence**, label trust and provenance, and isolate users and sessions. Watch unexpected memory writes; clear transient state when no longer required.
- Apply **budgets, quotas, timeouts and iteration limits** to recursive planning, reflection loops and multi-agent work. Monitor attempted self-replication, unauthorized tool calls and abnormal resource consumption.
- Test **interconnections end to end**: one model's error or poisoned context can propagate and compound bias across others. Restrict exchanges to necessary, authorized and validated information.
Testing and release assurance
- **TEVV** combines testing, evaluation, verification and validation. Verification checks specified requirements; validation checks suitability for intended use. Apply assurance throughout the life cycle.
- Use **representative, independent test data**, edge cases and misuse scenarios. Nondeterministic outputs and limited validated datasets make comprehensive AI testing difficult; evaluate repeated runs where appropriate.
- **Red teaming** simulates realistic adversarial behavior and business harm. Select skills and scenarios from the use case, including injection, unauthorized tool actions, poisoning, extraction and multilingual attacks.
- **White-box testing** uses internal knowledge; **black-box testing** assesses exposed behavior. Fuzzing varies inputs to find unexpected failures; adversarial training improves resistance to tested perturbations.
- Combine **security, safety, fairness, privacy, integration, load and regression tests**. Define acceptance gates and independent review for critical services; passing one benchmark is limited assurance.
- Use **version-controlled IaC**, secured pipelines and approved artifacts for repeatable deployment. Validate model, data, configuration and dependency changes together, retaining tested rollback packages.
Continuous monitoring and drift
- **Data drift** changes the input distribution; **concept drift** changes the relationship between inputs and outcomes. Neither necessarily implies an attack; investigate performance changes against context and baselines.
- Monitor **input anomalies, output quality, subgroup errors, adversarial attempts, overrides, disclosures and tool actions**, alongside availability, latency and cost. Route actionable alerts to accountable teams or the SOC.
- Use **out-of-distribution detection** to flag unfamiliar inputs and trigger abstention or review. Confidence scores need calibration and do not establish factual truth or safety by themselves.
- Revalidate with **recent representative data** and investigate degradation before choosing retraining, recalibration or rollback. Validate retraining data and changes; uncontrolled automatic learning can ingest malicious feedback.
- Pair **KPIs** for desired performance with **KRIs** for exposure and control gaps. Give each metric a baseline, threshold, owner and response; reporting activity counts alone can hide poor outcomes.
Confusion matrix and thresholds
- A **confusion matrix** compares predicted and actual classes. **TP** detects a real positive; **TN** correctly rejects a negative; **FP** is a false alarm; **FN** misses a real positive.
- **Precision = TP / (TP + FP)**: how many predicted positives are correct. **Recall = TP / (TP + FN)**: how many actual positives are found; recall is also sensitivity.
- **Specificity = TN / (TN + FP)** measures correct rejection. **Accuracy = (TP + TN) / total** can mislead on imbalanced data. **Error rate = (FP + FN) / total**.
- **F1 = 2 × precision × recall / (precision + recall)** balances precision and recall. Choose metrics from the cost of missed threats, false alarms and harm, including differences across groups.
- For a score where larger means more likely positive, **raising the decision threshold** generally reduces both true and false positive counts. Validate tradeoffs before changing thresholds or disabling risk signals.
AI-enabled defense and deepfakes
- **Behavioral analytics** detects departures from normal activity; NLP helps analyze phishing content. AI can enrich and triage alerts, while analysts validate context and consequential responses.
- For **AI-assisted incident response**, tier automation by impact and confidence. Keep human approval for disruptive SOAR actions and track analyst corrections to improve detection without hiding false negatives.
- **Predictive maintenance** uses equipment telemetry to identify emerging failures. Combine validated forecasts with operational expertise and tested fallback procedures rather than unrestricted autonomous repair.
- **Deepfakes** synthesize or alter identity cues. Protect payments and sensitive changes with independent, trusted-channel verification and multiple approvals; voice or video appearance alone is weak assurance.
- Use **provenance, authenticity checks and detection tools** as supporting evidence. Metadata, pixel or biometric anomalies can be clues, but absence of artifacts does not prove authenticity.