MYTHOSAI

AI, deception & social engineering labs / GUIDED EXERCISE

Validate AI-generated technical commands

A support assistant suggests a Linux configuration command without knowing the host's distribution or current firewall.

Before you start

No paid tools required. Use this guide with sample data, paper, or an explicitly authorised test environment. Keep a copy of any original configuration and obtain approval before changes.

A scenario worth testing

A support assistant suggests a Linux configuration command without knowing the host's distribution or current firewall. This scenario is an invented teaching example, not a description of an actual breach or test of a named organisation.

NIST’s AI Risk Management Framework is designed to support management of AI-related risks, rather than guaranteeing safety for any particular model. In this guide, the purpose is to evaluate a specific decision and its evidence. It does not follow that the scenario is likely in every environment, or that any untested product is vulnerable.

Red team perspective: define the risk

Question to test. Could copying plausible but unsuitable commands disconnect an operator or alter unintended files?

Blue team perspective: define the boundary

Defensive decision. Require human review, a change plan, minimum privilege and rollback before execution.

Safe experiment: make the question measurable

Scope: synthetic records or an explicitly authorised, disposable test environment only. No customer records, live exploit payloads or third-party probing.

  1. State the decision. Describe the asset, who should be authorised, and which fact would refute the initial hypothesis.
  2. Create a safe fixture. Construct the example. Compare a fictional proposed change with a read-only inspection plan and a reversible test-environment plan; do not execute unknown commands.
  3. Evaluate three cases. Use the fictional cases below; identify the permitted case, an adverse case and a plausible exception. Record what evidence distinguishes them.
  4. Write an outcome. Decide whether to allow, deny, escalate or ask for more information. Record the policy owner and one measurable follow-up. Never equate a planned test with a completed live test.

Worked example and expected observations

Illustrative result, not a measured finding: A review sheet checking environment assumptions, required rights, impact and recovery path.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activityProposed command is read-only and its assumptions match a disposable hostExplain the precise reason it is permitted or expected.
Boundary challengeGenerated command would flush firewall on the remote production serverIdentify the policy, detection or approval that should respond.
Lookalike or exceptionCommand syntax is valid but distribution-specific flags differIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: proposed command is read-only and its assumptions match a disposable host. Compare the relevant boundary with the adverse case: generated command would flush firewall on the remote production server. The distinction depends on OS version, exact command, side effects, safe alternative and rollback, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: command syntax is valid but distribution-specific flags differ. Record which additional fact would change the decision. Distinguish an input that may be inspected from an instruction that is authorised to control a system. A successful synthetic test is not proof that a deployed AI system resists every attack.

Download the three-case CSV exercise (illustrative inputs, not collected production evidence).

Evaluate evidence and failure modes

False confidence to avoid: Fluent explanations and confident formatting do not demonstrate that a command is correct for a specific system. One harmless prompt example or social-engineering scenario is not a comprehensive test of model or staff resistance.

Decide what to improve

Recommended next action: Prefer read-only discovery, vendor documentation and staged application before touching production. Prefer verifiable business processes and least-privilege tools to assumptions about the model’s reliability.

  • Which exact asset and named owner does this decision concern?
  • Would your evidence include OS version, exact command, side effects, safe alternative and rollback?
  • Does the adverse case need blocking, investigation or both?
  • What one controlled follow-up would distinguish the lookalike case from abuse?

Official references and limitations

Primary references explain the underlying control or framework; they do not validate the fictional cases above.

Try the related offline practice workbook, with runnable Python standard-library examples and marked limitations.