중요
이 게시물의 일부 정보는 상용으로 출시되기 전에 실질적으로 수정될 수 있는 사전 릴리스된 제품과 관련이 있습니다. Microsoft는 여기에서 제공하는 정보와 관련하여 명시적이거나 묵시적인 어떠한 보증도 제공하지 않습니다.
이 예제에서는 URL을 훼손하는 에이전트에 대한 GPT 도구(기술)를 만드는 방법을 안내합니다.
GPT 도구를 만들고 업로드하여 Security Copilot
GPT 도구는 다음과 같이 정의됩니다.
Descriptor:
Name: DCA_SampleGPT
DisplayName: DCA_My Sample GPT Skillset
Description: Skills for defanging URLs
SkillGroups:
- Format: GPT
Skills:
- Name: DefangUrls
DisplayName: Defang URLs
Description: Defangs URLs in the given text
Inputs:
- Name: text
Description: The text containing URLs to be defanged
Settings:
ModelName: gpt-4.1
Template: |-
To 'defang' a URL means to change the scheme to either hxxp or hxxps and replace '.' with '[.]' in the domain so that the URL is still easily readable by a human but doesn't automatically render as a hyperlink if rendered in a rich client such as Outlook. This is often done when sharing potentially malicious links to prevent the reader accidentally clicking on them and visiting a malicious website.
Some examples of defanging URLs:
1. https://example.com --> hxxps://example[.]com
2. http://subdomain.example.com/path.with.dots/ --> hxxp://subdomain[.]example[.]com/path.with.dots/
Defang any URLs in the following text and return the new text:
{{text}}
플러그 인을 업로드하고 사용하도록 설정하는 방법에 대한 지침은 에이전트 매니페스트 빌드를 참조하세요.
플러그 인이 실행된 후의 최종 결과: