Logo de Auditing Error Handling And Information Exposure

Auditing Error Handling And Information Exposure

Organização
UnboundCompute
auditing-error-handling-and-information-exposure

Audite o tratamento de erros e as interfaces de diagnóstico em busca de informações confidenciais recebidas por um cliente real, quando um caminho de exceção, recurso de depuração ou endpoint de diagnóstico retorna rastreamentos de pilha, erros de banco de dados, caminhos internos, identificadores de framework ou versão, configurações, segredos ou mensagens que diferem o bastante para permitir enumerar usuários. Use ao revisar como um serviço responde a solicitações malformadas, não autorizadas ou com falha na configuração implantada, e se modos de depuração, mapas de código-fonte ou metadados de controle de versão estão expostos. O escopo se limita ao que a produção realmente retorna, não à verbosidade disponível apenas para desenvolvedores. O caminho de erro ou diagnóstico é a origem; a resposta, o cabeçalho ou o log visível ao usuário é o destino; e a falha está na divulgação de detalhes que facilitam um ataque posterior.

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-error-handling-and-information-exposure
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Error Handling And Information Exposure no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-error-handling-and-information-exposure
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-error-handling-and-information-exposure .claude/skills/auditing-error-handling-and-information-exposure
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Error Handling And Information Exposure em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Error Handling And Information Exposure automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Error Handling And Information Exposure não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Auditing error handling and information exposure: when a failure tells the attacker how it works

Every application fails, and how it fails is a message to whoever is probing it. A stack trace names the framework, the file layout, and the line that broke. A database error quotes the query and confirms an injection point. A verbose not-found versus a verbose forbidden tells an attacker which accounts exist. A debug endpoint left on in production hands over configuration and sometimes secrets. None of this is a memory-corruption bug or an injection; it is the system narrating its internals to an unauthenticated client, turning blind probing into informed attack. The audit is not about suppressing all errors; it is about deciding, for the deployed configuration, whether what a real client receives on failure reveals security-relevant structure. You find it by driving the error paths a client can reach and reading exactly what comes back.

When to use

  • A service returns errors on malformed, unauthorized, or failing requests and you can observe the responses.
  • Debug modes, verbose error pages, or diagnostic and health endpoints may be reachable in production.
  • Build or deployment artifacts (source maps, version-control metadata, backups) may be served publicly.

Scope check

Test error and diagnostic surfaces only against systems you own or are authorized to assess, using benign malformed input rather than live exploitation to trigger failures, and treat any disclosed secret as a real credential to be reported and rotated, not reused. Stay within the authorized scope. If you can't name the authorization, stop.

The loop

  1. Establish what a real client receives in the deployed configuration first. Determine whether the production error handler is active and debug mode is off, so the verbose page you see locally is not what a client actually gets. This is the false-positive killer: a detailed trace visible only under a developer flag that is disabled in production is not a finding, while the generic page that production returns is the real evidence. Confirm the deployed behavior before judging the detail.

  2. Enumerate the reachable failure paths. Drive the errors a client can cause: malformed bodies, wrong types, oversized input, unauthorized and forbidden access, missing resources, and backend failures. Include diagnostic and health endpoints, and default framework error routes. Each response and its headers are a candidate sink.

  3. Read what the response discloses. For each failure, judge whether the body, status, or headers reveal security-relevant detail: a stack trace, a database or template error, an internal file path or hostname, a framework and version banner, configuration values, or a secret. Cosmetic verbosity that names nothing useful is not the finding; structure an attacker can act on is.

  4. Check for enumeration through differentials. Compare responses for existing versus non-existing accounts, valid versus invalid credentials, and authorized versus unauthorized resources, in wording, status, and timing. A difference that reliably distinguishes the two enumerates users or resources even when no single response looks verbose.

  5. Check for exposed artifacts and debug surfaces. Look for served source maps, version-control directories, backup and configuration files, verbose health or debug endpoints, and default sample pages, which disclose source, structure, or secrets independent of any exception path.

  6. Confirm and record. Confirm by triggering the failure as an unauthenticated or ordinary client in the deployed configuration and capturing the disclosed detail, or by demonstrating the reliable differential. Kill the lead if production returns a generic handler, if the verbose output is gated behind a disabled developer flag, if the disclosed detail names nothing an attacker can use, or if responses and timing do not distinguish existence. Record the failure path, the sink, the disclosed detail, and its use to an attacker, or set a kill_reason.

Where information exposure leaks

  • The gap is local versus production. Verbose errors in development are expected; the finding is whether the same verbosity survives into the deployed configuration a client can reach.
  • Errors confirm other bugs. A quoted database or template error turns a blind injection probe into a confirmed one, so verbose backend errors are force multipliers, not just leaks.
  • Differentials enumerate quietly. Existence disclosure rarely looks like an error; it hides in a wording, status, or timing difference between the present and absent case.
  • Artifacts leak without an exception. Served source maps, version-control metadata, and backups disclose source and structure through ordinary requests, no failure required.
  • Headers talk too. Framework and version banners and debug headers name the stack and its version, narrowing which known weaknesses an attacker tries.

Worked example (a confirm and a kill)

Confirm. A malformed request to an ordinary endpoint returns the framework's default error page with a full stack trace, the source file paths, and the database query that failed, to an unauthenticated client in production. Confirmed sensitive information disclosure through verbose errors, medium, remediation = enable the production error handler with generic client-facing messages, disable debug mode in the deployed configuration, log detail server-side only, and remove framework and version banners from responses.

Kill. The same request returns a generic error with a correlation identifier and no internal detail, debug mode is off in the deployed configuration, the login and lookup responses are identical for present and absent accounts in wording, status, and timing, and no source maps or version-control metadata are served. Nothing in the failure names the stack, the query, or an account's existence. Killed, kill_reason = "production returns generic errors with detail only in server-side logs, no debug or banner disclosure, and existence differentials are absent; failures reveal nothing an attacker can act on."

Rationalizations to reject

  • "That trace only shows in development." -> Then confirm it is disabled in the deployed configuration; the finding is what a real client receives in production, which is where you must check.
  • "It is just an error message." -> A quoted query or a named internal path confirms an injection point or maps the system; the message is intelligence, not noise.
  • "Different messages are more helpful to users." -> A login that distinguishes unknown user from wrong password enumerates accounts; be equally uninformative for both cases.
  • "Source maps help us debug production." -> Served publicly they hand your source to anyone; restrict them or strip them from the public build.
  • "The health endpoint is internal." -> If it is reachable without authentication it is a client surface; confirm the access control, not the intent.

Executing this in practice

You need the deployed error-handling configuration, the responses and headers for the full set of reachable failure paths, the present-versus-absent differentials on authentication and lookup surfaces, and whether any build or version-control artifacts are served. For each, decide whether the detail is security-relevant and whether it reaches an unauthorized client in production. Driving the failures as an ordinary client and reading the exact responses settles most leads; comparing wording, status, and timing settles the enumeration ones.

Related

  • auditing-security-logging-completeness - the complement, where detail belongs in server-side logs rather than in client responses; the two together place each piece of information where it should be.
  • hunting-blind-and-second-order-sql-injection - verbose database errors turn that skill's blind probes into confirmed ones, so error disclosure directly aids it.
  • auditing-session-lifecycle-and-fixation - authentication response differentials that enumerate accounts are adjacent to the session and login concerns audited there.
  • reviewing-rate-limiting-and-abuse-controls - enumeration through differentials is amplified without rate limits, so the two controls are assessed together on login and lookup surfaces.
  • FINDING-SCHEMA.md - source = the error or diagnostic path, sink = the response, header, or user-visible log, evidence = the disclosed detail or the reliable differential captured as an unauthorized client in the deployed configuration.

Perguntas frequentes

O que a habilidade de IA Auditing Error Handling And Information Exposure faz?

Audite o tratamento de erros e as interfaces de diagnóstico em busca de informações confidenciais recebidas por um cliente real, quando um caminho de exceção, recurso de depuração ou endpoint de diagnóstico retorna rastreamentos de pilha, erros de banco de dados, caminhos internos, identificadores de framework ou versão, configurações, segredos ou mensagens que diferem o bastante para permitir enumerar usuários. Use ao revisar como um serviço responde a solicitações malformadas, não autorizadas ou com falha na configuração implantada, e se modos de depuração, mapas de código-fonte ou metada...

Por que usar Auditing Error Handling And Information Exposure no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Error Handling And Information Exposure é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Error Handling And Information Exposure no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-error-handling-and-information-exposure. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Error Handling And Information Exposure?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Error Handling And Information Exposure?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Error Handling And Information Exposure com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Error Handling And Information Exposure é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇