auditing-third-party-script-and-sri-trust SKILL.md skillB
auditing-third-party-script-and-sri-trust from unboundcompute/security-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add unboundcompute/security-agent-skills/auditing-third-party-script-and-sri-trust@git:20260901.f8395d1Pins git:20260901.f8395d1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- unboundcompute/security-agent-skills
- Path
skills/auditing-third-party-script-and-sri-trust/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260901.f8395d1, committed Sep 1, 2026
- Size
- 10,482 bytes
- Repository stars
- 26
- License
- MIT
Audit a web application for trust placed in third-party scripts it loads into its own page: an external script tag with no Subresource Integrity hash so a compromised CDN or vendor serves altered code that runs with full page privileges, a tag manager or analytics loader that injects further scripts the site never reviews, a script served over a mutable URL or wildcard source that can be swapped, and a Content-Security- Policy that is missing or permissive enough to allow arbitrary external…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Auditing third-party script and SRI trust: a script tag is code you did not write running as you Every external script a page loads runs in that page's security context: it can read the DOM, cookies accessible to script, form fields, and tokens, and it can send them anywhere. So a third-party script is not a dependency the way a backend library is; it is code you did not write, delivered by a party you do not control, executing with your page's full privileges on your users. The risk is supply-chain: the vendor's CDN is compromised, the vendor ships a malicious update, or the script URL is swapped, and altered code runs on every visitor. A form-skimming attack that steals payment details is exactly this, a legitimate analytics or widget script replaced with one that also reads the checkout form. The defenses are integrity pinning (a Subresource Integrity hash so the browser refuses altered code) and a Content-Security-Policy that constrains which origins may serve script at all, and a tag manager that injects further scripts undoes both by loading code nobody reviewed. The audit inventories every third-party script, checks whether its integrity is pinned and its …
Read the whole file at its exact version.
How to install
mdr add unboundcompute/security-agent-skills/auditing-third-party-script-and-sri-trust@sha256:2038a52a15de7b2dThe line at the top of this page pins the label git:20260901.f8395d1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_us25wfa34etsl5jc)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 1, 2026.
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10482 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
unboundcompute/security-agent-skills · 26 stars · license MIT · pushed 2026-09-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_us25wfa34etsl5jc GET https://markdownregistry.com/api/v1/resolve?ref=unboundcompute/security-agent-skills/auditing-third-party-script-and-sri-trust GET https://markdownregistry.com/api/v1/blob/2038a52a15de7b2d7357894a0b3e15b31a955f761e7e0a3628a5daa7bebfaa42
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.