Is PJe✚R safe?

High risk

PJe+R is high risk. Clicking the AI-assisted search button inserts your judicial query into a prompt for an external AI provider. By default this POSTs to Groq's chat-completions endpoint; it can also target Gemini, OpenAI, Mistral, or OpenRouter.…

Conselho Nacional de Justiçav3.51.140Extension ID kafnfkonkgfgkppomkfckmkgpkfkggcpChrome Web Store
67Risk
Who publishes it

Conselho Nacional de Justiça - 1 other listing from the same operator, none carrying a finding

Publisher
Conselho Nacional de Justiça
Declared legal entity
Conselho Nacional de Justiça
Registered address
Brasília, CNJ, Brasília, DF 70760542, BR
Registered contact
Conselho Nacional de Justiça

Same store account

1 other listing published from this account, 9k+ users between them, none of them carrying a finding.

Shared hosts - 7 hostnames

Hostnames hardcoded in this extension that few other listings call. That can mean one operator behind both, and it can equally mean a small shared vendor, so it is context rather than a conclusion. Hosts that many listings call are left out: they are services, not connections.

esosti.trf1.jus.br
Also called by 1 other listing: PJe+R
renajud.denatran.serpro.gov.br
Also called by 1 other listing: PJe+R
sei.trf1.jus.br
Also called by 1 other listing: PJe+R
trf3.jus.br
Also called by 1 other listing
api.bcb.gov.br
Also called by 2 other listings, including Epryx
pje1g.trf1.jus.br
Also called by 2 other listings: PJe+R, MinutaIA Conecta
olinda.bcb.gov.br
Also called by 3 other listings, including SEI Pro
AI-assisted analysis.

PJe+R findings

Judicial search prompts are sent to external AI APIs

MediumunwantedCWE-200Dynamic sandbox

Clicking the AI-assisted search button inserts your judicial query into a prompt for an external AI provider.

What actually happens

You did this

You click the AI generation button in the judicial search helper.

The button passes the text area's trimmed value into the AI query generator.

The extension did this

The extension sends a prompt containing that text to an external AI completion API.

The default provider is Groq, and the same provider table also lists Google Gemini, OpenAI, Mistral, and OpenRouter.

Prompt fields sent to the AI provider

  • Your typed search request
    Find recent decisions about benefit denial (illustrative)

    This is the exact natural-language request you entered for the AI-assisted search feature.

  • Judicial-search instructions
    Use E / AND, OU / OR, !, parentheses, exact phrases, fuzzy search, wildcards, and process-number guidance.

    The prompt tells the AI how to convert your request into the extension's advanced search syntax.

  • Case-list context in prompt
    Polo Ativo, Polo Passivo, Assunto, Classe, Orgao Julgador, and process-number patterns.

    The prompt describes the judicial fields your search may refer to, including parties, subject, class, court body, and judging unit.

  • Selected AI provider
    Groq llama-3.1-8b-instant at https://api.groq.com/openai/v1/chat/completions

    This determines which external service receives the generated prompt.

Captured request

POSThttps://api.groq.com/openai/v1/chat/completions

No live request body was recorded during dynamic analysis; static verification confirmed this method and URL in the extension's AI search code path.

Headers
Content-Type
application/json
Authorization
Bearer <redacted>

The code that does this

The AI search feature puts your text into a provider request

Readable version

Provider table and default provider selection

content/index.global.js
const PROVEDORES = {  groq: {    nome: "Groq",    url: "https://api.groq.com/openai/v1/chat/completions",    modelo: "llama-3.1-8b-instant",    descricao: "Rapido e gratuito (14.4k req/dia)",    linkCadastro: "https://console.groq.com/keys"  },  google: {    nome: "Google AI Studio",    url: "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-exp:generateContent",    modelo: "gemini-2.0-flash",    descricao: "Gratuito e de alta qualidade (recomendado)",    linkCadastro: "https://aistudio.google.com/app/apikey"  },  mistral: {    nome: "Mistral AI",    url: "https://api.mistral.ai/v1/chat/completions",    modelo: "mistral-small-latest",    descricao: "Gratuito com bom desempenho",    linkCadastro: "https://console.mistral.ai/api-keys"  },  openai: {    nome: "OpenAI",    url: "https://api.openai.com/v1/chat/completions",    modelo: "gpt-4o-mini",    descricao: "Alta qualidade (pago)",    linkCadastro: "https://platform.openai.com/api-keys"  },  openrouter: {    nome: "OpenRouter",    url: "https://openrouter.ai/api/v1/chat/completions",    modelo: "meta-llama/llama-3.1-8b-instruct:free",    descricao: "Varios modelos gratuitos",    linkCadastro: "https://openrouter.ai/keys"  }};const STORAGE_KEY = "painelGerencialAssistenteIAConfig";const API_KEY_PADRAO = "<redacted>";

gerarQuery creates the POST body and sends it through Endpoint.fetch

content/index.global.js
async gerarQuery(userText, promptText) {  if (this.config == null) this.config = await this.carregarConfig();  if (!userText.trim()) return { sucesso: false, erro: "Descricao vazia" };  const apiKey = this.config.apiKeyPersonalizada || (this.config.usarApiPadrao ? API_KEY_PADRAO : "");  if (!apiKey) return { sucesso: false, erro: "Nenhuma API key configurada" };  const provider = PROVEDORES[this.config.provedorSelecionado];  let url = provider.url;  let payload;  const headers = { "Content-Type": "application/json" };  if (this.config.provedorSelecionado === "google") {    url = `${provider.url}?key=${apiKey}`;    payload = {      contents: [{ parts: [{ text: promptText }] }],      generationConfig: { temperature: 0.1, maxOutputTokens: 1000 }    };  } else {    headers.Authorization = `Bearer ${apiKey}`;    if (this.config.provedorSelecionado === "openrouter") {      headers["HTTP-Referer"] = window.location.origin;      headers["X-Title"] = "PJe+R - Assistente de Busca";    }    payload = {      model: provider.modelo,      messages: [{ role: "user", content: promptText }],      temperature: 0.1,      max_tokens: 2000    };  }  const response = await Endpoint.fetch("obterDoURLComFetchResponse", url, {    method: "POST",    headers,    body: JSON.stringify(payload)  });  return response;}

gerarQueryComIA passes the typed value into the prompt builder

content/index.global.js
bo.addEventListener("click", async (event) => {  event.stopPropagation();  await this.gerarQueryComIA(vo.value.trim(), bo, vo);});async gerarQueryComIA(userText, button, textarea) {  const prompt = this.assistenteIA.obterTemplatePrompt(userText);  const result = await this.assistenteIA.gerarQuery(userText, prompt);  if (result.sucesso && result.query) {    this.onQueryGerada && this.onQueryGerada(result.query);    textarea.value = "";  }}

The code that does this

The background worker performs the routed fetch

Readable version

obterDoURLComFetchResponse returns the serialized HTTP response

background/index-25zumi8C.mjs
async function fetchThroughBackground(url, options, context) {  return fetch(url, options, context);}async function serializeResponse(response) {  const cloned = response.clone();  const body = tryParseJson(await cloned.text());  return {    ok: response.ok,    status: response.status,    statusText: response.statusText,    url: response.url,    body,    headers: Object.fromEntries(response.headers.entries()),    type: response.type,    redirected: response.redirected  };}async function obterDoURLComFetchResponse(url, options, context) {  const result = await fetchThroughBackground(url, options, context);  return result instanceof Response ? await serializeResponse(result) : result;}

The endpoints message handler calls Zs.fetch with the requested function name and args

background/index-25zumi8C.mjs
yr("endpoints", async ({ data, sender }) => {  switch (data.chamar) {    case "backgroundFetchEndpoint": {      if (!data.opcoes || !data.opcoes.functionName || !data.opcoes.args) {        return { backgroundResponseWithError: true, errorMessage: "Requisicao mal formada" };      }      if (!Array.isArray(data.opcoes.args)) {        return { backgroundResponseWithError: true, errorMessage: "Os argumentos da requisicao devem ser um array" };      }      data.opcoes.args.push(`tab-${sender.tabId}`);      const result = await Zs.fetch(data.opcoes.functionName, ...data.opcoes.args);      return result instanceof Response ? await serializeExtensionResponse(result) : result;    }    default:      return { backgroundResponseWithError: true, errorMessage: "Requisicao desconhecida" };  }});

AI services reachable from the same feature

    • api.groq.com

    Default Groq chat-completions endpoint for the generated judicial-search prompt.

    • generativelanguage.googleapis.com

    Google Gemini endpoint listed as an alternate provider in the same provider table.

    • api.openai.com

    OpenAI chat-completions endpoint listed as an alternate provider.

    • api.mistral.ai

    Mistral chat-completions endpoint listed as an alternate provider.

    • openrouter.ai

    OpenRouter chat-completions endpoint listed as an alternate provider.

Background fetches add an X-Extension-Info header with name, version and env

LowunwantedCWE-200Static analysis

Code analysis shows the extension wraps its background fetch so each request adds an X-Extension-Info header with its name, version and environment.

What actually happens

You did this

The extension's background code makes an API request.

The extension did this

A wrapper adds an X-Extension-Info header before the request is sent.

The code that does this

The wrapper around the service-worker fetch

Readable version

Header formatter

background/index-B-0exI8q.mjs
const formatInfo = ({ nome, versao, ambiente }) => `${nome.replace("✚", "+")}; v${versao}; ext_env=${ambiente}`

Fetch override

background/index-B-0exI8q.mjs
self.fetch = (input, init, opts) => {  const headers = new Headers(init.headers);  headers.set("X-Extension-Info", formatInfo({ nome: manifest.name, versao: manifest.version, ambiente: manifest.ext_env }));  // forwards to the original fetch with the new headers}

Contents of the header value

  • Extension name
    PJe+R

    The name from the extension manifest.

  • Version
    v2.42.117

    The installed extension version.

  • Environment
    ext_env=prod

    The build environment string from the manifest.

Observation

Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.

PJe+R version history

  1. 2.42.116

    Mar 4, 2026

  2. +5 more

  3. 3.46.132

    Aug 3, 2026

  4. 3.51.138

    Sep 17, 2026

  5. 3.51.140

    Sep 24, 2026

Chrome Web Store listing

Versions
3.51.140 latest of 9 seen since March 4, 2026
Store rating
4.7 from 81 ratings
Last updated
July 27, 2026
Size
3.83 MiB
Updated November 20, 2026