Favicon of codegen-literal-security-scan

codegen-literal-security-scan Skill

AI Agent SkillC#Open source

Detect and remediate code-generation literal injection risks in Kiota writer code (wire names, serialization names, URL templates, base URLs, defaults, and path parameter keys). Published by microsoft in kiota.

What is codegen-literal-security-scan Skill?

Detect and remediate code-generation literal injection risks in Kiota writer code (wire names, serialization names, URL templates, base URLs, defaults, and path parameter keys). Published by microsoft in kiota. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
89/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Security review
  • Documentation
  • Data analysis
  • Security review use cases
  • Documentation use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use codegen-literal-security-scan Skill

  • Use it for security review.
  • Use it for documentation.
  • Use it for data analysis.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/kiota
  • Skill file: .github/skills/codegen-literal-security-scan/SKILL.md

What it does

Detect and remediate code-generation literal injection risks in Kiota writer code (wire names, serialization names, URL templates, base URLs, defaults, and path parameter keys).

Skill instructions

Use this skill when auditing or modifying any code generator writer logic. Goal Prevent generated-source injection (including potential RCE chains) by ensuring every untrusted schema-derived value is escaped for the destination literal context before being emitted. Focus surfaces (expanded) Prioritize all literal-emission paths under src/Kiota.Builder/Writers//.cs, especially: - WireName, SerializationName, IndexParameter.SerializationName - UrlTemplateOverride, URI template constants, base URL defaults - DefaultValue (constructor assignments, getter fallback values, parameter signatures) - Path/query parameter assignment keys in convention helpers - Query parameters mapper constants and metadata constants - Enum wire values and enum member attributes - Property annotations/attributes that carry serialized names - Backing store keys for custom/additional-data properties - Documentation long/short comments that interpolate external links/labels Required checks 1. Locate candidate sinks:

Explore related resources

Frequently asked questions

What is codegen-literal-security-scan?

codegen-literal-security-scan is a open-source AI agent skill with Copy skill directory. Detect and remediate code-generation literal injection risks in Kiota writer code (wire names, serialization names, URL templates, base URLs, defaults, and path parameter keys).

Who is codegen-literal-security-scan best for?

codegen-literal-security-scan is best for reusing agent instructions, scripts, and references, security review workflows, documentation workflows, data analysis workflows.

How do I install codegen-literal-security-scan?

Install or run codegen-literal-security-scan using Copy skill directory. Check codegen-literal-security-scan for the latest setup command.

Is codegen-literal-security-scan actively maintained?

codegen-literal-security-scan may need a closer maintenance check before production use.

Share:

Stars
3,784
Forks
326
Last commit
9 days ago
Repository age
6 years
License
MIT

Auto-fetched from GitHub.

Similar to codegen-literal-security-scan