data-exfiltration-analysis
Skill0 starsChanged 5 months agoMITView on GitHub
Analyzes how sensitive data could leave a system through intended and unintended channels, including covert and side channels. Use when protecting sensitive data, reviewing data-handling and egress controls, assessing insider-threat or post-breach exfiltration risk, or hardening against leakage.
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Logs as a data store: do logs/traces contain the sensitive data itself, and who can read the logging system?
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Exfiltration Analysis
Defenders guard the doors; data leaves through the windows. Once an attacker (or insider) has read access, the question is no longer if they can see the data but how they get it out — and there are far more channels than anyone defends.
Classify the data and its egress paths
- What's worth stealing: PII, credentials, financial data, source code, model weights, business secrets. Rank by impact; you can't equally protect everything.
- Where it concentrates: databases, backups, logs, analytics pipelines, data warehouses, caches, and the laptops/notebooks where humans pull it for analysis. Data sprawls far beyond the primary store.
- The legitimate egress paths: exports, reports, APIs, third-party integrations, email, file shares. Most exfiltration uses authorized channels in unauthorized ways, not exotic hacks.
The channel taxonomy (overt to covert)
- Bulk authorized: a compromised account uses the export/report/API feature to pull everything. Volume and pattern, not the channel, are the tell.
- Slow drip: small amounts over time to stay under volume alerts.
- Side channels: error messages, timing, response sizes, and verbose logs that leak data piecemeal to an observer.
- Covert channels: DNS exfiltration, encoding data in image metadata, ICMP, or steganography — bypasses content inspection by hiding in allowed protocols.
- Third-party hops: data sent to an integration/SaaS that's then accessible to the attacker, or an over-permissioned analytics SDK shipping data out.
Adversarial validation
- Assume read access: an attacker has compromised one account/service with legitimate read. Enumerate every way they move that data outside the perimeter. The list is always longer than the egress controls.
- The export feature as a weapon: can a single user export the entire dataset? Is there volume limiting, rate limiting, and alerting on bulk reads?
- DNS and "allowed" protocols: is outbound DNS/HTTP unrestricted? Those are the default covert exfil paths because they're never blocked.
- Logs as a data store: do logs/traces contain the sensitive data itself, and who can read the logging system? Observability often has weaker access control than the database.
- Insider with legitimate access: the hardest case — they're authorized. Detection shifts from access control to anomaly detection (unusual volume, time, destination).
Non-obvious risks
- Egress filtering is widely neglected; most networks allow nearly unlimited outbound, making exfiltration trivial once inside.
- Aggregation and inference: individually-innocuous fields combine to re-identify or reconstruct sensitive data; field-level controls miss this.
- Backups and lower environments (staging with prod data) are softer targets holding the same data as production.
Output structure
Deliver: the sensitive-data inventory ranked by impact and where it sprawls, the egress channel map (authorized, drip, side, covert, third-party), the "assume read access" exfiltration walkthrough, the gaps in volume limiting / egress filtering / log access, and detection recommendations (anomaly on volume/destination) for the channels that can't be blocked outright.
In this repository29 other files it gives its agents.
- adversarial-code-reviewSkill
- api-contract-designSkill
- attack-surface-mappingSkill
- authn-authz-design-reviewSkill
- benchmark-designSkill
- capacity-scalability-planningSkill
- concurrency-race-analysisSkill
- data-consistency-modelingSkill
- distributed-consensus-designSkill
- error-handling-architectureSkill
- event-driven-architectureSkill
- experiment-designSkill
- hypothesis-falsificationSkill
- incident-rca-postmortemSkill
- legacy-refactoring-strategySkill
- literature-synthesisSkill
- metrics-designSkill
- multi-layer-caching-strategySkill
- mvp-scope-cuttingSkill
- performance-profilingSkill
- rate-limiting-designSkill
- requirements-disambiguationSkill
- secrets-management-auditSkill
- statistical-validity-analysisSkill
- supply-chain-risk-analysisSkill
- system-decomposition-synthesisSkill
- threat-modelingSkill
- tradeoff-decision-frameworkSkill
- user-failure-mode-mappingSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

