Skip to main content
← Safety

CanaryScan

PSA Intelligence
Open source Local Some axes open Slowing Checked 2026-11-06

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

Upstream slowing
In one line

PSA Intelligence's open-source command-line checker: before you or your agent open an…

How you use it

Local / self-hosted · CLI

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Not checked · Not checked

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The official text does not list "prompt-injection text detection" as a channel; the link to the indirect-injection attack surface is this site's reading, not an official statement
  • The complete set of supported file formats (the documentation index only gives a "various formats" level statement)
  • The concrete criteria behind the severity levels (critical down to info)
  • Formal telemetry and network-isolation terms (only the "offline" wording was available today)
  • Whether historical baselines / cross-run comparison exist
  • Integration with agent runtimes (MCP or other extensions)
  • Mainland direct reachability and filing status (recorded as unknown in the cn block)

PSA Intelligence's open-source command-line checker: before you or your agent open an external document set, it statically finds canaries, trackers, remote beacons and per-recipient fingerprints. It is not a model I/O guardrail or a prompt-injection classifier; it is pre-contact anti-tracking screening.

When to use it, when not to

Fit: a first static check when taking over leaked files, legal disclosure or investigation material, and batch rechecks in a pipeline. Not fit: understanding whether natural-language instructions were tampered with, or real-time interception of model input and output; the official text captured on 2026-11-06 describes its surface as analysis of file structure, metadata, embedded objects and near-duplicate fingerprints.

China availability domestic / direct access / CAC filing · snapshot 2026-11-06

Origin
foreign-made PSA Intelligence (the GitHub organisation profile lists Singapore as location); not a domestic product.
Direct access
direct unknown Only general-network reachability of GitHub / docs site / PyPI was checked today; no mainland direct-access test was run.
CAC filing
filing unknown:The CAC public registry was not searched on the verification day, so filing status has no official basis; the product does not serve the mainland public.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

Neither the README nor the documentation index reached today treats "whose model" as a configuration item: detection is described as static analysis of raw file structure, metadata, embedded objects and near-duplicate fingerprints. The documentation index states, as of the verification day, offline operation with no LLM and no API key involved. Whether any stage ever consults a model is not stated officially.

Where it runs

A local command-line tool with two documented installs: pipx install canary-scan (the README expects you to provide system tools such as exiftool, qpdf, poppler-utils, mupdf-tools, ripgrep, unzip and p7zip) and the container image ghcr.io/psaintelligence/canary-scan:latest, which the README recommends because the image bundles those system tools. PyPI metadata measured today requires Python 3.10 or newer.

Local files

Reading the file set you supply is the core action: the Docker example mounts the data source read-only (-v /mnt/datasource:/data:ro) and writes results to a separate output directory. The README states inspection happens without opening a file in its native viewer, deliberately avoiding remote references that documents may contain. Per-stage artefacts land in .canary-scan/.

Tasks after shutdown

A batch command run per invocation, not a resident service. No daemon, task queue or incremental-watch mode is stated officially; periodic re-scans have to be scheduled by you.

Tools & extensions

The command surface listed by the documentation index for the day is scan, stage, report and deps, plus --guide for a cheat sheet. Reporting is JSON (the example filters severity=="critical" with jq), so it drops straight into scripts and pipelines. The seven-stage pipeline is inventory, metadata, remote-refs, embedded, stego, uniqueness and report, each writing one JSONL artefact. MCP or other extension points are not stated officially.

Context & memory

Each scan is self-contained; there is no session memory. Cross-file linkage comes from the uniqueness stage's near-duplicate fingerprints and the stage artefacts. Historical baselines, cross-run comparison stores and retention policy are not stated officially.

Permissions & limits

Licensed Apache-2.0, with BSD 2-Clause for bundled scripts (see the license field). On data flow: the README and documentation index captured today declare no telemetry, no reporting and no external service calls, with "offline" being the wording given by the documentation index; a formal network-isolation clause is not published. On the supply chain, the official text says third-party Python dependencies are pinned with uv's exclude-newer to releases no newer than 14 days, and the bundled scripts are fixed at build time via make vendor with provenance recorded.

Best for

Fits a static pre-flight over externally supplied document sets (leaks, legal disclosures, investigation material) to find anything that could reveal to the external party that the data source is being examined — tracking pixels, remote templates, beacons, per-recipient fingerprints. Does not fit judgement calls about tampered natural-language instructions, nor runtime interception of model input/output: the official text positions it as pre-contact document inspection, not a model-I/O guardrail.

Licence and terms of use

Apache-2.0 (per the README License section, the LICENSE file and the PyPI classifier). The README also states the bundled third-party scripts pdfid, pdf-parser and rtfdump are BSD 2-Clause, with provenance recorded in src/canary_scan/bundled/VERSIONS.txt. Open source, with no model or API key required.

Top misconception

  • 把它当提示注入文本分类器。官方正文列的是 canary、追踪器、信标与指纹四类静态信号
  • 以为 pipx 装完就能跑。解析依赖 apt 层的 exiftool、qpdf、poppler 等系统工具
  • 以为扫描会打开文件确认效果:官方设计恰恰是不用原生查看器打开,以免触发远程引用

Evidence sources

Checked 2026-11-06,Content updated 2026-11-06。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
changelogCanaryScan · Releases (v0.2.0, 2026-07-20; v0.1.1 to v0.1.4 all on 2026-06-26)https://github.com/psaintelligence/canary-scan/releases
docsCanaryScan · official documentation site (command surface and seven-stage pipeline)https://psaintelligence.github.io/canary-scan/
repoCanaryScan · repository README (Docker / pipx usage and supply-chain terms)https://github.com/psaintelligence/canary-scan
docsCanaryScan · official LICENSE (Apache-2.0, bundled scripts additionally BSD 2-Clause)https://github.com/psaintelligence/canary-scan/blob/main/LICENSE
docsPyPI · canary-scan (0.2.0; requires_python 3.10 or newer)https://pypi.org/project/canary-scan/

Test notes

This site has not run end-to-end tests: no scan was executed, no stage output structure was verified, and the failure behaviour with missing system dependencies was not observed. The page only organises the official README, the documentation-site index, the LICENSE and PyPI metadata, all fetched 2026-11-06.

Official command surface and pipeline

Usage points given by the README and docs index (2026-11-06):

  • Container: docker run --rm -v /mnt/datasource:/data:ro -v $(pwd)/canary-scan-out:/output ghcr.io/psaintelligence/canary-scan:latest scan /data -o /output
  • Host: pipx install canary-scan, then install libimage-exiftool-perl qpdf poppler-utils mupdf-tools ripgrep unzip p7zip-full, then canary-scan scan /mnt/datasource
  • Subcommands: scan / stage / report / deps; --guide prints a cheat sheet
  • Seven stages: inventory → metadata → remote-refs → embedded → stego → uniqueness → report, each writing one JSONL file into .canary-scan/
  • Report: canary-scan-out/canary-scan-report.json; the example filters severity=="critical" with jq

Supply-chain terms (key points of the official README): third-party Python dependencies are pinned to releases no newer than 14 days via uv's exclude-newer; the Didier Stevens scripts are fixed at build time with make vendor, with commit SHA, version and date recorded in src/canary_scan/bundled/VERSIONS.txt.

Maintenance status

The repository is not archived. GitHub shows the last push and the newest release (v0.2.0) both on 2026-07-20, i.e. more than 90 days before this verification, and the whole release history sits inside the two weeks from 2026-06-26 to 2026-07-20. The entry therefore records lifecycle maintenance with confidence capped at partial: the cadence reading is a snapshot, not an official statement of discontinuation.

Related entries

  • LLM GuardSame line: LLM Guard (in red-teaming and injection scanning); this entry states only what its own official sources support.
  • RebuffSame line: Rebuff (in red-teaming and injection scanning); this entry states only what its own official sources support.
  • garakSame line: garak (in red-teaming and injection scanning); this entry states only what its own official sources support.
  • OpenAI Agents SDKOther layer · Frameworks & runtimes

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
garakLocal / self-hostedOpen licence8 questions checked
Active
garak is an LLM probe scanner that runs in your own terminal (NVIDIA and
InspectLocal / self-hostedOpen licence8 questions checked
Active
Inspect is an open evaluation framework from the UK AI Security Institut
promptfooLocal / self-hostedOpen licence8 questions checked
Active
promptfoo is an evaluation and red-team tool in the terminal. Officially

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.