@prestyj/cli 5.28.1 → 5.29.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/assets/motion/bin/contact-sheet.mjs +9 -3
- package/assets/motion/bin/cues.mjs +337 -0
- package/assets/motion/bin/library.mjs +53 -10
- package/assets/motion/bin/motion-blur.mjs +943 -0
- package/assets/motion/bin/motion-check.mjs +354 -3
- package/assets/motion/bin/music-fit.mjs +436 -0
- package/assets/motion/bin/pdf-extract.mjs +22 -10
- package/assets/motion/bin/reference-study.mjs +346 -0
- package/assets/motion/bin/score-synth.mjs +1052 -93
- package/assets/motion/library/README.md +50 -14
- package/assets/motion/library/kit/moves.js +1981 -0
- package/assets/motion/library/library.json +232 -0
- package/assets/motion/library/pieces/camera-rig/meta.json +13 -0
- package/assets/motion/library/pieces/camera-rig/piece.html +153 -0
- package/assets/motion/library/pieces/camera-rig/preview.jpg +0 -0
- package/assets/motion/library/pieces/chain-knock/meta.json +13 -0
- package/assets/motion/library/pieces/chain-knock/piece.html +195 -0
- package/assets/motion/library/pieces/chain-knock/preview.jpg +0 -0
- package/assets/motion/library/pieces/gather-to-logo/meta.json +13 -0
- package/assets/motion/library/pieces/gather-to-logo/piece.html +159 -0
- package/assets/motion/library/pieces/gather-to-logo/preview.jpg +0 -0
- package/assets/motion/library/pieces/morph-carry/meta.json +13 -0
- package/assets/motion/library/pieces/morph-carry/piece.html +173 -0
- package/assets/motion/library/pieces/morph-carry/preview.jpg +0 -0
- package/assets/motion/library/pieces/one-shape-journey/meta.json +13 -0
- package/assets/motion/library/pieces/one-shape-journey/piece.html +195 -0
- package/assets/motion/library/pieces/one-shape-journey/preview.jpg +0 -0
- package/assets/motion/library/pieces/open-from-subject/meta.json +13 -0
- package/assets/motion/library/pieces/open-from-subject/piece.html +168 -0
- package/assets/motion/library/pieces/open-from-subject/preview.jpg +0 -0
- package/assets/motion/library/pieces/request-to-result/meta.json +13 -0
- package/assets/motion/library/pieces/request-to-result/piece.html +212 -0
- package/assets/motion/library/pieces/request-to-result/preview.jpg +0 -0
- package/assets/motion/library/pieces/scale-dive/meta.json +13 -0
- package/assets/motion/library/pieces/scale-dive/piece.html +321 -0
- package/assets/motion/library/pieces/scale-dive/preview.jpg +0 -0
- package/assets/motion/library/pieces/screen-replica-steps/meta.json +13 -0
- package/assets/motion/library/pieces/screen-replica-steps/piece.html +366 -0
- package/assets/motion/library/pieces/screen-replica-steps/preview.jpg +0 -0
- package/assets/motion/library/pieces/zoom-into-card/meta.json +13 -0
- package/assets/motion/library/pieces/zoom-into-card/piece.html +179 -0
- package/assets/motion/library/pieces/zoom-into-card/preview.jpg +0 -0
- package/assets/motion/library/sheets/diagram.jpg +0 -0
- package/assets/motion/library/sheets/frame.jpg +0 -0
- package/assets/motion/library/sheets/transition.jpg +0 -0
- package/assets/motion/library/sheets/ui.jpg +0 -0
- package/assets/motion/references/build-sheet.md +206 -0
- package/assets/motion/references/runtime/determinism-rules.md +1 -1
- package/assets/motion/references/runtime/gsap-easing-and-stagger.md +29 -29
- package/assets/motion/references/runtime/inputs-and-assets.md +7 -12
- package/assets/motion/references/runtime/lint-validate-inspect.md +3 -3
- package/assets/motion/references/runtime/minimal-composition.md +1 -1
- package/assets/motion/references/runtime/preview-render.md +3 -3
- package/assets/motion/skills/app-walkthrough/SKILL.md +66 -0
- package/assets/motion/skills/before-after/SKILL.md +53 -0
- package/assets/motion/skills/brand-kit/SKILL.md +3 -3
- package/assets/motion/skills/dev-tool-video/SKILL.md +57 -0
- package/assets/motion/skills/launch-video/SKILL.md +62 -0
- package/assets/motion/skills/match-reference/SKILL.md +58 -0
- package/assets/motion/skills/motion/SKILL.md +78 -85
- package/assets/motion/skills/source-ingest/SKILL.md +17 -6
- package/assets/motion/skills/website-video/SKILL.md +59 -0
- package/assets/skills/bulletproof/SKILL.md +36 -11
- package/assets/skills/bulletproof/references/agent-surface.md +19 -9
- package/assets/skills/bulletproof/references/audit-protocol.md +20 -5
- package/assets/skills/bulletproof/references/platform-playbooks.md +5 -4
- package/assets/skills/bulletproof/references/provenance.md +26 -1
- package/assets/skills/bulletproof/references/secure-defaults.md +6 -5
- package/assets/skills/bulletproof/references/supply-chain.md +21 -17
- package/assets/skills/bulletproof/references/threat-landscape.md +28 -26
- package/assets/skills/bulletproof/references/verification.md +2 -0
- package/assets/skills/clarify/SKILL.md +25 -16
- package/assets/skills/code-review/SKILL.md +71 -13
- package/assets/skills/code-review/references/agent-diffs.md +27 -0
- package/assets/skills/code-review/references/tests.md +19 -0
- package/assets/skills/compliance-guard/SKILL.md +20 -5
- package/assets/skills/compliance-guard/references/artifacts.md +1 -1
- package/assets/skills/compliance-guard/references/eu-uk.md +16 -16
- package/assets/skills/compliance-guard/references/lawsuit-vectors.md +5 -5
- package/assets/skills/compliance-guard/references/provenance.md +41 -2
- package/assets/skills/compliance-guard/references/sector-gates.md +3 -3
- package/assets/skills/compliance-guard/references/security-baseline.md +2 -2
- package/assets/skills/compliance-guard/references/trigger-map.md +5 -5
- package/assets/skills/compliance-guard/references/us.md +27 -21
- package/assets/skills/durable/SKILL.md +87 -79
- package/assets/skills/durable/references/agent-db-safety.md +69 -0
- package/assets/skills/durable/references/backups-and-runtime.md +19 -12
- package/assets/skills/durable/references/migrations-and-schema.md +13 -6
- package/assets/skills/evidence-led-ui/SKILL.md +69 -127
- package/assets/skills/evidence-led-ui/references/anti-defaults.md +107 -208
- package/assets/skills/evidence-led-ui/references/direction.md +124 -0
- package/assets/skills/evidence-led-ui/references/production-contract.md +8 -0
- package/assets/skills/evidence-led-ui/references/provenance.md +24 -1
- package/assets/skills/lean/SKILL.md +90 -71
- package/assets/skills/lean/references/memory-and-processes.md +3 -2
- package/assets/skills/lean/references/playbooks.md +37 -12
- package/assets/skills/refactoring/SKILL.md +24 -3
- package/assets/skills/refactoring/references/agent-pitfalls.md +4 -1
- package/assets/skills/refactoring/references/legacy.md +21 -0
- package/assets/skills/root-cause/SKILL.md +20 -10
- package/assets/skills/shared-language/SKILL.md +16 -14
- package/assets/skills/tdd/SKILL.md +27 -15
- package/dist/app-sidecar.js +203 -47
- package/dist/app-sidecar.js.map +1 -1
- package/dist/cli.js +17 -26
- package/dist/cli.js.map +1 -1
- package/dist/core/acceptance-checks.d.ts +48 -0
- package/dist/core/acceptance-checks.js +144 -0
- package/dist/core/acceptance-checks.js.map +1 -0
- package/dist/core/agent-session.d.ts +106 -72
- package/dist/core/agent-session.js +539 -399
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/agents.d.ts +6 -5
- package/dist/core/agents.js.map +1 -1
- package/dist/core/ask-user.d.ts +90 -8
- package/dist/core/ask-user.js +124 -13
- package/dist/core/ask-user.js.map +1 -1
- package/dist/core/bundled-agents.js +1 -3
- package/dist/core/bundled-agents.js.map +1 -1
- package/dist/core/cache-diagnostics.d.ts +68 -0
- package/dist/core/cache-diagnostics.js +196 -0
- package/dist/core/cache-diagnostics.js.map +1 -0
- package/dist/core/cache-expiry.d.ts +87 -0
- package/dist/core/cache-expiry.js +111 -0
- package/dist/core/cache-expiry.js.map +1 -0
- package/dist/core/compaction/compactor.js +78 -48
- package/dist/core/compaction/compactor.js.map +1 -1
- package/dist/core/compaction/plan-step-policy.d.ts +46 -0
- package/dist/core/compaction/plan-step-policy.js +57 -0
- package/dist/core/compaction/plan-step-policy.js.map +1 -0
- package/dist/core/destructive-git-guard.d.ts +90 -0
- package/dist/core/destructive-git-guard.js +871 -0
- package/dist/core/destructive-git-guard.js.map +1 -0
- package/dist/core/event-bus.d.ts +3 -0
- package/dist/core/event-bus.js +5 -0
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/injection-detect.d.ts +38 -0
- package/dist/core/injection-detect.js +232 -0
- package/dist/core/injection-detect.js.map +1 -0
- package/dist/core/keep-awake.d.ts +88 -0
- package/dist/core/keep-awake.js +251 -0
- package/dist/core/keep-awake.js.map +1 -0
- package/dist/core/mcp/client.d.ts +72 -0
- package/dist/core/mcp/client.js +264 -41
- package/dist/core/mcp/client.js.map +1 -1
- package/dist/core/mcp/content.js +6 -2
- package/dist/core/mcp/content.js.map +1 -1
- package/dist/core/mcp/store.d.ts +6 -1
- package/dist/core/mcp/store.js +12 -1
- package/dist/core/mcp/store.js.map +1 -1
- package/dist/core/mcp/types.d.ts +18 -0
- package/dist/core/model-unavailable.d.ts +14 -0
- package/dist/core/model-unavailable.js +23 -0
- package/dist/core/model-unavailable.js.map +1 -0
- package/dist/core/node-debugger.d.ts +148 -0
- package/dist/core/node-debugger.js +642 -0
- package/dist/core/node-debugger.js.map +1 -0
- package/dist/core/package-threats.d.ts +18 -0
- package/dist/core/package-threats.js +168 -0
- package/dist/core/package-threats.js.map +1 -0
- package/dist/core/persistent-shell.d.ts +58 -6
- package/dist/core/persistent-shell.js +331 -49
- package/dist/core/persistent-shell.js.map +1 -1
- package/dist/core/process-manager.d.ts +14 -0
- package/dist/core/process-manager.js +61 -0
- package/dist/core/process-manager.js.map +1 -1
- package/dist/core/progress/git-xp.js +8 -14
- package/dist/core/progress/git-xp.js.map +1 -1
- package/dist/core/session-history.d.ts +12 -0
- package/dist/core/session-history.js +27 -0
- package/dist/core/session-history.js.map +1 -1
- package/dist/core/session-manager.d.ts +13 -1
- package/dist/core/session-manager.js +38 -18
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-summary-index.d.ts +37 -0
- package/dist/core/session-summary-index.js +172 -0
- package/dist/core/session-summary-index.js.map +1 -0
- package/dist/core/settings-manager.d.ts +2 -0
- package/dist/core/settings-manager.js +10 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/shell-threats-popular-packages.d.ts +11 -0
- package/dist/core/shell-threats-popular-packages.js +675 -0
- package/dist/core/shell-threats-popular-packages.js.map +1 -0
- package/dist/core/shell-threats.d.ts +8 -0
- package/dist/core/shell-threats.js +186 -0
- package/dist/core/shell-threats.js.map +1 -0
- package/dist/core/skills.js +3 -1
- package/dist/core/skills.js.map +1 -1
- package/dist/core/stream-rules.d.ts +30 -0
- package/dist/core/stream-rules.js +151 -0
- package/dist/core/stream-rules.js.map +1 -0
- package/dist/core/subagent-manager.d.ts +20 -5
- package/dist/core/subagent-manager.js +22 -8
- package/dist/core/subagent-manager.js.map +1 -1
- package/dist/core/subagent-receipt.d.ts +54 -0
- package/dist/core/subagent-receipt.js +276 -0
- package/dist/core/subagent-receipt.js.map +1 -0
- package/dist/core/subagent-turn-record.d.ts +2 -0
- package/dist/core/subagent-turn-record.js.map +1 -1
- package/dist/core/test-impact.d.ts +73 -0
- package/dist/core/test-impact.js +467 -0
- package/dist/core/test-impact.js.map +1 -0
- package/dist/core/thinking-level.d.ts +1 -1
- package/dist/core/thinking-level.js +1 -1
- package/dist/core/thinking-level.js.map +1 -1
- package/dist/core/verification-gate.d.ts +2 -0
- package/dist/core/verification-gate.js +4 -0
- package/dist/core/verification-gate.js.map +1 -1
- package/dist/core/verification-snapshot.js +3 -5
- package/dist/core/verification-snapshot.js.map +1 -1
- package/dist/core/workspace-guard.d.ts +18 -7
- package/dist/core/workspace-guard.js +227 -60
- package/dist/core/workspace-guard.js.map +1 -1
- package/dist/interactive.js +2 -1
- package/dist/interactive.js.map +1 -1
- package/dist/modes/subagent-worker-mode.js +34 -6
- package/dist/modes/subagent-worker-mode.js.map +1 -1
- package/dist/motion-agent/motion-agent.d.ts +6 -2
- package/dist/motion-agent/motion-agent.js +5 -7
- package/dist/motion-agent/motion-agent.js.map +1 -1
- package/dist/motion-agent/motion-prompt.d.ts +1 -1
- package/dist/motion-agent/motion-prompt.js +14 -19
- package/dist/motion-agent/motion-prompt.js.map +1 -1
- package/dist/motion-agent/motion-review.d.ts +10 -3
- package/dist/motion-agent/motion-review.js +15 -7
- package/dist/motion-agent/motion-review.js.map +1 -1
- package/dist/motion-agent/motion-studio-context.js +1 -1
- package/dist/motion-agent/motion-studio-context.js.map +1 -1
- package/dist/system-prompt.js +3 -1
- package/dist/system-prompt.js.map +1 -1
- package/dist/test-support/keep-alive.d.ts +14 -0
- package/dist/test-support/keep-alive.js +17 -0
- package/dist/test-support/keep-alive.js.map +1 -0
- package/dist/tools/ask-user.js +3 -3
- package/dist/tools/ask-user.js.map +1 -1
- package/dist/tools/bash-read-evidence.d.ts +10 -0
- package/dist/tools/bash-read-evidence.js +133 -0
- package/dist/tools/bash-read-evidence.js.map +1 -0
- package/dist/tools/bash.d.ts +10 -1
- package/dist/tools/bash.js +115 -7
- package/dist/tools/bash.js.map +1 -1
- package/dist/tools/debug.d.ts +54 -0
- package/dist/tools/debug.js +233 -0
- package/dist/tools/debug.js.map +1 -0
- package/dist/tools/edit.js +12 -4
- package/dist/tools/edit.js.map +1 -1
- package/dist/tools/goals.d.ts +1 -1
- package/dist/tools/index.d.ts +19 -2
- package/dist/tools/index.js +47 -7
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/prompt-hints.js +2 -0
- package/dist/tools/prompt-hints.js.map +1 -1
- package/dist/tools/read-tracker.d.ts +5 -0
- package/dist/tools/read-tracker.js +19 -9
- package/dist/tools/read-tracker.js.map +1 -1
- package/dist/tools/read.js +3 -2
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/skill.js +5 -0
- package/dist/tools/skill.js.map +1 -1
- package/dist/tools/subagent-control.js +44 -8
- package/dist/tools/subagent-control.js.map +1 -1
- package/dist/tools/subagent-shared.d.ts +29 -8
- package/dist/tools/subagent-shared.js +45 -14
- package/dist/tools/subagent-shared.js.map +1 -1
- package/dist/tools/subagent.d.ts +8 -2
- package/dist/tools/subagent.js +28 -10
- package/dist/tools/subagent.js.map +1 -1
- package/dist/tools/task-output.js +3 -2
- package/dist/tools/task-output.js.map +1 -1
- package/dist/tools/task-send.d.ts +1 -1
- package/dist/tools/task-send.js +15 -1
- package/dist/tools/task-send.js.map +1 -1
- package/dist/tools/tool-tiers.d.ts +2 -2
- package/dist/tools/tool-tiers.js +3 -2
- package/dist/tools/tool-tiers.js.map +1 -1
- package/dist/tools/truncate.d.ts +21 -0
- package/dist/tools/truncate.js +187 -0
- package/dist/tools/truncate.js.map +1 -1
- package/dist/tools/ui-adopt.js +2 -0
- package/dist/tools/ui-adopt.js.map +1 -1
- package/dist/ui/App.d.ts +0 -4
- package/dist/ui/App.js +5 -28
- package/dist/ui/App.js.map +1 -1
- package/dist/ui/components/ActivityIndicator.js +1 -0
- package/dist/ui/components/ActivityIndicator.js.map +1 -1
- package/dist/ui/hooks/useAgentLoop.d.ts +1 -8
- package/dist/ui/hooks/useAgentLoop.js +1 -119
- package/dist/ui/hooks/useAgentLoop.js.map +1 -1
- package/dist/ui/render.d.ts +0 -4
- package/dist/ui/render.js +0 -2
- package/dist/ui/render.js.map +1 -1
- package/dist/utils/git.d.ts +77 -0
- package/dist/utils/git.js +285 -21
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/github-ci.js +2 -1
- package/dist/utils/github-ci.js.map +1 -1
- package/dist/utils/github.js +11 -9
- package/dist/utils/github.js.map +1 -1
- package/dist/utils/image.d.ts +14 -0
- package/dist/utils/image.js +16 -0
- package/dist/utils/image.js.map +1 -1
- package/dist/utils/process.d.ts +20 -0
- package/dist/utils/process.js +98 -0
- package/dist/utils/process.js.map +1 -1
- package/package.json +5 -5
- package/assets/motion/references/motion-language.md +0 -128
- package/assets/motion/skills/video-qa/SKILL.md +0 -89
- package/dist/core/ideal-review-subagent.d.ts +0 -56
- package/dist/core/ideal-review-subagent.js +0 -112
- package/dist/core/ideal-review-subagent.js.map +0 -1
- package/dist/core/ideal-review.d.ts +0 -82
- package/dist/core/ideal-review.js +0 -242
- package/dist/core/ideal-review.js.map +0 -1
- package/dist/motion-agent/motion-check-tool.d.ts +0 -35
- package/dist/motion-agent/motion-check-tool.js +0 -514
- package/dist/motion-agent/motion-check-tool.js.map +0 -1
|
@@ -0,0 +1,675 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Popular package names for the typosquat check in `shell-threats.ts`.
|
|
3
|
+
*
|
|
4
|
+
* Hand-maintained and deliberately small (~200 per ecosystem): a name one typo
|
|
5
|
+
* away from one of these, and not itself on the list, earns a "did you mean"
|
|
6
|
+
* warning — never a block. Add a legitimate package here when it keeps tripping
|
|
7
|
+
* the warning (e.g. `tsc` sits next to `tsx`, `moto` next to `mock`).
|
|
8
|
+
* PyPI names are stored PEP 503-normalised (lowercase, `-` separators).
|
|
9
|
+
*/
|
|
10
|
+
export const POPULAR_NPM_PACKAGES = [
|
|
11
|
+
// UI frameworks and state
|
|
12
|
+
"react",
|
|
13
|
+
"react-dom",
|
|
14
|
+
"react-router",
|
|
15
|
+
"react-router-dom",
|
|
16
|
+
"react-redux",
|
|
17
|
+
"redux",
|
|
18
|
+
"redux-thunk",
|
|
19
|
+
"@reduxjs/toolkit",
|
|
20
|
+
"next",
|
|
21
|
+
"vue",
|
|
22
|
+
"vue-router",
|
|
23
|
+
"vuex",
|
|
24
|
+
"pinia",
|
|
25
|
+
"nuxt",
|
|
26
|
+
"svelte",
|
|
27
|
+
"@sveltejs/kit",
|
|
28
|
+
"@angular/core",
|
|
29
|
+
"@angular/common",
|
|
30
|
+
"@angular/cli",
|
|
31
|
+
"preact",
|
|
32
|
+
"solid-js",
|
|
33
|
+
"lit",
|
|
34
|
+
"jquery",
|
|
35
|
+
"zustand",
|
|
36
|
+
"jotai",
|
|
37
|
+
"mobx",
|
|
38
|
+
"immer",
|
|
39
|
+
"immutable",
|
|
40
|
+
"react-native",
|
|
41
|
+
"expo",
|
|
42
|
+
"electron",
|
|
43
|
+
"electron-builder",
|
|
44
|
+
"ink",
|
|
45
|
+
// Utilities
|
|
46
|
+
"lodash",
|
|
47
|
+
"lodash-es",
|
|
48
|
+
"underscore",
|
|
49
|
+
"ramda",
|
|
50
|
+
"rxjs",
|
|
51
|
+
"uuid",
|
|
52
|
+
"nanoid",
|
|
53
|
+
"classnames",
|
|
54
|
+
"clsx",
|
|
55
|
+
"tailwind-merge",
|
|
56
|
+
"prop-types",
|
|
57
|
+
"moment",
|
|
58
|
+
"dayjs",
|
|
59
|
+
"date-fns",
|
|
60
|
+
"luxon",
|
|
61
|
+
"zod",
|
|
62
|
+
"yup",
|
|
63
|
+
"joi",
|
|
64
|
+
"ajv",
|
|
65
|
+
"class-validator",
|
|
66
|
+
"class-transformer",
|
|
67
|
+
"qs",
|
|
68
|
+
"query-string",
|
|
69
|
+
"cookie",
|
|
70
|
+
"js-cookie",
|
|
71
|
+
"mime",
|
|
72
|
+
"mime-types",
|
|
73
|
+
"ms",
|
|
74
|
+
"semver",
|
|
75
|
+
"debug",
|
|
76
|
+
"dotenv",
|
|
77
|
+
"dotenv-expand",
|
|
78
|
+
"cross-env",
|
|
79
|
+
"yaml",
|
|
80
|
+
"js-yaml",
|
|
81
|
+
"ini",
|
|
82
|
+
"xml2js",
|
|
83
|
+
"csv-parse",
|
|
84
|
+
"papaparse",
|
|
85
|
+
"validator",
|
|
86
|
+
"crypto-js",
|
|
87
|
+
"bignumber.js",
|
|
88
|
+
"decimal.js",
|
|
89
|
+
"numeral",
|
|
90
|
+
"async",
|
|
91
|
+
"bluebird",
|
|
92
|
+
"p-limit",
|
|
93
|
+
"p-queue",
|
|
94
|
+
"eventemitter3",
|
|
95
|
+
"events",
|
|
96
|
+
"buffer",
|
|
97
|
+
"process",
|
|
98
|
+
"util",
|
|
99
|
+
"path-browserify",
|
|
100
|
+
"tslib",
|
|
101
|
+
"core-js",
|
|
102
|
+
"regenerator-runtime",
|
|
103
|
+
"reflect-metadata",
|
|
104
|
+
"source-map",
|
|
105
|
+
"source-map-support",
|
|
106
|
+
"iconv-lite",
|
|
107
|
+
"safe-buffer",
|
|
108
|
+
"inherits",
|
|
109
|
+
"once",
|
|
110
|
+
"minimatch",
|
|
111
|
+
"micromatch",
|
|
112
|
+
"picomatch",
|
|
113
|
+
"braces",
|
|
114
|
+
"fast-glob",
|
|
115
|
+
"globby",
|
|
116
|
+
"glob",
|
|
117
|
+
"rimraf",
|
|
118
|
+
"mkdirp",
|
|
119
|
+
"fs-extra",
|
|
120
|
+
"chokidar",
|
|
121
|
+
"execa",
|
|
122
|
+
"cross-spawn",
|
|
123
|
+
"which",
|
|
124
|
+
"shelljs",
|
|
125
|
+
"open",
|
|
126
|
+
"tar",
|
|
127
|
+
"archiver",
|
|
128
|
+
"adm-zip",
|
|
129
|
+
"jszip",
|
|
130
|
+
// CLI
|
|
131
|
+
"chalk",
|
|
132
|
+
"commander",
|
|
133
|
+
"yargs",
|
|
134
|
+
"minimist",
|
|
135
|
+
"inquirer",
|
|
136
|
+
"ora",
|
|
137
|
+
"colors",
|
|
138
|
+
"kleur",
|
|
139
|
+
"picocolors",
|
|
140
|
+
"enquirer",
|
|
141
|
+
"prompts",
|
|
142
|
+
"meow",
|
|
143
|
+
"cac",
|
|
144
|
+
"boxen",
|
|
145
|
+
"figlet",
|
|
146
|
+
"cli-table3",
|
|
147
|
+
"listr2",
|
|
148
|
+
"zx",
|
|
149
|
+
// HTTP and servers
|
|
150
|
+
"axios",
|
|
151
|
+
"node-fetch",
|
|
152
|
+
"cross-fetch",
|
|
153
|
+
"isomorphic-fetch",
|
|
154
|
+
"whatwg-fetch",
|
|
155
|
+
"undici",
|
|
156
|
+
"got",
|
|
157
|
+
"ky",
|
|
158
|
+
"superagent",
|
|
159
|
+
"request",
|
|
160
|
+
"form-data",
|
|
161
|
+
"express",
|
|
162
|
+
"koa",
|
|
163
|
+
"fastify",
|
|
164
|
+
"@hapi/hapi",
|
|
165
|
+
"hono",
|
|
166
|
+
"body-parser",
|
|
167
|
+
"cors",
|
|
168
|
+
"helmet",
|
|
169
|
+
"morgan",
|
|
170
|
+
"cookie-parser",
|
|
171
|
+
"express-session",
|
|
172
|
+
"multer",
|
|
173
|
+
"compression",
|
|
174
|
+
"serve-static",
|
|
175
|
+
"http-proxy-middleware",
|
|
176
|
+
"https-proxy-agent",
|
|
177
|
+
"socks-proxy-agent",
|
|
178
|
+
"passport",
|
|
179
|
+
"jsonwebtoken",
|
|
180
|
+
"bcrypt",
|
|
181
|
+
"bcryptjs",
|
|
182
|
+
"ws",
|
|
183
|
+
"socket.io",
|
|
184
|
+
"socket.io-client",
|
|
185
|
+
"graphql",
|
|
186
|
+
"apollo-server",
|
|
187
|
+
"@apollo/client",
|
|
188
|
+
"@trpc/server",
|
|
189
|
+
"@nestjs/core",
|
|
190
|
+
"@nestjs/common",
|
|
191
|
+
"nodemailer",
|
|
192
|
+
"http-server",
|
|
193
|
+
"serve",
|
|
194
|
+
"json-server",
|
|
195
|
+
// Data
|
|
196
|
+
"mongoose",
|
|
197
|
+
"mongodb",
|
|
198
|
+
"mysql",
|
|
199
|
+
"mysql2",
|
|
200
|
+
"pg",
|
|
201
|
+
"sequelize",
|
|
202
|
+
"typeorm",
|
|
203
|
+
"prisma",
|
|
204
|
+
"@prisma/client",
|
|
205
|
+
"knex",
|
|
206
|
+
"redis",
|
|
207
|
+
"ioredis",
|
|
208
|
+
"sqlite3",
|
|
209
|
+
"better-sqlite3",
|
|
210
|
+
"drizzle-orm",
|
|
211
|
+
"firebase",
|
|
212
|
+
"firebase-admin",
|
|
213
|
+
"aws-sdk",
|
|
214
|
+
"@aws-sdk/client-s3",
|
|
215
|
+
"stripe",
|
|
216
|
+
"openai",
|
|
217
|
+
"@anthropic-ai/sdk",
|
|
218
|
+
"langchain",
|
|
219
|
+
"bull",
|
|
220
|
+
"bullmq",
|
|
221
|
+
"kafkajs",
|
|
222
|
+
"amqplib",
|
|
223
|
+
"node-cron",
|
|
224
|
+
"cron",
|
|
225
|
+
// Logging
|
|
226
|
+
"winston",
|
|
227
|
+
"pino",
|
|
228
|
+
"bunyan",
|
|
229
|
+
"log4js",
|
|
230
|
+
// Content
|
|
231
|
+
"sharp",
|
|
232
|
+
"jimp",
|
|
233
|
+
"canvas",
|
|
234
|
+
"cheerio",
|
|
235
|
+
"jsdom",
|
|
236
|
+
"marked",
|
|
237
|
+
"markdown-it",
|
|
238
|
+
"highlight.js",
|
|
239
|
+
"prismjs",
|
|
240
|
+
"handlebars",
|
|
241
|
+
"ejs",
|
|
242
|
+
"pug",
|
|
243
|
+
"mustache",
|
|
244
|
+
"d3",
|
|
245
|
+
"chart.js",
|
|
246
|
+
"three",
|
|
247
|
+
"styled-components",
|
|
248
|
+
"@emotion/react",
|
|
249
|
+
"@emotion/styled",
|
|
250
|
+
"@mui/material",
|
|
251
|
+
"@mui/icons-material",
|
|
252
|
+
"antd",
|
|
253
|
+
"bootstrap",
|
|
254
|
+
"@chakra-ui/react",
|
|
255
|
+
"framer-motion",
|
|
256
|
+
"react-icons",
|
|
257
|
+
"lucide-react",
|
|
258
|
+
"@radix-ui/react-dialog",
|
|
259
|
+
"@tanstack/react-query",
|
|
260
|
+
"react-query",
|
|
261
|
+
"swr",
|
|
262
|
+
"formik",
|
|
263
|
+
"react-hook-form",
|
|
264
|
+
// Build and test tooling
|
|
265
|
+
"typescript",
|
|
266
|
+
"tsc",
|
|
267
|
+
"tsx",
|
|
268
|
+
"ts-node",
|
|
269
|
+
"@types/node",
|
|
270
|
+
"@types/react",
|
|
271
|
+
"@types/react-dom",
|
|
272
|
+
"@types/express",
|
|
273
|
+
"@types/jest",
|
|
274
|
+
"@types/lodash",
|
|
275
|
+
"eslint",
|
|
276
|
+
"prettier",
|
|
277
|
+
"eslint-config-prettier",
|
|
278
|
+
"eslint-plugin-react",
|
|
279
|
+
"eslint-plugin-import",
|
|
280
|
+
"eslint-plugin-react-hooks",
|
|
281
|
+
"eslint-plugin-jsx-a11y",
|
|
282
|
+
"eslint-config-airbnb",
|
|
283
|
+
"@typescript-eslint/parser",
|
|
284
|
+
"@typescript-eslint/eslint-plugin",
|
|
285
|
+
"typescript-eslint",
|
|
286
|
+
"stylelint",
|
|
287
|
+
"jest",
|
|
288
|
+
"ts-jest",
|
|
289
|
+
"vitest",
|
|
290
|
+
"mocha",
|
|
291
|
+
"chai",
|
|
292
|
+
"sinon",
|
|
293
|
+
"supertest",
|
|
294
|
+
"nock",
|
|
295
|
+
"msw",
|
|
296
|
+
"@faker-js/faker",
|
|
297
|
+
"@testing-library/react",
|
|
298
|
+
"@testing-library/jest-dom",
|
|
299
|
+
"@testing-library/user-event",
|
|
300
|
+
"jest-environment-jsdom",
|
|
301
|
+
"happy-dom",
|
|
302
|
+
"cypress",
|
|
303
|
+
"playwright",
|
|
304
|
+
"@playwright/test",
|
|
305
|
+
"puppeteer",
|
|
306
|
+
"puppeteer-core",
|
|
307
|
+
"webpack",
|
|
308
|
+
"webpack-cli",
|
|
309
|
+
"webpack-dev-server",
|
|
310
|
+
"babel-loader",
|
|
311
|
+
"css-loader",
|
|
312
|
+
"style-loader",
|
|
313
|
+
"sass-loader",
|
|
314
|
+
"html-webpack-plugin",
|
|
315
|
+
"mini-css-extract-plugin",
|
|
316
|
+
"vite",
|
|
317
|
+
"@vitejs/plugin-react",
|
|
318
|
+
"rollup",
|
|
319
|
+
"@rollup/plugin-node-resolve",
|
|
320
|
+
"@rollup/plugin-commonjs",
|
|
321
|
+
"esbuild",
|
|
322
|
+
"parcel",
|
|
323
|
+
"tsup",
|
|
324
|
+
"unbuild",
|
|
325
|
+
"turbo",
|
|
326
|
+
"nx",
|
|
327
|
+
"lerna",
|
|
328
|
+
"@babel/core",
|
|
329
|
+
"@babel/preset-env",
|
|
330
|
+
"@babel/preset-react",
|
|
331
|
+
"@babel/preset-typescript",
|
|
332
|
+
"@babel/cli",
|
|
333
|
+
"@babel/runtime",
|
|
334
|
+
"terser",
|
|
335
|
+
"uglify-js",
|
|
336
|
+
"acorn",
|
|
337
|
+
"postcss",
|
|
338
|
+
"autoprefixer",
|
|
339
|
+
"tailwindcss",
|
|
340
|
+
"sass",
|
|
341
|
+
"less",
|
|
342
|
+
"cssnano",
|
|
343
|
+
"nodemon",
|
|
344
|
+
"concurrently",
|
|
345
|
+
"husky",
|
|
346
|
+
"lint-staged",
|
|
347
|
+
"@commitlint/cli",
|
|
348
|
+
"semantic-release",
|
|
349
|
+
"pm2",
|
|
350
|
+
"storybook",
|
|
351
|
+
"@storybook/react",
|
|
352
|
+
"pnpm",
|
|
353
|
+
"yarn",
|
|
354
|
+
"npm",
|
|
355
|
+
"create-react-app",
|
|
356
|
+
"create-next-app",
|
|
357
|
+
"create-vite",
|
|
358
|
+
"degit",
|
|
359
|
+
"ts-morph",
|
|
360
|
+
];
|
|
361
|
+
export const POPULAR_PYPI_PACKAGES = [
|
|
362
|
+
// Core and packaging
|
|
363
|
+
"pip",
|
|
364
|
+
"setuptools",
|
|
365
|
+
"wheel",
|
|
366
|
+
"six",
|
|
367
|
+
"packaging",
|
|
368
|
+
"typing-extensions",
|
|
369
|
+
"certifi",
|
|
370
|
+
"idna",
|
|
371
|
+
"charset-normalizer",
|
|
372
|
+
"chardet",
|
|
373
|
+
"urllib3",
|
|
374
|
+
"requests",
|
|
375
|
+
"python-dateutil",
|
|
376
|
+
"pyyaml",
|
|
377
|
+
"attrs",
|
|
378
|
+
"cattrs",
|
|
379
|
+
"filelock",
|
|
380
|
+
"platformdirs",
|
|
381
|
+
"distlib",
|
|
382
|
+
"importlib-metadata",
|
|
383
|
+
"zipp",
|
|
384
|
+
"decorator",
|
|
385
|
+
"wrapt",
|
|
386
|
+
"deprecated",
|
|
387
|
+
"virtualenv",
|
|
388
|
+
"pipenv",
|
|
389
|
+
"poetry",
|
|
390
|
+
"poetry-core",
|
|
391
|
+
"hatchling",
|
|
392
|
+
"build",
|
|
393
|
+
"twine",
|
|
394
|
+
"setuptools-scm",
|
|
395
|
+
"cython",
|
|
396
|
+
"pybind11",
|
|
397
|
+
"cmake",
|
|
398
|
+
"ninja",
|
|
399
|
+
"toml",
|
|
400
|
+
"tomli",
|
|
401
|
+
"tomlkit",
|
|
402
|
+
"configparser",
|
|
403
|
+
"regex",
|
|
404
|
+
"more-itertools",
|
|
405
|
+
"toolz",
|
|
406
|
+
"cachetools",
|
|
407
|
+
"sortedcontainers",
|
|
408
|
+
"pytz",
|
|
409
|
+
"tzdata",
|
|
410
|
+
"tzlocal",
|
|
411
|
+
"arrow",
|
|
412
|
+
"pendulum",
|
|
413
|
+
"python-dotenv",
|
|
414
|
+
"environs",
|
|
415
|
+
"psutil",
|
|
416
|
+
"pywin32",
|
|
417
|
+
"pyinstaller",
|
|
418
|
+
"pexpect",
|
|
419
|
+
"typer",
|
|
420
|
+
"click",
|
|
421
|
+
"fire",
|
|
422
|
+
"docopt",
|
|
423
|
+
"rich",
|
|
424
|
+
"colorama",
|
|
425
|
+
"termcolor",
|
|
426
|
+
"tabulate",
|
|
427
|
+
"prettytable",
|
|
428
|
+
"tqdm",
|
|
429
|
+
"loguru",
|
|
430
|
+
"structlog",
|
|
431
|
+
"tenacity",
|
|
432
|
+
"backoff",
|
|
433
|
+
"retry",
|
|
434
|
+
// Crypto and auth
|
|
435
|
+
"cryptography",
|
|
436
|
+
"cffi",
|
|
437
|
+
"pycparser",
|
|
438
|
+
"pyasn1",
|
|
439
|
+
"rsa",
|
|
440
|
+
"pyjwt",
|
|
441
|
+
"python-jose",
|
|
442
|
+
"passlib",
|
|
443
|
+
"bcrypt",
|
|
444
|
+
"pynacl",
|
|
445
|
+
"pyopenssl",
|
|
446
|
+
"oauthlib",
|
|
447
|
+
"requests-oauthlib",
|
|
448
|
+
"google-auth",
|
|
449
|
+
// Web
|
|
450
|
+
"flask",
|
|
451
|
+
"django",
|
|
452
|
+
"djangorestframework",
|
|
453
|
+
"django-cors-headers",
|
|
454
|
+
"channels",
|
|
455
|
+
"whitenoise",
|
|
456
|
+
"fastapi",
|
|
457
|
+
"uvicorn",
|
|
458
|
+
"starlette",
|
|
459
|
+
"gunicorn",
|
|
460
|
+
"werkzeug",
|
|
461
|
+
"itsdangerous",
|
|
462
|
+
"jinja2",
|
|
463
|
+
"markupsafe",
|
|
464
|
+
"mako",
|
|
465
|
+
"flask-cors",
|
|
466
|
+
"flask-sqlalchemy",
|
|
467
|
+
"flask-login",
|
|
468
|
+
"sanic",
|
|
469
|
+
"falcon",
|
|
470
|
+
"bottle",
|
|
471
|
+
"pyramid",
|
|
472
|
+
"tornado",
|
|
473
|
+
"aiohttp",
|
|
474
|
+
"httpx",
|
|
475
|
+
"httpcore",
|
|
476
|
+
"h11",
|
|
477
|
+
"anyio",
|
|
478
|
+
"sniffio",
|
|
479
|
+
"multidict",
|
|
480
|
+
"yarl",
|
|
481
|
+
"frozenlist",
|
|
482
|
+
"aiosignal",
|
|
483
|
+
"async-timeout",
|
|
484
|
+
"aiofiles",
|
|
485
|
+
"websockets",
|
|
486
|
+
"websocket-client",
|
|
487
|
+
"python-multipart",
|
|
488
|
+
"email-validator",
|
|
489
|
+
"pydantic",
|
|
490
|
+
"pydantic-core",
|
|
491
|
+
"pydantic-settings",
|
|
492
|
+
"marshmallow",
|
|
493
|
+
"jsonschema",
|
|
494
|
+
"simplejson",
|
|
495
|
+
"ujson",
|
|
496
|
+
"orjson",
|
|
497
|
+
"msgpack",
|
|
498
|
+
"protobuf",
|
|
499
|
+
"grpcio",
|
|
500
|
+
"grpcio-tools",
|
|
501
|
+
"googleapis-common-protos",
|
|
502
|
+
"google-api-core",
|
|
503
|
+
"beautifulsoup4",
|
|
504
|
+
"bs4",
|
|
505
|
+
"lxml",
|
|
506
|
+
"html5lib",
|
|
507
|
+
"soupsieve",
|
|
508
|
+
"scrapy",
|
|
509
|
+
"selenium",
|
|
510
|
+
"playwright",
|
|
511
|
+
"pyppeteer",
|
|
512
|
+
"streamlit",
|
|
513
|
+
"gradio",
|
|
514
|
+
"dash",
|
|
515
|
+
// Data, storage and cloud
|
|
516
|
+
"sqlalchemy",
|
|
517
|
+
"alembic",
|
|
518
|
+
"sqlmodel",
|
|
519
|
+
"peewee",
|
|
520
|
+
"psycopg2",
|
|
521
|
+
"psycopg2-binary",
|
|
522
|
+
"psycopg",
|
|
523
|
+
"asyncpg",
|
|
524
|
+
"aiosqlite",
|
|
525
|
+
"pymysql",
|
|
526
|
+
"mysqlclient",
|
|
527
|
+
"pymongo",
|
|
528
|
+
"motor",
|
|
529
|
+
"redis",
|
|
530
|
+
"elasticsearch",
|
|
531
|
+
"celery",
|
|
532
|
+
"kombu",
|
|
533
|
+
"boto3",
|
|
534
|
+
"botocore",
|
|
535
|
+
"s3transfer",
|
|
536
|
+
"jmespath",
|
|
537
|
+
"moto",
|
|
538
|
+
"boto",
|
|
539
|
+
"azure-core",
|
|
540
|
+
"azure-storage-blob",
|
|
541
|
+
"azure-identity",
|
|
542
|
+
"google-cloud-storage",
|
|
543
|
+
"docker",
|
|
544
|
+
"kubernetes",
|
|
545
|
+
"paramiko",
|
|
546
|
+
"fabric",
|
|
547
|
+
"invoke",
|
|
548
|
+
"ansible",
|
|
549
|
+
"sentry-sdk",
|
|
550
|
+
"prometheus-client",
|
|
551
|
+
// Science and ML
|
|
552
|
+
"numpy",
|
|
553
|
+
"pandas",
|
|
554
|
+
"scipy",
|
|
555
|
+
"scikit-learn",
|
|
556
|
+
"matplotlib",
|
|
557
|
+
"seaborn",
|
|
558
|
+
"plotly",
|
|
559
|
+
"bokeh",
|
|
560
|
+
"altair",
|
|
561
|
+
"pillow",
|
|
562
|
+
"opencv-python",
|
|
563
|
+
"scikit-image",
|
|
564
|
+
"imageio",
|
|
565
|
+
"tensorflow",
|
|
566
|
+
"keras",
|
|
567
|
+
"torch",
|
|
568
|
+
"torchvision",
|
|
569
|
+
"torchaudio",
|
|
570
|
+
"transformers",
|
|
571
|
+
"tokenizers",
|
|
572
|
+
"huggingface-hub",
|
|
573
|
+
"datasets",
|
|
574
|
+
"accelerate",
|
|
575
|
+
"safetensors",
|
|
576
|
+
"sentencepiece",
|
|
577
|
+
"sentence-transformers",
|
|
578
|
+
"openai",
|
|
579
|
+
"anthropic",
|
|
580
|
+
"langchain",
|
|
581
|
+
"langchain-core",
|
|
582
|
+
"langchain-community",
|
|
583
|
+
"tiktoken",
|
|
584
|
+
"nltk",
|
|
585
|
+
"spacy",
|
|
586
|
+
"gensim",
|
|
587
|
+
"xgboost",
|
|
588
|
+
"lightgbm",
|
|
589
|
+
"catboost",
|
|
590
|
+
"statsmodels",
|
|
591
|
+
"sympy",
|
|
592
|
+
"networkx",
|
|
593
|
+
"numba",
|
|
594
|
+
"llvmlite",
|
|
595
|
+
"pyarrow",
|
|
596
|
+
"polars",
|
|
597
|
+
"dask",
|
|
598
|
+
"joblib",
|
|
599
|
+
"threadpoolctl",
|
|
600
|
+
"jax",
|
|
601
|
+
"jaxlib",
|
|
602
|
+
"flax",
|
|
603
|
+
"optax",
|
|
604
|
+
"einops",
|
|
605
|
+
"onnx",
|
|
606
|
+
"onnxruntime",
|
|
607
|
+
"mlflow",
|
|
608
|
+
"wandb",
|
|
609
|
+
"tensorboard",
|
|
610
|
+
"optuna",
|
|
611
|
+
"ray",
|
|
612
|
+
"chromadb",
|
|
613
|
+
"faiss-cpu",
|
|
614
|
+
"shapely",
|
|
615
|
+
"geopandas",
|
|
616
|
+
"folium",
|
|
617
|
+
"pyproj",
|
|
618
|
+
"openpyxl",
|
|
619
|
+
"xlrd",
|
|
620
|
+
"xlsxwriter",
|
|
621
|
+
"python-docx",
|
|
622
|
+
"pypdf",
|
|
623
|
+
"pypdf2",
|
|
624
|
+
"reportlab",
|
|
625
|
+
// Dev and test
|
|
626
|
+
"pytest",
|
|
627
|
+
"pytest-cov",
|
|
628
|
+
"pytest-mock",
|
|
629
|
+
"pytest-asyncio",
|
|
630
|
+
"coverage",
|
|
631
|
+
"mock",
|
|
632
|
+
"tox",
|
|
633
|
+
"nox",
|
|
634
|
+
"hypothesis",
|
|
635
|
+
"responses",
|
|
636
|
+
"freezegun",
|
|
637
|
+
"faker",
|
|
638
|
+
"factory-boy",
|
|
639
|
+
"black",
|
|
640
|
+
"isort",
|
|
641
|
+
"flake8",
|
|
642
|
+
"pylint",
|
|
643
|
+
"mypy",
|
|
644
|
+
"ruff",
|
|
645
|
+
"autopep8",
|
|
646
|
+
"yapf",
|
|
647
|
+
"pre-commit",
|
|
648
|
+
"types-requests",
|
|
649
|
+
"sphinx",
|
|
650
|
+
"docutils",
|
|
651
|
+
"mkdocs",
|
|
652
|
+
"mkdocs-material",
|
|
653
|
+
"markdown",
|
|
654
|
+
"pygments",
|
|
655
|
+
"jupyter",
|
|
656
|
+
"notebook",
|
|
657
|
+
"jupyterlab",
|
|
658
|
+
"ipython",
|
|
659
|
+
"ipykernel",
|
|
660
|
+
"ipywidgets",
|
|
661
|
+
"nbformat",
|
|
662
|
+
"nbconvert",
|
|
663
|
+
"traitlets",
|
|
664
|
+
"pyzmq",
|
|
665
|
+
"greenlet",
|
|
666
|
+
"gevent",
|
|
667
|
+
"eventlet",
|
|
668
|
+
"uvloop",
|
|
669
|
+
"watchdog",
|
|
670
|
+
"pygame",
|
|
671
|
+
"pyqt5",
|
|
672
|
+
"pyside6",
|
|
673
|
+
"pyserial",
|
|
674
|
+
];
|
|
675
|
+
//# sourceMappingURL=shell-threats-popular-packages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shell-threats-popular-packages.js","sourceRoot":"","sources":["../../src/core/shell-threats-popular-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAsB;IACrD,0BAA0B;IAC1B,OAAO;IACP,WAAW;IACX,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,OAAO;IACP,aAAa;IACb,kBAAkB;IAClB,MAAM;IACN,KAAK;IACL,YAAY;IACZ,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,QAAQ;IACR,UAAU;IACV,KAAK;IACL,QAAQ;IACR,SAAS;IACT,OAAO;IACP,MAAM;IACN,OAAO;IACP,WAAW;IACX,cAAc;IACd,MAAM;IACN,UAAU;IACV,kBAAkB;IAClB,KAAK;IACL,YAAY;IACZ,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,OAAO;IACP,MAAM;IACN,MAAM;IACN,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,gBAAgB;IAChB,YAAY;IACZ,QAAQ;IACR,OAAO;IACP,UAAU;IACV,OAAO;IACP,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,iBAAiB;IACjB,mBAAm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,UAAU;IACV,aAAa;IACb,OAAO;IACP,UAAU;IACV,OAAO;IACP,UAAU;IACV,SAAS;IACT,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,eAAe;IACf,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,QAAQ;IACR,OAAO;IACP,aAAa;IACb,QAAQ;IACR,KAAK;IACL,UAAU;IACV,WAAW;IACX,SAAS;IACT,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,MAAM;IACN,YAAY;IACZ,aAAa;IACb,OAAO;IACP,QAAQ;IACR,WAAW;IACX,eAAe;IACf,QAAQ;IACR,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,MAAM;IACN,KAAK;IACL,KAAK;IACL,YAAY;IACZ,WAAW;IACX,WAAW;IACX,OAAO;IACP,aAAa;IACb,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,UAAU;IACV,MAAM;IACN,YAAY;IACZ,gBAAgB;IAChB,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,iBAAiB;IACjB,UAAU;IACV,UAAU;IACV,SAAS;IACT,UAAU;IACV,YAAY;IACZ,SAAS;IACT,WAAW;IACX,YAAY;IACZ,UAAU;IACV,WAAW;IACX,WAAW;IACX,OAAO;IACP,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,OAAO;IACP,SAAS;IACT,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ShellThreat {
|
|
2
|
+
rule: string;
|
|
3
|
+
severity: "block" | "warn";
|
|
4
|
+
detail: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function checkShellThreats(command: string): ShellThreat[];
|
|
7
|
+
/** First blocking threat as a refusal message, or null when the command may run. */
|
|
8
|
+
export declare function shellThreatBlockMessage(command: string): string | null;
|