exif-privacy-check
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "exif-privacy-check" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c32655bea19e719da1735ffb8cbd47f16bfcb16edba3e94815fb45649627c14a. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/ybqn2026724 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Read photo EXIF locally and surface risks in privacy fields such as location and device, for users to check photo privacy information (GPS, exifr, etc.) before uploading.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: exif-privacy-check
slug: ybqn2026724
displayName: 图片隐私检测
version: 1.0.0
summary: 本地读取照片 EXIF,提示位置与设备等隐私字段风险。
license: MIT
description: 本地读取照片 EXIF,提示位置与设备等隐私字段风险。当用户上传前要检查照片隐私、GPS、exifr 时使用。图片隐私检测(EXIF)
灵感:能力工具箱 exif-privacy(pkg: exifr)。
在浏览器本地解析图片 EXIF/元数据,标出 GPS、拍摄设备、时间等可能泄露隐私的字段,并给出「建议清除后再上传」提示。
何时使用
- 客户现场照片、名片背面图上传前自检
- 「这张图会不会带定位」
硬约束
- 使用
exifr(或等价)纯本地解析,不上传到第三方解析服务。 - 至少检测:GPS(纬度/经度)、Make/Model、DateTime、Lens(若有)。
- 输出:
risks[](高/中)+ 原始关键字段摘要;无 EXIF 则明确「未发现可读 EXIF」。 - 可选:提供「导出已剥离元数据的副本」指引(canvas 重绘或库能力),不强制实现清除。
- 不解读、不展示与业务无关的人脸识别等能力。
推荐实现要点
import exifr from 'exifr'
export async function inspectImagePrivacy(file: Blob) {
const data = await exifr.parse(file, { gps: true })
const risks: Array<{ level: '高' | '中'; key: string; detail: string }> = []
if (!data) return { hasExif: false, risks, summary: {} as Record<string, unknown> }
if (data.latitude != null && data.longitude != null) {
risks.push({
level: '高',
key: 'GPS',
detail: `含定位约 ${Number(data.latitude).toFixed(5)}, ${Number(data.longitude).toFixed(5)}`,
})
}
if (data.Make || data.Model) {
risks.push({
level: '中',
key: 'Device',
detail: [data.Make, data.Model].filter(Boolean).join(' '),
})
}
if (data.DateTimeOriginal || data.CreateDate) {
risks.push({
level: '中',
key: 'Time',
detail: String(data.DateTimeOriginal || data.CreateDate),
})
}
return {
hasExif: true,
risks,
summary: {
make: data.Make,
model: data.Model,
date: data.DateTimeOriginal || data.CreateDate,
gps: data.latitude != null ? [data.latitude, data.longitude] : null,
},
}
}
Agent 步骤
- 实现解析与风险分级展示。
- 自测:带 GPS 的样片应出「高」风险;截图类可能无 EXIF。
- 上传流程:有高风险时默认拦截或二次确认。
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决用户上传照片前检查隐私泄露风险的实际痛点
- 覆盖 GPS、设备信息等关键隐私字段检测
Highlights
- 触发词精准完整,覆盖多种使用场景
- 边界清晰,不易误触或漏触
Highlights
- Phase/步骤清晰,有明确的硬约束和推荐实现
- 包含端到端 TypeScript 示例,frontmatter 完整
Highlights
- 工具来源明确(exifr),参数正确
- 覆盖主要异常情况,有风险确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.