Cyber Range

Python Code Security Cyber Range

This cyber range helps you develop your knowledge in finding and remediating vulnerabilities in Python code. You’ll build and reinforce your skills as you progress through labs covering a wide range of Python code security topics, including using Bandit, PyT and other tools to find common security issues in Python code, perform taint and control flow analysis, and recognize vulnerabilities that can lead to common application attacks, such as cross-site scripting or XPath injection. You will also practice identifying supply chain vulnerabilities, unsafe deserialization and other risks.

The labs

Train hands-on

  • Introduction to Python Bandit

    Python bandit is one of the most commonly used Python linters and static analysis tools. This lab introduces the use of bandit for analysis of Python code.

  • Introduction to Python Control Flow Analysis

    Control flow analysis is useful for identifying mistakes or unexpected flows in a program. This lab demonstrates the use of staticfg for control flow analysis in Python.

  • Command Injection in Python

    A command injection vulnerability enables an attacker to run malicious code on the system where an application is running. This lab demonstrates how to identify, exploit and mitigate these vulnerabilities in Python.

  • XPath Injection in Python

    XPath is a programming language for extracting data from XML files; however, it is vulnerable to injection attacks. This lab demonstrates vulnerable code and how to exploit and remediate it.

  • XML Attacks in Python

    XML is a useful method for storing structured data, but code parsing it can be vulnerable to a number of attacks. This lab demonstrates some of the ways that different XML parsing functions can be exploited in Python.

  • Race Conditions in Python

    Race condition vulnerabilities exist when the proper operation of a program depends upon operations being run sequentially back-to-back. This lab demonstrates how to identify, exploit and remediate these vulnerabilities.

  • Cross-Site Scripting in Python

    Cross-site-scripting (XSS) is one of the most common web application vulnerabilities in existence. This lab demonstrates how to identify, exploit and remediate XSS vulnerabilities in Flask web applications.

  • Cross-Site Request Forgery in Python

    Cross-site request forgery (CSRF) vulnerabilities allow an attacker to force unauthorized actions to be taken on an authenticated user’s account. This lab demonstrates how to identify, exploit and remediate these vulnerabilities in Python code.

  • Supply Chain Vulnerabilities in Python

    Very few applications are designed to be completely standalone, and a program’s dependencies can introduce vulnerabilities. This lab demonstrates the use of tools for identifying potential supply chain vulnerabilities in Python programs.

  • Unsafe Deserialization in Python

    Serialization is helpful for making Python objects and data writable to files and transferrable over the network. This lab demonstrates how some serialization options can be vulnerable to exploitation in Python and how to securely serialize data.

You're in good company

CY

We use Infosec Skills to provide continuous training to our technicians and to prepare them for various certifications. Infosec Skills allows us to create personalized training programs that focus on each of our technicians’ particular roles and see their progress as they take courses. We also, recommend it to clients to make their IT support teams better.

Caleb Yankus

DS

This has been utilized to bridge the skills gap across our cyber team and to aid them as they prepare for their various certifications. It also has provided a nice learning foundation for our various cyber team members to utilize as we continue to find ways for cross-utilization with operations while minimizing the downtime needed to ensure everyone’s knowledge is the same.

Daniel Simpson

IS

We use Infosec Skills to provide base level knowledge for employees. We also use the services to provide in depth learning for employees as they encounter new technologies. If an employee is is assigned to a new project, we can rely on Infosec Skills to provide a rapid concentrated learning environment. This rapid concentrated learning positions our employees for success.

Infosec Skills Teams client

Plans & pricing

  • Infosec Skills Personal

    $299 / year

    • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Custom certification practice exams (e.g., CISSP, Security+)
    • Skill assessments
    • Infosec peer community support
  • Infosec Skills Teams

    $799 per license / year

    • Team administration and reporting
    • Dedicated client success manager
    • Single sign-on (SSO)
      Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
    • Integrations via API
      Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
    • 190+ role-guided learning paths and assessments (e.g., Incident Response)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Create and assign custom learning paths
    • Custom certification practice exams (e.g., CISSP, CISA)
    • Optional upgrade: Guarantee team certification with live boot camps

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments