upss-security-guard

Category: Development & Coding | Uploader: upss-standardupss-standard | Downloads: 0 | Version: v1.0(Latest)

Enforces Universal Prompt Security Standard (UPSS) for every prompt interaction — detects and blocks prompt injection, jailbreaks, role confusion, privilege escalation, encoding exploits, and supply-chain tampering before any LLM execution.

Changelog: Source: GitHub https://github.com/upss-standard/universal-prompt-security-standard

Directory Structure

Current level: tree/main/

  • 📁 .github/
    • 📁 workflows/
      • 📄 python-ci.yml 13.7 KB
      • 📄 python-publish.yml 11.8 KB
      • 📄 README.md 6.7 KB
      • 📄 zenodo-metadata-update.yml 12.6 KB
    • 📄 PR_CITATION_DESCRIPTION.md 7.0 KB
    • 📄 WORKFLOWS.md 14.5 KB
  • 📁 config/
    • 📁 zenodo/
      • 📄 metadata.json 2.7 KB
      • 📄 README.md 5.5 KB
  • 📁 docs/
    • 📄 compliance.md 23.8 KB
    • 📄 governance.md 15.5 KB
    • 📄 implementation.md 23.2 KB
    • 📄 migration.md 10.8 KB
    • 📄 openclaw-installation.md 5.9 KB
    • 📄 openclaw.md 4.5 KB
    • 📄 proposal.md 11.3 KB
    • 📄 security-checklist.md 10.7 KB
  • 📁 examples/
    • 📁 java/
      • 📄 pom.xml 2.2 KB
      • 📄 README.md 1.6 KB
    • 📁 javascript/
      • 📁 prompts/
        • 📁 system/
          • 📄 assistant.md 651 B
        • 📁 user/
          • 📄 greeting.md 211 B
      • 📁 src/
        • 📄 cli.js 1.7 KB
        • 📄 upss-loader.js 2.6 KB
      • 📄 package.json 621 B
      • 📄 README.md 2.2 KB
      • 📄 upss_config.yaml 912 B
    • 📁 openclaw-basic/
      • 📄 agent.yaml 656 B
      • 📄 demo.ts 2.3 KB
      • 📄 prompts.json 2.4 KB
      • 📄 prompts.schema.json 3.2 KB
    • 📁 python/
      • 📁 prompts/
        • 📁 system/
          • 📄 assistant.md 651 B
          • 📄 code_review.md 614 B
        • 📁 user/
          • 📄 greeting.md 211 B
      • 📁 tests/
        • 📄 test_upss.py 6.8 KB
      • 📄 basic_middleware_usage.py 3.1 KB
      • 📄 example_app.py 2.1 KB
      • 📄 flask_app.py 6.1 KB
      • 📄 README.md 2.1 KB
      • 📄 requirements.txt 39 B
      • 📄 upss_config.yaml 1.1 KB
      • 📄 upss_loader.py 4.9 KB
      • 📄 validator.py 8.2 KB
    • 📄 README.md 1.4 KB
  • 📁 images/
    • 📄 banner.png 1.4 MB
  • 📁 implementations/
    • 📁 openclaw-extension/
      • 📁 upss-security-guard/
        • 📁 skill/
          • 📄 SKILL.md 16.5 KB
        • 📄 config.ts 993 B
        • 📄 index.ts 9.7 KB
        • 📄 openclaw-plugin-sdk.d.ts 1009 B
        • 📄 openclaw.plugin.json 3.2 KB
        • 📄 package-lock.json 59.2 KB
        • 📄 package.json 896 B
        • 📄 pipeline.ts 6.4 KB
        • 📄 tsconfig.json 483 B
    • 📁 python/
      • 📁 docker/
        • 📁 pgadmin/
          • 📄 servers.json 310 B
        • 📁 postgres/
          • 📁 config/
            • 📄 postgresql.conf 6.5 KB
          • 📁 exporter/
            • 📄 queries.yaml 2.5 KB
          • 📁 init/
            • 📄 01-init-schema.sql 13.9 KB
          • 📄 backup.sh 4.7 KB
          • 📄 healthcheck.sh 3.7 KB
        • 📄 .env.example 1.9 KB
        • 📄 docker-compose.yml 4.0 KB
        • 📄 Dockerfile.postgres 2.6 KB
        • 📄 README.md 11.2 KB
      • 📁 examples/
        • 📄 basic_usage.py 4.9 KB
      • 📁 prompts/
        • 📄 audit.jsonl 0 B
        • 📄 metadata.json 19 B
        • 📄 roles.json 38 B
      • 📁 tests/
        • 📄 test_integration.py 13.1 KB
        • 📄 test_middleware.py 18.8 KB
        • 📄 test_upss.py 6.9 KB
      • 📁 upss/
        • 📁 cli/
          • 📄 __init__.py 0 B
          • 📄 main.py 4.7 KB
        • 📁 core/
          • 📄 __init__.py 0 B
          • 📄 audit.py 3.0 KB
          • 📄 client.py 7.8 KB
          • 📄 exceptions.py 1.1 KB
          • 📄 middleware.py 7.9 KB
          • 📄 models.py 1.0 KB
          • 📄 rbac.py 3.8 KB
        • 📁 middleware/
          • 📄 __init__.py 1.2 KB
          • 📄 auditor.py 10.3 KB
          • 📄 checksum.py 8.7 KB
          • 📄 ratelimit.py 9.6 KB
          • 📄 rbac.py 4.1 KB
          • 📄 sanitizer.py 4.1 KB
          • 📄 validator.py 2.6 KB
        • 📁 migration/
          • 📄 __init__.py 0 B
          • 📄 decorator.py 1.3 KB
        • 📁 security/
          • 📄 __init__.py 0 B
          • 📄 scanner.py 3.8 KB
        • 📁 storage/
          • 📄 __init__.py 0 B
          • 📄 filesystem.py 8.2 KB
          • 📄 postgresql.py 1.7 KB
        • 📄 __init__.py 1.6 KB
      • 📄 .gitignore 422 B
      • 📄 CHANGELOG.md 1.7 KB
      • 📄 MIDDLEWARE.md 11.7 KB
      • 📄 pyproject.toml 2.6 KB
      • 📄 README.md 5.4 KB
      • 📄 TESTING.md 4.7 KB
    • 📁 typescript/
      • 📁 packages/
        • 📁 core/
          • 📁 src/
            • 📁 core/
              • 📄 exceptions.ts 2.1 KB
              • 📄 index.ts 430 B
              • 📄 middleware.ts 4.5 KB
              • 📄 models.ts 3.3 KB
            • 📁 middleware/
              • 📄 checksum.ts 4.9 KB
              • 📄 index.ts 261 B
              • 📄 ratelimit.ts 5.3 KB
              • 📄 rbac.ts 3.9 KB
              • 📄 sanitizer.ts 3.5 KB
              • 📄 validator.ts 2.9 KB
            • 📁 security/
              • 📄 index.ts 322 B
              • 📄 scanner.ts 4.0 KB
              • 📄 six-gate-pipeline.ts 6.2 KB
            • 📄 index.ts 1.7 KB
            • 📄 version.ts 72 B
          • 📄 package.json 826 B
          • 📄 tsconfig.json 628 B
        • 📁 openclaw/
          • 📁 src/
            • 📁 config/
              • 📄 index.ts 29 B
              • 📄 plugin.ts 3.6 KB
            • 📁 hooks/
              • 📄 agent-end.ts 1.5 KB
              • 📄 before-prompt-build.ts 4.0 KB
              • 📄 index.ts 228 B
              • 📄 message-preprocessed.ts 3.7 KB
              • 📄 types.ts 1.3 KB
            • 📁 tools/
              • 📄 index.ts 38 B
              • 📄 validate-prompt.ts 6.4 KB
            • 📄 index.ts 3.2 KB
          • 📄 package.json 857 B
          • 📄 tsconfig.json 496 B
      • 📄 package-lock.json 161.4 KB
      • 📄 package.json 406 B
      • 📄 README.md 1.0 KB
  • 📁 packages/
    • 📁 upss-core/
      • 📁 src/
        • 📁 core/
          • 📄 context.ts 1.4 KB
          • 📄 exceptions.ts 2.1 KB
          • 📄 middleware.ts 860 B
          • 📄 pipeline.ts 3.3 KB
          • 📄 result.ts 1.2 KB
        • 📁 middleware/
          • 📄 auditor.ts 3.4 KB
          • 📄 rbac.ts 3.1 KB
          • 📄 sanitizer.ts 2.1 KB
          • 📄 validator.ts 2.9 KB
        • 📁 scanner/
          • 📄 patterns.ts 1.7 KB
        • 📁 storage/
          • 📄 filesystem.ts 2.0 KB
          • 📄 rules.ts 1.9 KB
        • 📄 index.ts 1.5 KB
      • 📁 tests/
        • 📄 middleware.test.ts 5.1 KB
      • 📄 package-lock.json 59.5 KB
      • 📄 package.json 592 B
      • 📄 tsconfig.json 668 B
      • 📄 vitest.config.ts 177 B
    • 📁 upss-openclaw/
      • 📁 examples/
        • 📁 basic/
          • 📁 prompts/
            • 📄 assistant.txt 83 B
            • 📄 greeting.txt 56 B
          • 📄 prompts.json 236 B
          • 📄 README.md 2.2 KB
      • 📁 src/
        • 📁 config/
          • 📄 schema.ts 1.7 KB
        • 📁 hooks/
          • 📄 agent-end.ts 1.2 KB
          • 📄 before-prompt-build.ts 2.4 KB
          • 📄 message-received.ts 1.9 KB
        • 📁 tools/
          • 📄 validate-prompt.ts 1.4 KB
        • 📁 utils/
          • 📄 prompt-loader.ts 2.6 KB
        • 📄 index.ts 4.6 KB
      • 📄 package-lock.json 61.1 KB
      • 📄 package.json 678 B
      • 📄 tsconfig.json 668 B
      • 📄 vitest.config.ts 177 B
  • 📁 paper/
    • 📁 sections/
      • 📄 background.tex 5.3 KB
      • 📄 conclusion.tex 4.0 KB
      • 📄 discussion.tex 6.4 KB
      • 📄 evaluation.tex 5.4 KB
      • 📄 framework.tex 5.6 KB
      • 📄 implementation.tex 3.9 KB
      • 📄 introduction.tex 4.5 KB
      • 📄 security.tex 4.9 KB
      • 📄 specification.tex 5.8 KB
    • 📄 README.md 3.9 KB
    • 📄 references.bib 5.7 KB
    • 📄 upss-paper.tex 4.0 KB
  • 📁 scripts/
    • 📄 upss-init.sh 4.8 KB
    • 📄 upss-rbac.sh 4.9 KB
  • 📄 .gitignore 2.1 KB
  • 📄 AUTHORS.md 3.2 KB
  • 📄 CHANGELOG.md 2.7 KB
  • 📄 CITATION.cff 2.0 KB
  • 📄 CODE_OF_CONDUCT.md 8.6 KB
  • 📄 CODEOWNERS 1.7 KB
  • 📄 CONTRIBUTING.md 13.7 KB
  • 📄 DOCUMENTATION_IMPROVEMENTS.md 6.3 KB
  • 📄 IMPLEMENTATION_SUMMARY.md 8.6 KB
  • 📄 install.md 6.1 KB
  • 📄 LICENSE 1.0 KB
  • 📄 PROOF.md 4.3 KB
  • 📄 README.md 29.3 KB
  • 📄 REPOSITORY_MIGRATION.md 8.0 KB
  • 📄 RUNTIME_SECURITY_ADDITION.md 11.0 KB
  • 📄 SECURITY.md 9.4 KB
  • 📄 SKILL.md 16.5 KB
  • 📄 VERSIONING.md 10.9 KB

SKILL.md

Login to download/like/favorite ❤ 5 | ★ 0
Comments 0

Please login before commenting.

Loading comments...