@rebilder/render-md 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -7
package/README.md CHANGED
@@ -121,7 +121,7 @@ Nothing clears the bar today. The closest call is `article` (normalised author/p
121
121
 
122
122
  **A snapshot is not a source of truth.** `DocumentSource.provenance` is set by hosted extraction only. When present, the gateway refuses to serve the document past `ttlSeconds` and falls through to HTML, and a scheduled recrawl auto-unpublishes on content drift. Without that, a merchant changes their hours and agents keep receiving the approved bundle — different substance to agents and humans at the same URL, which is a Hard Rule 3 breach manufactured by our own pipeline. This package renders `provenance` documents like any other; **enforcement is the gateway's job**, and shipping extraction without it is not permitted.
123
123
 
124
- **Prompt injection.** `DocumentSectionSource.body` is untrusted third-party prose delivered inside our structured envelope. A merchant page — or anything a merchant's CMS lets a third party publish — can contain text addressed to the agent reading it. We do not sanitise it, because rewriting merchant prose is exactly what this package must never do; we render it verbatim and it stays the consuming agent's responsibility to treat page content as data, not instructions. Tracked in ROADMAP § Standing Risks as "Agent prompt injection via merchant page prose".
124
+ **Prompt injection.** `DocumentSectionSource.body` is untrusted third-party prose delivered inside our structured envelope. A merchant page — or anything a merchant's CMS lets a third party publish — can contain text addressed to the agent reading it. We do not sanitise it, because rewriting merchant prose is exactly what this package must never do; we render it verbatim and it stays the consuming agent's responsibility to treat page content as data, not instructions. This is a known and deliberate boundary, not an oversight.
125
125
 
126
126
  **PII.** `ContactSource`, combined with `kind: 'profile'` or `'job'`, makes it trivial to serve named individuals' contact details in bulk and in a machine-readable form. The merchant is the data controller. `render-md` must not be used to expose contact data that is not already public on the canonical page — mirroring ARCHITECTURE § Security.
127
127
 
package/package.json CHANGED
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "@rebilder/render-md",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "description": "Source-of-truth to markdown/JSON-LD renderer for commerce pages (PDP, policies, catalog). Pure format transformation: every substantive value is injected from the source object.",
6
6
  "license": "Apache-2.0",
7
7
  "homepage": "https://rebilder.com",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/mummlabs/mumm.git",
11
- "directory": "packages/render-md"
12
- },
13
8
  "bugs": {
14
- "url": "https://github.com/mummlabs/mumm/issues"
9
+ "url": "https://rebilder.com/help",
10
+ "email": "support@rebilder.com"
15
11
  },
16
12
  "keywords": [
17
13
  "markdown",