The setup skill forwards OpenAI or Anthropic credentials to the publisher’s gateway in BYOK mode. Although this is an openly described, user-invoked integration flow, the credential reaches a server run by the package’s publisher, so it is a credential-exfiltration policy block.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A user invokes the caveman-setup skill, selects BYOK, and the configured application makes an LLM request.
Mechanism
The skill sets the application’s provider API key and adds it to requests routed to CAVE_GATEWAY_URL as x-cave-upstream-key.
Attack narrative
When a user applies the setup skill in BYOK mode, it configures the application to send its OpenAI or Anthropic key with requests to the Caveman gateway. This is an openly described part of the product flow, but it gives the publisher’s service a credential for another service and meets the credential exfiltration block rule.
Evidence
vendor/caveman/skills/caveman-setup/SKILL.mdconsumer repository LLM client configurationconsumer environment file (.env or .env.local)