Global site search

Search guides, labs, glossary, and research

Type two or more characters to search.

Start with a channel, artifact, or defense term

Examples include zero-width, metadata, tokenizer, or prompt injection.

    Interactive laboratory · 40 dedicated tools

    Inspect the same artifact from the machine’s side.

    Each focused lab has an extensionless URL, an AJAX workflow, bounded examples, explicit human and machine views, a defensive transform, and a clear limitations section.

    Quick answer

    What do the Machine Tradecraft laboratories let you test?

    The 40 local laboratories compare human-visible and machine-visible representations across Unicode, encodings, linguistic signals, model-facing patterns, HTML, documents, media, messaging, supply-chain artifacts, transformations, and controlled AI boundaries.

    Runtime
    Dependency-free PHP and vanilla JavaScript on this host.
    Inputs
    Bounded benign text or temporary files; uploaded files are not retained by the application.
    Interpretation
    Every result remains specific to the tested carrier, parser, receiver, and transformation.
    40 labs
    Dedicated tools

    Text & Unicode

    Text & Unicode

    Invisible Unicode

    Inspect zero-width characters and format controls, encode a small benign payload, decode it, and compare security-oriented normalization views.

    Human view
    Invisible or context-dependent
    Receiver
    Code-point scanner or exact tokenizer
    Robustness
    Fragile under cleaning; transport-dependent
    Open laboratory
    Text & Unicode

    Homoglyphs & Confusables

    Compare visually similar characters from different scripts, construct a small educational skeleton, and flag mixed-script identifiers.

    Human view
    Visually similar
    Receiver
    Code-point and script analyzer
    Robustness
    Survives ordinary rendering
    Open laboratory
    Text & Unicode

    Bidirectional Text

    Expose the logical sequence, rendered sequence, escaped sequence, and code-point sequence for text containing bidi controls.

    Human view
    Invisible controls; reordered glyphs
    Receiver
    Renderer and logical parser
    Robustness
    Renderer-dependent
    Open laboratory
    Text & Unicode

    Whitespace & Formatting

    Reveal ordinary spaces, tabs, line endings, non-breaking spaces, thin spaces, trailing whitespace, and repeated-space patterns.

    Human view
    Invisible or low-salience
    Receiver
    Raw-text parser
    Robustness
    Usually fragile under formatting
    Open laboratory
    Text & Unicode

    Canonicalization Differential

    Compare raw UTF-8, code points, an explicitly approximate grapheme view, four bounded normalization copies, scripts, bidi controls, selected default ignorables, and an educational confusable skeleton without overwriting the original.

    Human view
    Invisible and visually equivalent forms
    Receiver
    Unicode-aware parser and identifier policy
    Robustness
    Depends on normalization and rendering
    Open laboratory
    Dedicated tools

    Encodings & Linguistic Signals

    Encodings

    Encoding Workbench

    Encode and decode Base64, Base64URL, hexadecimal, percent encoding, HTML entities, JSON escapes, Unicode escapes, binary, and UTF-8 byte views.

    Human view
    Visible but semantically opaque
    Receiver
    Format-aware decoder or trained model
    Robustness
    Exact-string dependent
    Open laboratory
    Linguistic Channels

    Acrostics

    Extract first or last letters from lines, sentences, and paragraphs, or inspect an nth-word positional rule.

    Human view
    Ordinary prose
    Receiver
    Known positional rule
    Robustness
    Fragile to rewriting and boundary edits
    Open laboratory
    Linguistic Channels

    Word-Length Patterns

    Map word lengths to binary classes, inspect periodicity, and see how small lexical changes corrupt decoding.

    Human view
    Ordinary prose
    Receiver
    Counting rule
    Robustness
    Survives formatting; not paraphrase
    Open laboratory
    Linguistic Channels

    Punctuation & Style

    Inspect serial commas, contractions, quote and dash variants, and selected US/UK spelling alternatives.

    Human view
    Visible stylistic choices
    Receiver
    Style codebook or stylometric model
    Robustness
    Formatting- and editor-dependent
    Open laboratory
    Linguistic Channels

    Synonym Choices

    Use a fixed curated dictionary to encode or decode a small benign bit string and observe how paraphrase-like substitution changes the result.

    Human view
    Natural lexical alternatives
    Receiver
    Shared codebook
    Robustness
    Fragile to paraphrase and editing
    Open laboratory
    Linguistic Channels

    Syntactic Structure

    Compare fixed active/passive, clause-order, and optional-conjunction realizations with simple tree-like structural views.

    Human view
    Ordinary syntax
    Receiver
    Parser or structural codebook
    Robustness
    Survives formatting; not paraphrase
    Open laboratory
    Linguistic Channels

    Semantic Categories

    Map fixed harmless categories such as animal, fruit, vehicle, and weather to two-bit symbols and inspect category sequences.

    Human view
    Meaning-level choices
    Receiver
    Shared semantic codebook or extractor
    Robustness
    More paraphrase-tolerant than token codes
    Open laboratory
    Linguistic Channels

    Steganalysis

    Inspect prepared benign text for acrostic, fixed-position, word-length, punctuation, lexical, and transformation indicators using only the fixed marker MACHINE_TRADECRAFT_DEMO_OK.

    Human view
    Statistical or rule-dependent
    Receiver
    Transparent local heuristics
    Robustness
    Carrier-specific
    Open laboratory
    Dedicated tools

    Model Signals

    Model Signals

    Tokenizer Explorer

    Compare characters, UTF-8 bytes, whitespace-aware pieces, and a documented local toy subword segmentation.

    Human view
    Rendered text looks unchanged
    Receiver
    Exact tokenizer and normalizer
    Robustness
    Highly version-specific
    Open laboratory
    Model Signals

    Probability Signals

    Apply a synthetic preference to a fixed candidate vocabulary and visualize how individual normal-looking choices create an aggregate signal.

    Human view
    Individual choices look ordinary
    Receiver
    Distribution-aware statistic
    Robustness
    Sequence- and model-dependent
    Open laboratory
    Model Signals

    Watermark Simulator

    Partition a synthetic vocabulary with a local seed, generate a harmless token sequence, and calculate a simple green-token z-score.

    Human view
    No obvious visual marker
    Receiver
    Key-aware statistical detector
    Robustness
    Fragile to substantial rewriting
    Open laboratory
    Model Signals

    Pattern Detector

    Analyze repetition, word-length periodicity, unusual whitespace, character classes, runs, and simple n-gram regularity.

    Human view
    Patterns may be human-subtle
    Receiver
    Statistical analyzer
    Robustness
    Feature-dependent
    Open laboratory
    Model Signals

    Tokenization Differential

    Compare deterministic miniature character, byte, BPE, WordPiece, and Unigram-style profiles, then inspect local round trips and bounded chunks. The bundled vocabularies do not reproduce a vendor tokenizer.

    Human view
    Subword and byte boundaries
    Receiver
    Educational local tokenizer profiles
    Robustness
    Vocabulary-specific
    Open laboratory
    Dedicated tools

    Web, Documents & Metadata

    Web & DOM

    Hidden HTML

    Compare raw source, structural text, likely rendered text, comments, hidden nodes, attributes, and a sanitized representation without executing the HTML.

    Human view
    Non-rendered or low-salience
    Receiver
    Raw HTML or DOM parser
    Robustness
    Extractor-dependent
    Open laboratory
    Web & DOM

    Accessibility Fields

    Extract alt text, aria-label, aria-labelledby, titles, hidden labels, and visible text into separate provenance-labelled views.

    Human view
    Often invisible to sighted users
    Receiver
    Accessibility tree or DOM agent
    Robustness
    Parser- and policy-dependent
    Open laboratory
    Documents & Metadata

    Document Metadata

    Parse JSON or XML metadata, inventory field provenance, and compare strict, balanced, and research allowlist profiles.

    Human view
    Properties-only
    Receiver
    Document parser or indexer
    Robustness
    Container-dependent
    Open laboratory
    Documents & Metadata

    Metadata Generator

    Generate downloadable JSON, XML, HTML, or Markdown fixtures containing only a fixed benign marker and descriptive metadata.

    Human view
    Format-dependent
    Receiver
    Parser under test
    Robustness
    Exact carrier-dependent
    Open laboratory
    Documents & Metadata

    PDF Inspector

    Upload a PDF for bounded, non-executing inspection of the header, object count, metadata strings, XMP, annotations, embedded-file indicators, and active-content indicators.

    Human view
    Rendered pages omit many structures
    Receiver
    PDF object parser
    Robustness
    Parser- and conversion-dependent
    Open laboratory
    Documents & Metadata

    DOCX/XLSX/PPTX Inspector

    Treat Office files as ZIP containers, list bounded package entries, and extract common core, app, and custom properties without macros or active execution.

    Human view
    Package internals are not normally visible
    Receiver
    ZIP/XML package parser
    Robustness
    Converter-dependent
    Open laboratory
    Documents & Metadata

    Image Metadata

    Inspect PNG textual chunks and common JPEG EXIF fields, compare file properties, and identify metadata-only strings.

    Human view
    Metadata is not in the pixels
    Receiver
    Image metadata parser
    Robustness
    Often removed by recompression
    Open laboratory
    Web & DOM

    Web Representation Differential

    Parse a bounded inert HTML fragment and compare raw source, structural text, likely rendered text, accessibility fields, JSON-LD blocks, hidden mechanisms, and sanitized output.

    Human view
    Multiple browser-facing layers
    Receiver
    DOM parser, renderer, accessibility consumer, crawler
    Robustness
    Browser and state dependent
    Open laboratory
    Documents & Metadata

    Container Map

    Inspect a PDF, OOXML, PNG, or JPEG as inert bytes, identify its format, compute a digest, map structural features, and report active-content and ambiguity indicators.

    Human view
    Container and metadata layers
    Receiver
    Bounded structural inspector
    Robustness
    Format-specific
    Open laboratory
    Web & DOM

    Agent View

    Compare deterministic fixture DOM, accessibility snapshot, focus order, geometry, hidden state, locator strategy, and confirmation requirements without external navigation or real side effects.

    Human view
    DOM, accessibility, geometry, and state
    Receiver
    Deterministic local browser-state model
    Robustness
    Fixture and state dependent
    Open laboratory
    Dedicated tools

    Machine View & Defense

    Machine View & Defense

    Representation Differential

    Compare raw, human-visible, structural, escaped, metadata-like, and canonical views of the same text or HTML artifact.

    Human view
    Cross-view comparison
    Receiver
    Multiple independent witnesses
    Robustness
    Depends on evidence quality
    Open laboratory
    Machine View & Defense

    Transformation Survival

    Apply trim, whitespace collapse, normalization, HTML-to-text, punctuation, case, and paraphrase simulations to fixed benign carriers.

    Human view
    Varies by carrier
    Receiver
    Carrier-specific decoder
    Robustness
    Measured rather than assumed
    Open laboratory
    Machine View & Defense

    Defense Maturity

    Record explicit maturity selections for nine independent dimensions, preserve one bounded evidence note, and generate a transparent local action plan without an overall score or certification claim.

    Human view
    Control evidence and gaps
    Receiver
    Local assessment planner
    Robustness
    Evidence dependent
    Open laboratory
    Machine View & Defense

    Tabletop Exercise & Runbook

    Run one deterministic fictional representation-layer exercise, reveal bounded injects, record categorized decisions, preserve evidence requirements, identify missing authority, and export a non-scoring runbook.

    Human view
    Fictional staged incident record
    Receiver
    Human exercise team and deterministic local runbook builder
    Robustness
    Stable for the same release and selections
    Open laboratory
    Machine View & Defense

    Control-to-Evidence Matrix

    Map one system profile across thirteen source-bound controls, nine maturity dimensions, six independent evidence states, existing local fixtures and laboratories, organizational evidence, and exact external-verification authorities.

    Human view
    Request-local evidence plan
    Receiver
    Human control owner and deterministic local plan builder
    Robustness
    Stable for the same release, profile, objective, and evidence selections
    Open laboratory
    Dedicated tools

    Controlled AI Tests

    Controlled AI Tests

    Controlled Instruction Uptake

    Create fixed-marker carriers, inspect extraction separately from uptake, and copy an analysis-first prompt for an authorized AI test environment.

    Human view
    Carrier-dependent
    Receiver
    Authorized parser and model under test
    Robustness
    Measured per pipeline
    Open laboratory
    Controlled AI Tests

    Retrieval Simulator

    Rank a small local corpus, show retrieved documents and metadata, assemble model context, and locate a fixed benign marker.

    Human view
    Retrieved context may be hidden from user
    Receiver
    Retriever plus downstream model
    Robustness
    Query- and chunk-dependent
    Open laboratory
    Controlled AI Tests

    Agent Trust Simulator

    Compare deterministic application-layer outcomes for source labelling, instruction/data separation, tool allowlisting, human confirmation, egress filtering, and bounded memory using a fixed harmless marker.

    Human view
    Retrieved evidence and proposed action
    Receiver
    Deterministic local policy simulator
    Robustness
    Control-configuration specific
    Open laboratory
    One field · several witnesses

    Do not reduce Machine Tradecraft to a collection of encoders.

    The recurring workflow is to preserve one artifact and compare its human, rendered, structural, metadata, Unicode, token, and decoder views before deciding what an AI should receive.