@testzugang/pi-plugin-dependency-audit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/package.json +23 -0
- package/skills/dependency-audit/README.md +105 -0
- package/skills/dependency-audit/SKILL.md +353 -0
- package/skills/dependency-audit/config.json +3 -0
- package/skills/dependency-audit/examples/github-actions-static-audit.yml +46 -0
- package/skills/dependency-audit/examples/sample-commands.md +110 -0
- package/skills/dependency-audit/rules/iocs.txt +23 -0
- package/skills/dependency-audit/rules/review-policy.md +38 -0
- package/skills/dependency-audit/scripts/npm_ts_static_triage.py +1345 -0
- package/skills/dependency-audit/scripts/pi-check-all-updates.sh +15 -0
- package/skills/dependency-audit/scripts/pi-check-current-global-versions.sh +37 -0
- package/skills/dependency-audit/scripts/pi-check-git-source-updates.sh +57 -0
- package/skills/dependency-audit/scripts/pi-check-latest-npm-versions.sh +25 -0
- package/skills/dependency-audit/scripts/pi-default-git-repos.txt +4 -0
- package/skills/dependency-audit/scripts/pi-default-packages.txt +16 -0
- package/skills/dependency-audit/scripts/pi-interactive-update.py +151 -0
- package/skills/dependency-audit/scripts/run_pi_dependency_audit.py +528 -0
- package/skills/dependency-audit/scripts/summarize_pi_dependency_audit.py +242 -0
- package/skills/dependency-audit/templates/report.md +102 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# npm/TypeScript supply-chain IOC seeds.
|
|
2
|
+
# One indicator per line. hxxp and [.] are normalized by scripts/npm_ts_static_triage.py.
|
|
3
|
+
# Campaign context: SafeDep report from 2026-05-12 on TanStack/Mistral/mini-shai-hulud.
|
|
4
|
+
hxxp://filev2[.]getsession[.]org/file/
|
|
5
|
+
getsession[.]org
|
|
6
|
+
hxxp://169[.]254[.]169[.]254/latest/meta-data/iam/security-credentials/
|
|
7
|
+
hxxp://127[.]0[.]0[.]1:8200
|
|
8
|
+
hxxps://github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/
|
|
9
|
+
hxxps://git-tanstack[.]com/transformers.pyz
|
|
10
|
+
git-tanstack[.]com
|
|
11
|
+
transformers.pyz
|
|
12
|
+
tanstack_runner.js
|
|
13
|
+
router_init.js
|
|
14
|
+
router_runtime.js
|
|
15
|
+
.claude/settings.json
|
|
16
|
+
.claude/setup.mjs
|
|
17
|
+
.vscode/tasks.json
|
|
18
|
+
.vscode/setup.mjs
|
|
19
|
+
createCommitOnBranch
|
|
20
|
+
@tanstack/setup
|
|
21
|
+
tanstack/router#79ac49eedf774dd4b0cfa308722bc463cfe5885c
|
|
22
|
+
79ac49eedf774dd4b0cfa308722bc463cfe5885c
|
|
23
|
+
ce7e4199506959fd7a71b64209b2c07b9c82e53a946aa7d78298dc9249230d01
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# npm/TypeScript review policy
|
|
2
|
+
|
|
3
|
+
## Block by default
|
|
4
|
+
|
|
5
|
+
Block use until human review when any of these are present:
|
|
6
|
+
|
|
7
|
+
- Install-phase lifecycle script: `preinstall`, `install`, `postinstall`, `prepublish`, `prepare`, `dependencies`.
|
|
8
|
+
- Git/URL/File/Alias dependency in `optionalDependencies`.
|
|
9
|
+
- Git dependency not pinned to a full 40-character commit SHA.
|
|
10
|
+
- Lockfile entry with `hasInstallScript: true` that is not on an explicit allowlist.
|
|
11
|
+
- Remote tarball URL outside the approved registry list.
|
|
12
|
+
- Missing integrity for registry tarballs.
|
|
13
|
+
- Obfuscated JS/TS in lifecycle-referenced files or package root.
|
|
14
|
+
- Native binary artifacts without provenance and reproducible-build documentation.
|
|
15
|
+
- GitHub Actions workflow with untrusted PR code plus write/publish/OIDC permissions.
|
|
16
|
+
|
|
17
|
+
## Quarantine
|
|
18
|
+
|
|
19
|
+
Quarantine and do not install when any of these are present:
|
|
20
|
+
|
|
21
|
+
- Known IOC from `rules/iocs.txt`.
|
|
22
|
+
- Download+execute chain.
|
|
23
|
+
- Credential access plus network or GitHub write API.
|
|
24
|
+
- Cloud metadata / Vault / local token harvesting.
|
|
25
|
+
- IDE/AI-agent config persistence in package tarball.
|
|
26
|
+
- Live token or private credential in published package/repo.
|
|
27
|
+
- Tarball path traversal.
|
|
28
|
+
|
|
29
|
+
## Allowlist evidence required
|
|
30
|
+
|
|
31
|
+
For each allowlisted exception, record:
|
|
32
|
+
|
|
33
|
+
- Package name/version or repo commit.
|
|
34
|
+
- Exact file and line.
|
|
35
|
+
- Why the behavior is required.
|
|
36
|
+
- Owner approving the exception.
|
|
37
|
+
- Expiration/review date.
|
|
38
|
+
- Safer alternative considered.
|