Skip to content
Sırdaş

Security evidence pack

SBOM, provenance, permission matrix and no-network tests. Not a certification.

For your AI agent

Paste this into Claude, ChatGPT or Cursor and the agent installs and configures itself by reading the Markdown version of this page.

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
OptionWhat it does
(none)Uses no network. Takes about 8 s, including the test suites.
--onlineAsks 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-testsLeaves out the test suites (the other checks still run).

The script exits with 1 if any check fails.

Contents

FileWhat is in it
README.mdSummary table, then each section; "What this is not" comes first
sbom/<package>.cdx.jsonCycloneDX 1.5 for @sirdaspdf/core, @sirdaspdf/mcp, sirdas and @sirdaspdf/gateway: every production dependency with purl, license, hash and dependency graph
provenance.jsonRepository commit, the release workflow and whether it publishes with --provenance, release tags, and with --online what npm reports
permissions/mcp-tools.jsonEvery 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.jsonEach sirdas command, whether it takes an output option, and the one that can use the network
permissions/gateway.jsonThe Gateway's routes, its listener, its default upstream hosts and what it refuses
egress/selfcheck.jsonsirdas comprobar --json with networking cut off, with its fingerprint
egress/mcp-no-network.jsonThe 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.jsonThe 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.jsonEvery network call site in the JavaScript the packages publish, each with its reason; anything unexplained fails the pack
egress/tests-*.tapThe no-network suites of the MCP server and the Gateway's tests, in TAP
evidence.json, SHA256SUMSEverything 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 has dry_run and is hidden by SIRDAS_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 on 127.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-npm and running --online --bundle confirms 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 -w was not used: in this monorepo it listed an optional peer dependency the package never installs and missed pdf-lib and zod.

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.