Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P proj236-TianYuan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Error4O4
  • proj236-TianYuan
  • Merge requests
  • !2

1. 脚本管控里,shebang和tty(像python -c...

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Error4O4 requested to merge exec_fix into main Aug 12, 2025
  • Overview 0
  • Commits 6
  • Pipelines 0
  • Changes 11
  1. 脚本管控里,shebang和tty(像python -c "print(1)")只要解释器本身verified就可执行,单独的脚本执行这要求脚本文件是verified,然后对于异形执行(像管道重定向这种),采取暂时ban的措施
  2. 执行管控里,增加对脚本文件扩展属性的判定(暂定为security.tianyuan.interp=1判定为脚本),以及直接放行lib库文件和不放行tmp临时文件,此外,针对超级块里的虚拟文件,暂时想不出好的解决方案直接ban执行,(主要他移出来变成真实文件的时候permission,bprm之类的钩子似乎都找不到,好像无法管控的样子,准备进一步深化 On branch exec_fix
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: exec_fix