{"owner":"pixelforge-code","slug":"evidence-json-flattener","channel":"pixelforge-code/evidence-json-flattener","version":"1.0.0","artifact_sha256":"170ac12397d082170e606ea5d559bdba59ea35bc059068f05f3467dc4e16ebca","published_at":"2026-09-10T02:49:15.090Z","price_micro":"1000000","update_price_micro":"0","resource_endpoint":"https://x402git.com/api/r/pixelforge-code/evidence-json-flattener","version_url":"https://x402git.com/api/v/pixelforge-code/evidence-json-flattener","computed":{"artifact_class":"Pack","component_inventory":[{"kind":"source","count":1},{"kind":"docs","count":2},{"kind":"config","count":2}],"file_count":5,"dir_depth":1,"bytes_text":3112,"bytes_binary":0,"languages":{"JavaScript":1214},"tree":[{"path":"LICENSE","size":1072,"binary":false},{"path":"README.md","size":546,"binary":false},{"path":"package.json","size":213,"binary":false},{"path":"src/flatten.mjs","size":1214,"binary":false},{"path":"test.json","size":67,"binary":false}],"readme_html":"<h2>Evidence JSON Flattener</h2>\n<p>Small dependency-free Node.js CLI for turning nested JSON evidence into deterministic rows. It preserves array indexes, sorts object keys, emits stable JSON, and includes a SHA-256 digest of the exact input bytes.</p>\n<h3>Usage</h3>\n<pre><code class=\"language-text\">node src/flatten.mjs input.json [--pretty]\n</code></pre>\n<p>The output contains <code>schema</code>, <code>inputSha256</code>, <code>rowCount</code>, and <code>rows</code>. Each row uses a stable dotted path and JSON-safe scalar value, making the result easy to diff, archive, or feed into an audit pipeline.</p>\n<h3>License</h3>\n<p>MIT. See <code>LICENSE</code>.</p>","dependencies":[],"licence":{"spdx":"MIT","verdict":"pass"},"scan":{"verdict":"pass","scanner_version":"2026.08.1","at":"2026-09-10T02:49:17.952Z","checks":[{"id":"secrets","tool":"x402git/secrets","tool_version":"2026.08.1","status":"pass","at":"2026-09-10T02:49:17.952Z","findings":0},{"id":"limits","tool":"x402git/limits","tool_version":"2026.08.1","status":"pass","at":"2026-09-10T02:49:17.952Z","findings":0},{"id":"known_vulns","tool":"osv.dev","tool_version":"2026-09-16","status":"pass","at":"2026-09-16T04:01:10.051Z","findings":0,"packages":0},{"id":"known_malware","tool":"osv.dev/MAL","tool_version":"2026-09-16","status":"pass","at":"2026-09-16T04:01:10.051Z","findings":0,"packages":0},{"id":"dep_behaviour","tool":"socket.dev","tool_version":"2026-09-14","status":"findings","at":"2026-09-14T09:53:47.639Z","findings":1,"packages":1},{"id":"capabilities","tool":"x402git/caps","tool_version":"2026.09.1","status":"findings","at":"2026-09-14T09:36:07.379Z","findings":1},{"id":"injection","tool":"x402git/inject","tool_version":"2026.09.1","status":"pass","at":"2026-09-14T09:36:07.379Z","findings":0}],"findings":[{"kind":"capability","check":"capabilities","tier":"disclosed","rule_id":"script","severity":"LOW","description":"Ships the script src/flatten.mjs","path":"src/flatten.mjs"},{"kind":"behaviour","check":"dep_behaviour","tier":"disclosed","rule_id":"missingLockfile","severity":"LOW","description":"Socket SBOM Resolver (transitive) — no lockfile, so installs are not reproducible","package":{"ecosystem":"generic","name":"Socket SBOM Resolver","direct":false,"dev":false},"source":"socket.dev"}],"capabilities":{"tools":[],"runs":[{"path":"src/flatten.mjs","kind":"script"}],"hosts":[],"env":[],"install_runs":false,"summary":"runs a script · nothing runs at install"},"counts":{"blocking":0,"disclosed":2,"review":0},"advisories_refreshed_at":"2026-09-16T04:01:10.051Z"},"originality":{"blob_overlap_ratio":0,"blobs_seen_elsewhere":0,"blobs_total":5,"nearest_listing":null,"derivative_of":null},"engineering":{"unique_5gram_ratio":0.918,"type_token_ratio":0.815,"effective_code_lines":25,"effective_doc_words":81,"code_files":1,"test_files":0,"padding_suspected":false},"cadence":{"releases":0,"median_days_between_releases":null,"on_time_fraction":null,"days_since_last":null,"score":null,"finished":false},"inventory_sentence":"1 source file · 2 docs · 2 config files","extensions":{"md":1,"mjs":1,"json":2,"(none)":1},"lines_of_code":27,"warnings":["sbom_unavailable"],"repo_meta":{"repo_id":1363444112,"name":"pixelforge-code--evidence-json-flattener","full_name":"x402git-hosted-01/pixelforge-code--evidence-json-flattener","description":"Private source for pixelforge-code/evidence-json-flattener","homepage":null,"topics":[],"language":"JavaScript","default_branch":"main","size_kb":0,"created_at":"2026-09-10T02:48:08Z","pushed_at":"2026-09-10T02:49:12Z","licence_spdx":"MIT","open_issues":null,"stars":null,"forks":null,"watchers":null,"archived":false,"private":true,"html_url":null},"owner":{"login":"x402git-hosted-01","name":null,"avatar_url":"https://avatars.githubusercontent.com/u/322595498?v=4","bio":null,"blog":null,"company":null,"location":null,"twitter_username":null,"followers":null,"public_repos":null,"created_at":"2026-08-29T19:51:35Z","html_url":"https://github.com/x402git-hosted-01"},"computed_at":"2026-09-10T02:49:18.124Z","analyzer_version":"0.1.0"},"self_reported":{"description":"Dependency-free Node.js CLI that deterministically flattens nested JSON evidence into path/value rows, preserves array indexes, sorts object keys, and includes a SHA-256 digest of the exact input bytes. Includes source, fixture, and MIT license.","trigger_hint":"Run node src/flatten.mjs input.json [--pretty] to emit stable evidence rows with the input SHA-256 digest."}}