TL;DR
AI assistants increasingly rely on installable "skills"—packages of code and natural-language instructions—to access your files, accounts, and personal data. SkillXray is a static auditing framework that inspects these skills before you install them, catching "privacy-of-use" harms where a skill does its advertised job but quietly collects, infers, or ships off more data than its description warrants. Across 100 public skills, SkillXray found that nearly three in four privacy-relevant skills (72.2%) commit at least one potential privacy violation.
What Problem Does This Paper Address?
When you install a skill for an AI assistant, you usually decide based on a short, friendly description. Existing security research focuses on overtly malicious threats like prompt injection, tool poisoning, or credential theft.
But what if a skill isn't trying to attack you? The authors focus on honest-but-negligent behavior: a skill fulfills its stated task without malicious intent, yet handles data in ways a user wouldn't reasonably expect. For example, a skill promising to let you "talk to your Apple Health data" might instruct the assistant to send your health-related questions—and your API credentials—to an undisclosed third-party server. Because the skill works as advertised, these privacy-of-use harms slip right past users and traditional security scanners.
Methods
SkillXray audits a skill's artifacts (its SKILL.md description, scripts, and documentation) without ever executing them. The pipeline works in five stages:
- Screening: First, it filters out skills that don't handle personal or privacy-relevant data.
- Extracting Data Moves: It decomposes both code and natural-language instructions into source-grounded data moves—operations like
READ,INFER,SAVE,SEND, orDELETEpaired with the type of data involved and the exact file and line numbers where they occur. For code, it traces variable dependencies (backward slicing) so it knows what is actually inside asend(x)call. - The CI Gate: For each move, SkillXray constructs an information flow using Contextual Integrity (CI)—a framework that defines privacy as appropriate information flow based on five parameters: subject, sender, recipient, information type, and transmission principle. It augments this with five static signals (such as data sensitivity and whether a new personal attribute is derived) and checks whether the move departs from the skill's stated purpose or domain norms along five dimensions: recipient, information type, subject, access, and derivation. To prevent overly permissive descriptions from excusing bad behavior, it enforces a conservative policy requiring special-category data (e.g., health data), credentials, and others' confided content to stay local unless explicit user consent is required. Each move is marked
OK,VIOLATION, orINCOMPLETE. - Harm Typing: Flagged violations are categorized using Solove's privacy taxonomy, extended with Inference to capture the unwarranted derivation of personal attributes.
- Privacy Card: Finally, everything is compiled into an evidence-linked Privacy Card for pre-installation inspection.
Datasets
- Public Marketplace Skills: 100 skills collected from public marketplaces, audited using the open-weight
gpt-oss-120bmodel. - Human Validation Set: Because no external benchmark exists for privacy appropriateness in agent skills, the authors built a preliminary reference set of 151 data moves from 5 skills (149 resolvable moves), labeled by a human annotator kept blind to SkillXray's verdicts and reasoning.
Key Insights and Ideas
- The harm is reuse, not theft: Violations rarely look like attacks. Instead, they happen during routine data handling—saving, reading, and sending—using permissions the user already granted.
- Secondary Use dominates: Putting a user's data to work for something other than the job the skill was installed to do is the most common issue, appearing in 40.7% of privacy-relevant skills.
- Scope and destination matter most: The most frequent contextual departures involve information type (39.1%—processing more data than warranted) and recipient (32.2%—sending data to unexpected parties).
Key Results
- Prevalence: Out of 100 public skills, 54 were identified as privacy-relevant. Across those 54 skills, SkillXray analyzed 2,336 data moves and flagged 306 (13.1%) as potential violations.
- Skill-level impact: 39 of the 54 privacy-relevant skills (72.2%) contained at least one potential privacy violation.
- Human agreement: On the 149 resolvable moves in the validation set, SkillXray achieved 80% agreement with the blinded human annotator ($\kappa = 0.58$).
Limitations and Future Work
- Preliminary validation: The human evaluation covers only 151 moves across 5 skills with a single annotator. Building a larger, multi-annotator benchmark is left for future work.
- Static analysis limits: Because SkillXray does not execute skills, it cannot observe runtime behavior. For instance, it can spot whether a skill asks for consent in its instructions, but cannot prove consent was actually obtained at runtime.
- Approximated norms: Rather than empirically surveying social norms as strict Contextual Integrity prescribes, SkillXray relies on the language model to approximate domain norms from the skill's claim and data characteristics.
Summary updated