{"uid":"cap_1jknz8WLjf0Ih9q1CHLXy","slug":"writerslogic-permission-delta-analyzer-e9bc8734","name":"WritersLogic Permission Delta Analyzer","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/permission-delta?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["npm","chrome-extension","android"],"type":"string","description":"Manifest format of both documents."},"after":{"type":"string","maxLength":100000,"description":"New manifest text."},"before":{"type":"string","maxLength":100000,"description":"Old manifest text (package.json, manifest.json or AndroidManifest.xml)."},"threshold":{"enum":["any","sensitive"],"type":"string","description":"any (default): every added permission fails. sensitive: ignore Chrome permissions without a warning and Android normal permissions."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xAqkKKNfzy1xfzJVSUeWj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares old and new manifests (npm, Chrome extension, or Android) and reports every privilege escalation introduced in the new version","exampleAgentPrompt":"Can you compare these two package.json files and tell me every way the new version gains privilege — specifically flag any new install-time scripts, bin entries, or non-registry dependencies? Use the 'any' threshold so nothing is missed.","exampleUseCases":[{"title":"Auditing npm dependency bump","prompt":"I'm about to merge a PR that bumps lodash from 4.17.20 to 4.17.21. Can you compare the old and new package.json and flag every new install script, binary, or non-registry dependency the update introduces? Use the 'any' threshold."},{"title":"Reviewing Chrome extension update permissions","prompt":"A Chrome extension I use just pushed an update. Here are the old and new manifest.json files — can you tell me every new permission it's asking for and any new sites it can access that weren't covered before?"},{"title":"Detecting Android app privilege escalation","prompt":"Before I deploy this Android app update to production, compare the old and new AndroidManifest.xml and tell me if any dangerous or special permissions were added, any components became exported without a permission guard, or if debuggable or cleartext flags changed."}],"resultDescription":"A structured report listing every privilege gain in the new manifest relative to the old one: for npm — new/changed lifecycle scripts, gypfile presence, new bin entries, URL/git/file dependencies including overrides; for Chrome — added permissions with Chrome's warning text, new host access not covered by old patterns, externally_connectable changes, web_accessible_resources changes, CSP loosening; for Android — added dangerous/special permissions, newly exported components, lost permission guards, grantUriPermissions changes, and debuggable/cleartext/backup flag changes.","failureModes":["Malformed or unparseable manifest text returns a parse error","Mismatched 'kind' enum value and actual manifest format causes incorrect analysis","Manifest text exceeding 100,000 characters is rejected","Missing required 'after' or 'before' fields returns a validation error","Does not resolve manifest merging or fetch remote package data, so inherited permissions from merges are not detected"],"whenToPreferThis":"Use this endpoint when you need a deterministic, rule-based privilege-escalation diff for npm, Chrome extension, or Android manifests — especially in automated CI pipelines reviewing dependency bumps or extension updates. Prefer it over manual code review or generic diff tools when you need structured, actionable output with Chrome's own permission warning text and Android dangerous/special permission tier classification. Do not use it if you need code-level inspection, transitive dependency analysis, or justification judgments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:40:58.134Z","isFirstParty":false,"canonicalSlug":"writerslogic-permission-delta-analyzer-e9bc8734"}