Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595 stars(GitHub 595 + cccskills 0)
Works withExcelPowerPoint

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

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

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

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.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

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.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

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

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

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.

The English summary is being prepared. Showing the original description.

transilienceai/communitytools595Updated Jul 30, 2026

See all skills by transilienceai

Report a problem with this skill