[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73DRZWBXZJ59N22FCPY2G2X":3,"skill-same:01M73DRZWBXZJ59N22FCPY2G2X":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M73DRZWBXZJ59N22FCPY2G2X","merkle-mountain-ranges",null,"Implement append-only cryptographic audit logs using Merkle Mountain Ranges (MMR). Any tampering with historical entries causes immediate root hash drift. Integrates with YAMTAM secure-logger.js for agent action immutability.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fmerkle-mountain-ranges\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: merkle-mountain-ranges\ndescription: Implement append-only cryptographic audit logs using Merkle Mountain Ranges (MMR). Any tampering with historical entries causes immediate root hash drift. Integrates with YAMTAM secure-logger.js for agent action immutability.\norigin: MMR spec (Peter Todd), merkletreejs (MIT), YAMTAM Engine secure-logger design\nlicense: Apache-2.0\nversion: 1.0.0\ncompatibility: claude-sonnet-4-6, claude-opus-4-7\n---\n\n# Merkle Mountain Ranges (Append-Only Audit Log)\n\nUnlike flat log files, a Merkle Mountain Range lets you prove that any historical entry hasn't been modified — without scanning the entire log. Tampering changes the root hash instantly.\n\n## When to Use\n\n- Building tamper-evident audit logs for agent actions (who did what, when)\n- Proving to an auditor that a log has not been modified since a given timestamp\n- Implementing WORM (Write Once, Read Many) storage semantics in software\n- Providing cryptographic chain of custody across 87 agent sessions\n\n## Do NOT use for\n\n- Real-time streaming logs where sub-millisecond latency is required (use structured logging + async flush)\n- Secret data storage (MMR proves integrity, not confidentiality — encrypt first)\n\n## How MMR Differs from a Simple Merkle Tree\n\n```\nSimple Merkle Tree — fixed, must rebuild entire tree to add leaf\nMMR — grow by appending peaks, O(log n) update per new leaf\n\nMMR structure for 7 leaves:\n   Peak3\n   \u002F   \\\n Pk2   Pk1  L7\n \u002F \\   \u002F \\\nL1  L2 L3  L4  L5  L6\n```\n\nAdding leaf 8: merge L7+L8 → new peak, merge with Pk1 → new Pk2, etc.\n\n## YAMTAM Usage\n\n```js\nimport { SecureAuditLogger } from 'core\u002Fmemory\u002Fsecure-logger.js';\n\nconst logger = new SecureAuditLogger('releases\u002Flogs\u002Faudit.jsonl');\n\n\u002F\u002F Log an action — appends leaf to MMR, writes root hash\nconst { leaf, root } = logger.logAction('agent-42', 'bash:git-status', 'PASS');\nconsole.log(`Leaf: ${leaf.slice(0,16)}… Root: ${root.slice(0,16)}…`);\n\n\u002F\u002F Verify entire log integrity\nconst result = logger.verify();\n\u002F\u002F throws SecureLogTamperError if any entry was modified\nconsole.log(`Verified ${result.entryCount} entries. Root: ${result.root}`);\n```\n\n## Manual MMR (Pure Node.js)\n\n```js\nimport { createHash } from 'crypto';\n\nfunction sha256(data) {\n  return createHash('sha256').update(data).digest('hex');\n}\n\nfunction merkleRoot(leaves) {\n  if (leaves.length === 0) return sha256('EMPTY');\n  let layer = [...leaves];\n  while (layer.length > 1) {\n    const next = [];\n    for (let i = 0; i \u003C layer.length; i += 2) {\n      next.push(sha256(layer[i] + (layer[i+1] ?? layer[i])));\n    }\n    layer = next;\n  }\n  return layer[0];\n}\n\n\u002F\u002F Add entries incrementally\nconst leaves = [];\nfunction append(entry) {\n  leaves.push(sha256(JSON.stringify(entry)));\n  return merkleRoot(leaves);  \u002F\u002F new root after append\n}\n```\n\n## Tamper Detection\n\n```js\n\u002F\u002F Simulate tampering: modify line 3 of log file\n\u002F\u002F → logger.verify() will throw:\n\u002F\u002F SecureLogTamperError: ROOT HASH DRIFT — stored: a3f8... computed: 7c21...\n\ntry {\n  logger.verify();\n} catch (e) {\n  if (e.name === 'SecureLogTamperError') {\n    \u002F\u002F Freeze swarm, alert SIEM, begin forensic recovery\n    swarmRouter.quarantine('all', 'LOG_TAMPER_DETECTED');\n  }\n}\n```\n\n## HMAC-Signed Entries\n\nEach log entry includes an HMAC-SHA256 signature keyed by `YAMTAM_LOG_SECRET`:\n```json\n{\n  \"ts\": \"2026-05-23T10:00:00.000Z\",\n  \"agentId\": \"agent-42\",\n  \"command\": \"bash:ls\",\n  \"status\": \"PASS\",\n  \"leaf\": \"3f8a2b91...\",\n  \"root\": \"7c21d4e9...\",\n  \"hmac\": \"a1b2c3d4...\"\n}\n```\n\n## Anti-Fake-Pass Checklist\n\n- [ ] `logger.verify()` called after every 100 entries minimum\n- [ ] Root hash stored in a separate file (`audit.jsonl.root`) — not in the log itself\n- [ ] HMAC secret is NOT the default (`yamtam-default-secret`) in production\n- [ ] Tamper test: manually edit one log line → `verify()` should throw\n- [ ] Log file opened with `flag: 'a'` (append) — never truncate or seek\n","# Merkle Mountain Ranges (Append-Only Audit Log)\n\nUnlike flat log files, a Merkle Mountain Range lets you prove that any historical entry hasn't been modified — without scanning the entire log. Tampering changes the root hash instantly.\n\n## When to Use\n\n- Building tamper-evident audit logs for agent actions (who did what, when)\n- Proving to an auditor that a log has not been modified since a given timestamp\n- Implementing WORM (Write Once, Read Many) storage semantics in software\n- Providing cryptographic chain of custody across 87 agent sessions\n\n## Do NOT use for\n\n- Real-time streaming logs where sub-millisecond latency is required (use structured logging + async flush)\n- Secret data storage (MMR proves integrity, not confidentiality — encrypt first)\n\n## How MMR Differs from a Simple Merkle Tree\n\n```\nSimple Merkle Tree — fixed, must rebuild entire tree to add leaf\nMMR — grow by appending peaks, O(log n) update per new leaf\n\nMMR structure for 7 leaves:\n   Peak3\n   \u002F   \\\n Pk2   Pk1  L7\n \u002F \\   \u002F \\\nL1  L2 L3  L4  L5  L6\n```\n\nAdding leaf 8: merge L7+L8 → new peak, merge with Pk1 → new Pk2, etc.\n\n## YAMTAM Usage\n\n```js\nimport { SecureAuditLogger } from 'core\u002Fmemory\u002Fsecure-logger.js';\n\nconst logger = new SecureAuditLogger('releases\u002Flogs\u002Faudit.jsonl');\n\n\u002F\u002F Log an action — appends leaf to MMR, writes root hash\nconst { leaf, root } = logger.logAction('agent-42', 'bash:git-status', 'PASS');\nconsole.log(`Leaf: ${leaf.slice(0,16)}… Root: ${root.slice(0,16)}…`);\n\n\u002F\u002F Verify entire log integrity\nconst result = logger.verify();\n\u002F\u002F throws SecureLogTamperError if any entry was modified\nconsole.log(`Verified ${result.entryCount} entries. Root: ${result.root}`);\n```\n\n## Manual MMR (Pure Node.js)\n\n```js\nimport { createHash } from 'crypto';\n\nfunction sha256(data) {\n  return createHash('sha256').update(data).digest('hex');\n}\n\nfunction merkleRoot(leaves) {\n  if (leaves.length === 0) return sha256('EMPTY');\n  let layer = [...leaves];\n  while (layer.length > 1) {\n    const next = [];\n    for (let i = 0; i \u003C layer.length; i += 2) {\n      next.push(sha256(layer[i] + (layer[i+1] ?? layer[i])));\n    }\n    layer = next;\n  }\n  return layer[0];\n}\n\n\u002F\u002F Add entries incrementally\nconst leaves = [];\nfunction append(entry) {\n  leaves.push(sha256(JSON.stringify(entry)));\n  return merkleRoot(leaves);  \u002F\u002F new root after append\n}\n```\n\n## Tamper Detection\n\n```js\n\u002F\u002F Simulate tampering: modify line 3 of log file\n\u002F\u002F → logger.verify() will throw:\n\u002F\u002F SecureLogTamperError: ROOT HASH DRIFT — stored: a3f8... computed: 7c21...\n\ntry {\n  logger.verify();\n} catch (e) {\n  if (e.name === 'SecureLogTamperError') {\n    \u002F\u002F Freeze swarm, alert SIEM, begin forensic recovery\n    swarmRouter.quarantine('all', 'LOG_TAMPER_DETECTED');\n  }\n}\n```\n\n## HMAC-Signed Entries\n\nEach log entry includes an HMAC-SHA256 signature keyed by `YAMTAM_LOG_SECRET`:\n```json\n{\n  \"ts\": \"2026-05-23T10:00:00.000Z\",\n  \"agentId\": \"agent-42\",\n  \"command\": \"bash:ls\",\n  \"status\": \"PASS\",\n  \"leaf\": \"3f8a2b91...\",\n  \"root\": \"7c21d4e9...\",\n  \"hmac\": \"a1b2c3d4...\"\n}\n```\n\n## Anti-Fake-Pass Checklist\n\n- [ ] `logger.verify()` called after every 100 entries minimum\n- [ ] Root hash stored in a separate file (`audit.jsonl.root`) — not in the log itself\n- [ ] HMAC secret is NOT the default (`yamtam-default-secret`) in production\n- [ ] Tamper test: manually edit one log line → `verify()` should throw\n- [ ] Log file opened with `flag: 'a'` (append) — never truncate or seek\n",{"name":5,"origin":24,"license":15,"version":25,"description":7,"compatibility":26},"MMR spec (Peter Todd), merkletreejs (MIT), YAMTAM Engine secure-logger design","1.0.0","claude-sonnet-4-6, claude-opus-4-7","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fmerkle-mountain-ranges",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill merkle-mountain-ranges",{"tool":43,"command":44},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill merkle-mountain-ranges",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill merkle-mountain-ranges","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fmerkle-mountain-ranges\u002FSKILL.md",true,[],[52,60,67,75,83,91],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]