跳到正文
cccskills
免费在 GitHub 公开

protect-with-password

Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type). Use when asked to password-protect / encrypt / lock one or more deliverable files with a single password before sharing.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools星标 595(GitHub 595 + cccskills 0)
集成工具ExcelPowerPoint

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Protect With Password

Mint a single strong password and password-protect every referenced file with it, "accordingly" per file type. Deterministic, non-destructive (originals are never touched), AES-256 or nothing.

Run it

python3 tools/protect_with_password.py FILE [FILE ...] \
    [--password PW] [--length 24] [--out-dir DIR] \
    [--password-file PATH | --no-password-file]
  • Pass every file the user referenced as positional arguments.
  • By default a strong password is generated (--password overrides to reuse one).
  • Protected copies are written alongside each input, or into --out-dir.
  • The tool prints a JSON summary on stdout and a password banner on stderr, and (unless --no-password-file) writes the password to a chmod-600 PROTECT-PASSWORD.txt.

How each type is protected

FileProtectionResult
.pdfNative AES-256 (qpdf → pypdf fallback)<name>-protected.pdf — recipient is prompted for the password on open
.docx/.xlsx/.pptx, .doc/.xls/.ppt, images, anything elseAES-256 7-Zip archive (-mhe=on, filenames encrypted)<name>.7z — recipient extracts with the password (7-Zip / Keka / WinRAR)

Native in-file Office (MS-OFFCRYPTO "agile") encryption needs LibreOffice or a dedicated encryptor that is not bundled here, so Office files are wrapped in a strong AES-256 archive instead. If no AES-256 tool is available for a file, it is reported as a failure — never downgraded to weak ZipCrypto/RC4 (no false assurance).

After running

Relay the password to the user and remind them to share it OUT-OF-BAND — never in the same channel/email as the protected files — and to delete PROTECT-PASSWORD.txt once handed over. Exit code is 0 only if every file was protected; 1 if any failed (check results[].reason).

Related: tools/protect_deliverable.py does the engagement-wide variant (one protected PDF + an AES-256 deliverable zip); this skill protects an arbitrary set of individual files.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Offensive AI security testing and exploitation framework. Systematically tests LLM applications for OWASP Top 10 vulnerabilities including prompt injection, model extraction, data poisoning, and supply chain attacks. Integrates with pentest workflows to discover and exploit AI-specific threats.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

API security testing - GraphQL, REST API, WebSocket, and Web-LLM attack techniques.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

Stitches confirmed single-asset findings into multi-hop attack paths across the organization. Builds a graph where nodes are assets and edges are confirmed exploit hops citing the findings that enable them.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

Acquire an authenticated session THROUGH MFA/OTP on an in-scope target and emit a reusable session artifact (Playwright storageState + Bearer) so executors can test the post-auth attack surface. Use when the highest-value authenticated classes (BOLA/IDOR/mass-assignment/injection on the real data APIs) are blocked because login is gated by SMS-OTP or TOTP MFA. Distinct from the authentication skill (which ATTACKS auth); this one legitimately authenticates and hands the session to the rest of the engagement.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

Authentication security testing - auth bypass, JWT attacks, OAuth flaws, password attacks, 2FA bypass, CAPTCHA bypass, and bot detection evasion.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

Smart contract security testing and blockchain CTF exploitation. Covers Solidity vulnerability analysis, EVM storage manipulation, delegatecall attacks, CREATE/CREATE2 address prediction, and common DeFi exploit patterns. Use when analyzing Solidity contracts, solving blockchain challenges, or testing smart contract security.

中文简介正在准备中。当前显示原文说明。

transilienceai/communitytools5952026年7月30日 更新

查看 transilienceai 的全部技能

报告此技能的问题