The material a security review usually asks for, generated from the code instead of written by hand: a CycloneDX SBOM per package, provenance, a permission matrix of every MCP tool, the CLI and the Gateway, and the results of the no-network and isolation tests.
What it is not
- Not a certification. Sırdaş holds no ISO/IEC 27001 certification and no SOC 2 report. Sırdaş applies controls from ISO/IEC 27002 and OWASP ASVS, which is a different thing.
- Not an audit. No third party produced or reviewed it.
- Not a packet capture. The egress tests cut networking inside Node.js; they say nothing about what an MCP client, the operating system or another program does with the data.
The pack says this in its first section, before any result.
Generate it
npm ci && npm run build:packages
node scripts/evidence-pack.mjs --out evidence
node scripts/evidence-pack.mjs --online --bundle sirdas-offline --out evidence # npm provenance + exact tree
| Option | What it does |
|---|---|
| (none) | Uses no network. Takes about 8 s, including the test suites. |
--online | Asks npm, for each published version, about provenance attestations, registry signatures, publish time and gitHead, and whether the offline bundle's tarballs are the published ones. Offline, the pack says "not checked". |
--bundle <dir> | Builds the SBOMs from an offline bundle's lockfile: the exact tree that bundle installs. Without it, the SBOMs come from the repository's lockfile, the tree the release tests ran against. |
--skip-tests | Leaves out the test suites (the other checks still run). |
The script exits with 1 if any check fails.
Contents
| File | What is in it |
|---|---|
README.md | Summary table, then each section; "What this is not" comes first |
sbom/<package>.cdx.json | CycloneDX 1.5 for @sirdaspdf/core, @sirdaspdf/mcp, sirdas and @sirdaspdf/gateway: every production dependency with purl, license, hash and dependency graph |
provenance.json | Repository commit, the release workflow and whether it publishes with --provenance, release tags, and with --online what npm reports |
permissions/mcp-tools.json | Every tool from the server's own tools/list: annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint), whether it writes files, dry_run, the overwrite default, and whether it is still listed with SIRDAS_READ_ONLY=1 |
permissions/cli.json | Each sirdas command, whether it takes an output option, and the one that can use the network |
permissions/gateway.json | The Gateway's routes, its listener, its default upstream hosts and what it refuses |
egress/selfcheck.json | sirdas comprobar --json with networking cut off, with its fingerprint |
egress/mcp-no-network.json | The MCP server started with every Node network API made to throw, then called on a synthetic PDF: reading, anonymizing, context, a merge that writes and a dry_run merge that must not |
egress/gateway.json | The Gateway handler with a fetch that records instead of sending: unknown routes are not forwarded, only the configured host is contacted, a synthetic SSN and email are absent from what is forwarded and restored in the answer |
egress/static-scan.json | Every network call site in the JavaScript the packages publish, each with its reason; anything unexplained fails the pack |
egress/tests-*.tap | The no-network suites of the MCP server and the Gateway's tests, in TAP |
evidence.json, SHA256SUMS | Everything above as JSON, and the sha256 of every file |
No file of the pack contains the synthetic documents' text: only statuses, counts and hashes.
What it showed for the current release
- 0 of the MCP server's tools declare
openWorldHint: true; every tool that writes files hasdry_runand is hidden bySIRDAS_READ_ONLY=1. - Three network call sites in the published code: the OCR model download (only
sirdas ocr --download-models), the Gateway's forward to its configured upstream, and the Gateway's own listener on127.0.0.1. - The npm packages are published without npm provenance attestations: npm accepts provenance only from public repositories and the Sırdaş repository is private. They do carry the registry's own signatures. Building an offline bundle with
--from-npmand running--online --bundleconfirms that the bundle's tarballs are the ones on npm. - The SBOM is generated by walking the lockfile with Node's resolution rules.
npm sbom -wwas not used: in this monorepo it listed an optional peer dependency the package never installs and missedpdf-libandzod.
How to use it in a review
Regenerate it yourself rather than trusting a copy, compare the sirdas comprobar fingerprint with the one from your own install, and read the permission matrix next to your MCP client's approval settings. A finding that matters to your review and is not covered here is a gap to ask about, not something the pack answers.