# Package X-Ray

What Foundry checks in every Marketplace release file, what the Package X-Ray summary tells buyers, and how sellers fix files that don't pass inspection.

Package X-Ray is Foundry's automated inspection of every Marketplace release file, and the summary of each file that buyers see on the product page. Nothing in a package is ever run.

## What Gets Checked

A release file stays private until its inspection passes. Inspection reads files as data:

- A file's contents must match its filename format and declared type, and text source files must be valid UTF-8. Images are fully decoded.
- Each file's SHA-256 hash is compared with known-threat data.
- ZIP archives are opened within fixed limits: up to four levels of nested ZIPs, up to 10,000 entries, and a limit on expanded size. Archives with path traversal, duplicate entries, links, or encrypted or damaged entries don't pass.
- Some content needs a person to review it before the file can be used: encoded execution, remote-shell commands, active content in SVG, Office or PDF files, encrypted PDFs, archive formats that can't be opened, and executables carrying extra embedded data. A review result means the file needs a closer look. It doesn't mean the file contains malware.

JavaScript, HTML, CSS and JSON files are allowed.

> [!NOTE]
> Package X-Ray is a static summary and doesn't certify a file the way antivirus software does. Its threat data is a limited research set, so a file with no match could still be unsafe. Review a package before you run it, and report anything suspicious from its listing.

## What Buyers See

On a product page, open the **Deliverables** tab, or choose **Package X-Ray inspected** in the purchase panel. When a release has several files, pick one to see its card:

| Section | What it shows |
| --- | --- |
| Source Readability | Readable source, mixed source and binaries, compiled binaries only, or media and non-code assets, with file counts by extension. It notes when obfuscated or heavily minified code was found. |
| Network Footprint | The public hostnames named in http, https and wss URLs in the package. |
| System Touchpoints | Whether the code refers to shell execution, filesystem writes, system or registry configuration, or environment and credential paths. |
| Cryptographic Integrity | The file's SHA-256 checksum. Choose **Copy SHA-256** to check your download against it. |
| Publisher Trust | Whether the creator is a Verified Creator and has [Proofline](https://joinfoundry.xyz/help/foundry/security-and-trust#proofline), and how many products they've shipped on Foundry. |

The card reports counts, categories and hostnames only. It never shows the seller's code, file contents, or the names and paths inside the package.

Text is read up to the first 512 KB of each file and 20 MB per inspection. When some text went unread, the card says Partial scan, and the network, touchpoint and obfuscation results cover only the text that was read. For a file published before Package X-Ray existed, the card may say its summary is generating; refresh in a moment.

## Files and README Preview

For a ZIP package, the seller can choose to show its contents before purchase. Buyers then see the package's file count, unpacked size and file types, and can choose **Inspect Files & README** to read its README and the full file list. The preview comes from the latest published release, and no other file contents are shown.

After you get a product, **Explore Contents** in [Your Library](https://joinfoundry.xyz/workspace/library) lets you browse a ZIP package file by file before downloading it.

## Inspection Results for Sellers

Each file in your release shows its inspection status:

| Status | What to do |
| --- | --- |
| Awaiting Inspection or Inspecting File | Nothing yet. The upload is saved and private while the checks run. |
| Inspection Passed | The file can be published. This isn't a guarantee that it's safe. |
| Inspection Failed | The checks couldn't finish. Your upload is saved. Choose **Retry Inspection** on the release or in [My Files](https://joinfoundry.xyz/workspace/files). |
| File Rejected | The contents don't match the file's format. Upload a corrected file. |
| Review Required | Contact Foundry support with the file name. Retrying doesn't clear it, and Foundry may ask you for corrected content. |
| Threat Detected | The file matches known-threat data and can't be used or downloaded. Retrying doesn't clear it. |

There's no way to bypass a review or threat result. Choose **Remove from Draft** on the blocked file and upload a corrected one.

## Reading Your Summary

Your Package X-Ray appears on your product page once the release is published. Hostnames, system touchpoints and the obfuscation note describe your package; they aren't failures and don't block publishing. If one appears that you don't expect, check the files you packaged, remove anything that shouldn't ship, and publish a new release. Each new release file gets its own summary.

To show a ZIP package's file list and README before purchase, check **Show files & README in Package X-Ray before download** on the file after it passes inspection. Foundry shows up to 64 KB from a README in the archive root or its single top-level folder.

See [Selling and Storefronts](https://joinfoundry.xyz/help/foundry/selling-and-storefronts#upload-releases) for the rest of the release steps.
