other
- Location
SKILL.md:51- Finding
Audited source may be transmitted to an external LLM provider
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 51-54
Vulnerability Type: External disclosure of potentially sensitive source content
Risk Level: MediumVulnerable Code
markdown 2. **synthesize** In plugin hosts, the current agent session reads the prepared artifact and writes SDL core facts plus typed `*_evidence_text(...)` facts. In standalone CLI mode, Semia calls the configured LLM provider for this step. The standalone default is OpenAI `gpt-5.5`.Technical Analysis
The preparation process inlines the target Skill and its relevant files into an audit artifact. In standalone mode, the synthesis stage sends that prepared content to a configured external LLM provider, with OpenAI identified as the default.
Because the input is an arbitrary Skill or plugin, it may contain proprietary source code, credentials, API tokens, personal data, internal URLs, or configuration details. The documented workflow does not require a secret scan, redaction step, destination confirmation, or explicit user consent before remote processing.
Remote synthesis supports the declared auditing function, but it is not the minimum privilege necessary when host-session or local synthesis is available. The Skill itself recommends an in-session path that avoids the CLI provider bridge, demonstrating that external transmission is optional rather than essential.
Attack Path
- A user invokes standalone
semia scanagainst a local Skill or plugin. - Semia prepares the audit input by inlining target files.
- Sensitive information present in those files becomes part of the prepared artifact.
- The standalone synthesis path submits the prepared content to the configured LLM provider.
- The external provider receives and processes information that the user may have expected to remain local.
This does not require an active attacker if the audited target already contains sensitive information. A malicious target could increase the ex ...[truncated 716 chars]
- A user invokes standalone
- Remediation
View remediation
Remediation Suggestions
- Make local or host-session synthesis the default and require an explicit option for remote-provider synthesis.
- Obtain informed user consent before transmission, clearly identifying:
- the destination provider;
- which files and content will be sent;
- whether data retention may occur.
- Add a preflight secret and sensitive-data scanner before any remote request.
- Support configurable redaction for credentials, personal data, internal hostnames, and proprietary identifiers.
- Provide a strict offline mode that technically prevents provider-network access.
- Enforce provider allowlists and secure endpoint validation in managed environments.
- Show the user the prepared payload or a file manifest before submission.
- Document provider retention, training, privacy, and regional-processing implications.
