{"uid":"cap_H5O1IU8mgt18myxcs5aZ-","slug":"ghsa-composer-php-security-advisories-brief-57658bdb","name":"GHSA Composer/PHP Security Advisories Brief","description":"LLM-written digest of the most severe new Composer/PHP vulnerabilities (CVEs / advisories) in the window and which packages to patch first.","url":"https://oracles-production.up.railway.app/v1/ghsa-composer/brief","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"since":{"type":"string","format":"date-time","description":"Window start (default: last 30 days)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"brief":{"type":"string"},"generatedBy":{"enum":["llm","template"],"type":"string"},"basedOnChanges":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BVWdfYo0EQ2H-vOvbwEX4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an LLM-generated digest summarizing the most severe new Composer/PHP package security advisories within a configurable time window","exampleAgentPrompt":"Can you give me a security brief on the most severe Composer and PHP package advisories from the past 30 days? I want an LLM-written digest of what I should be worried about.","exampleUseCases":[{"title":"PHP dependency security review for deployment","prompt":"Before we push our latest release to production, can you pull a security digest of any critical Composer package vulnerabilities from the last two weeks? I need to know if we're shipping with any dangerous dependencies."},{"title":"Weekly security advisory summary for team","prompt":"Can you give us an LLM summary of the most severe PHP and Composer security issues that came out this week? I want to share a readable digest with the dev team so they know what packages need urgent patching."},{"title":"Automated alert for high-risk CVEs","prompt":"Monitor our PHP ecosystem for new critical vulnerabilities and send me an LLM-generated brief whenever severe Composer advisories drop. I need to know immediately which packages pose the biggest risk to our applications."}],"resultDescription":"Returns a JSON object containing: a 'brief' field with an LLM-written narrative summary of the most severe new Composer/PHP advisories, a 'generatedBy' field indicating whether an LLM or template produced it, and a 'basedOnChanges' integer showing how many advisories were analyzed in the window.","failureModes":["No advisories in window: may return empty or minimal brief with basedOnChanges=0","Invalid 'since' datetime format: returns 400 bad request","LLM generation failure: falls back to template-based generation (generatedBy='template')","Payment not provided or insufficient: 402 Payment Required","Service downtime on Railway: 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need a human-readable, LLM-synthesized narrative summary of PHP/Composer security advisories rather than raw GHSA data. Prefer this over the raw advisory detail endpoint when you want a concise brief highlighting the most severe issues, not individual CVE records. Best suited for security digests, automated reports, or alerting workflows targeting PHP/Composer ecosystems specifically — use the PyPI brief sibling for Python packages instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:48.550Z","isFirstParty":false}