{"answers":{"affected":"2 open source packages ship an affected version, including @grackle-ai/powerline.","exploited":"There is no known exploitation of GHSA-xq7h-vwjp-5vrh in the wild and no public exploit code.","fix":"Upgrade @grackle-ai/powerline to 0.70.1 or later.","what":"GHSA-xq7h-vwjp-5vrh is a missing authorization vulnerability in @grackle-ai/powerline, published on 25 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-xq7h-vwjp-5vrh and fix it if it is affected.\n\nWhat it is: GHSA-xq7h-vwjp-5vrh is a missing authorization vulnerability in @grackle-ai/powerline, published on 25 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-xq7h-vwjp-5vrh in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @grackle-ai/powerline (npm): affected all versions; fixed in 0.70.1\n- @grackle-ai/powerline (npm): affected all versions; fixed in 0.70.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xq7h-vwjp-5vrh/ (Markdown: https://insights.sbomify.com/GHSA-xq7h-vwjp-5vrh/index.md)","id":"GHSA-xq7h-vwjp-5vrh","markdown":"https://insights.sbomify.com/GHSA-xq7h-vwjp-5vrh/index.md","name":"GHSA-xq7h-vwjp-5vrh","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AI agent library","requires_auth":"none","summary":"Attackers with network access can execute code and read credentials if the PowerLine gRPC server is exposed without authentication.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nWhen `--token` is not provided and `GRACKLE_POWERLINE_TOKEN` is not set, the PowerLine gRPC server runs with **zero authentication**. A warning is logged (`\"NO AUTH (development only)\"`) but nothing prevents deployment in this state. Any client that can reach the PowerLine port can spawn agent sessions, access credential tokens, and execute code.\n\nThe default binding is `127.0.0.1` (loopback only), which limits exposure to the local machine. However, if PowerLine is accidentally exposed on a network (e.g., in a container or via port forwarding), the impact is critical.\n\n**Affected code:**\n- `packages/powerline/src/index.ts:46` — token defaults to empty string\n- `packages/powerline/src/index.ts:63-76` — auth interceptor is only added when token is truthy\n\n### Patches\n\n0.70.1\n\n**Fix:** Require an explicit `--no-auth` flag to run without authentication, rather than defaulting to no auth when the token is empty. Throw an error if starting without a token and without `--no-auth`.\n\n### Workarounds\n\nAlways provide `--token` or set `GRACKLE_POWERLINE_TOKEN` when starting PowerLine. The Grackle server does this automatically when managing PowerLine lifecycle.\n\n### Resources\n\n- CWE-306: Missing Authentication for Critical Function\n- File: `packages/powerline/src/index.ts`","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"@grackle-ai/powerline Runs Without Authentication by Default","id":"GHSA-xq7h-vwjp-5vrh","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["0.70.1"],"introduced":["0"],"last_affected":[],"package":"@grackle-ai/powerline","purl":null,"source":"GHSA-xq7h-vwjp-5vrh"},{"ecosystem":"npm","fixed":["0.70.1"],"introduced":["0"],"last_affected":[],"package":"@grackle-ai/powerline","purl":"pkg:npm/%40grackle-ai/powerline","source":"GHSA-xq7h-vwjp-5vrh"}],"products":null,"published":"2026-03-25","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers with network access can execute code and read credentials if the PowerLine gRPC server is exposed without authentication.","url":"https://insights.sbomify.com/GHSA-xq7h-vwjp-5vrh/"}