ContextSutra AI

Self-audit

ContextSutra audit: PASS

47 of 47 checks passed. Self-audit of the ContextSutra package: redaction, injection quarantine, integrity, drift, server, supply chain, skills and legal files. It audits the tool, not your repository.

contextsutra@0.2.0 · Node v24.15.0 · win32

Summary by category

Redaction accuracy

6/6checks passed

Prompt injection

3/3checks passed

Integrity

6/6checks passed

Freshness

5/5checks passed

Path safety

2/2checks passed

Review gate

4/4checks passed

Server

5/5checks passed

Supply chain

6/6checks passed

Skills

5/5checks passed

Legal

5/5checks passed

All checks

Every check with expected and observed value. Result is text plus symbol.
IDCategoryCheckExpectedObservedResult
P1Redaction accuracyKnown-answer table (21 lines)
all rows matched ground truth
0 wrong0 wrong PASS
P2Redaction accuracyMissed secrets (false negatives)00 PASS
P3Redaction accuracyWrongly redacted prose (false positives)00 PASS
P4Redaction accuracyMulti-line private key body is dropped, text after it keptno key body, "After key text." keptok PASS
P5Redaction accuracySecret files and private directories never enter a capsuleno marker, 1 file seenclean, 1 file PASS
P6Redaction accuracySensitive file-name rulesall blockedchecked PASS
I1Prompt injectionInjection-phrase table (5 lines)
all rows matched
0 wrong0 PASS
I2Prompt injectionInstruction-like repository line is quarantined, not renderedabsent from capsule and render; countedabsent, 1 quarantined PASS
I3Prompt injectionRendered context carries the untrusted-data boundarySECURITY BOUNDARY presentpresent PASS
D1IntegrityTwo scans of the same tree are byte-identicalequalequal PASS
D2IntegrityCapsule validatesvalidvalid PASS
D3IntegrityTampering with any field is detectedinvalidinvalid PASS
D4IntegrityDigest ignores JSON key orderequalequal PASS
D5IntegrityIntegrity block states it is not a signaturesigned:falsesigned:false PASS
D6IntegrityMalformed inputs are rejected without crashingall invalidall invalid PASS
F1FreshnessUntouched tree is CURRENTCURRENTCURRENT PASS
F2FreshnessEdited source is STALESTALESTALE PASS
F3FreshnessRemoved source is MISSING_OR_BLOCKEDMISSING_OR_BLOCKEDMISSING_OR_BLOCKED PASS
F4FreshnessNewly added document is reported as driftAGENTS.md listedAGENTS.md PASS
F5Freshnessdiff reports added, removed and changed exactlyadded AGENTS.md; removed TODO.md; changed README.mdadded AGENTS.md; removed TODO.md; changed README.md PASS
X1Path safetyTraversal and absolute paths are refusedall refusedchecked PASS
X2Path safetySymlinked source is refusedblocked (or skipped where symlinks are not permitted)skipped (symlink creation not permitted) PASS
G1Review gateGate never certifies a capsule safeHUMAN_REVIEW_REQUIRED or BLOCKHUMAN_REVIEW_REQUIRED PASS
G2Review gateResidual secret in a capsule triggers BLOCKBLOCKBLOCK PASS
G3Review gateConflicting package managers are surfaced for a humanpackage-manager conflictpackage-manager PASS
G4Review gateApproval claimed only for explicit accepted statusonly 0002 approved0002-y.md PASS
V1ServerBinds to loopback only127.0.0.1127.0.0.1 PASS
V2ServerCapsule needs a bearer token401 without, 200 with401, 200 PASS
V3ServerNon-GET methods are refused405405 PASS
V4ServerForeign Host header is refused (DNS-rebinding guard)403403 PASS
V5ServerShort tokens are rejected at start-uprejectedrejected PASS
S1Supply chainSecret scan over 106 text files (code only; docs and fixtures excluded)0 files0 PASS
S2Supply chainNo outbound-network, process-spawn or dynamic-code APIs in 8 source files0 hits0 PASS
S3Supply chainOnly the loopback server touches node:http; no client requests in product code0 client calls0 PASS
S4Supply chainZero runtime dependencies00 PASS
S5Supply chainNo install-time lifecycle scripts00 PASS
S6Supply chainHTML report escapes hostile repository textno raw <imgescaped PASS
K1SkillsTwelve specialist skills present1212 PASS
K2SkillsValid frontmatter (name = folder, description present)0 invalid0 PASS
K3SkillsEach skill has objective, trigger, procedure, prohibitions, contract, worked example, failure and fixture sections0 missing0 PASS
K4SkillsEvery skill has a distinct procedure (no copied template)12 distinct12 PASS
K5SkillsSkills call only commands that exist, via the published `contextsutra` CLI0 bad0 PASS
L1LegalApache-2.0 LICENSE text presentApache License, Version 2.0yes PASS
L2Legalpackage.json license is Apache-2.0Apache-2.0Apache-2.0 PASS
L3LegalNOTICE and THIRD_PARTY_NOTICES presentbothtrue/true PASS
L4LegalSECURITY, CONTRIBUTING, CODE_OF_CONDUCT, CHANGELOG, SUPPORT presentallchecked PASS
L5LegalNo forbidden marketing claims (guarantees, universal support, certification)0 files0 PASS

Limits of this audit

Reproduce

npx contextsutra audit --out audit