Appellants Williams, Sears, and Johnson entered conditional pleas of guilty to the offense of escape from prison in violation of 18 U.S.C. § 7511 We affirm the district court’s pretrial rulings in all but one respect. The district court erred in its pretrial ruling that defendant Johnson’s offer of proof was insufficient to support a duress defense. Thus, we reverse appellant Johnson’s conviction and remand to the district court for further proceedings to enable Johnson to present his duress defense at trial. We affirm the convictions of appellants Williams and Sears.
FACTS
On October 22, 1983, six inmates, including appellants Williams, Johnson, and Sears, escaped from the United States Penitentiary at Lompoc, California by driving the prison garbage truck through the prison fence. A short distance from the fence, the truck, riddled by heavy gunfire from nearby guard towers, went out of control and collided with security roadblocks. One escapee died in the cab of the truck and the others were taken back into custody.
After arraignment, appellant Johnson filed several pretrial motions including: a Motion to Dismiss the Indictment Based On Unconscionable Government Conduct alleging that prison officials had advance knowledge of, and encouraged or assisted in, his escape; a Motion for Production of Evidence Favorable to Defendant; and a Motion for Disclosure of Informant Information. Appellants Sears and Williams joined in those motions. Sears also filed a separate Motion for Discovery. The district court denied all of these motions.
The government subsequently moved in limine to preclude Johnson from presenting evidence that related to a duress defense. The court granted the government’s motion in limine, but accorded *1386Johnson the opportunity to make an offer of proof regarding his duress defense.
On May 17, 1984, each of the appellants pled guilty to a single count of violating 18 U.S.C. § 751 (escape from prison). They pled conditionally, reserving their rights to appeal from the district court’s adverse rulings on their pretrial mdtions. Appellant Johnson also reserved his right to appeal the district court’s ruling granting the government’s motion in limine to preclude a duress defense.
On July 2, 1984, the district judge sentenced each appellant to five years in prison; the sentences were ordered to run consecutively with sentences appellants already were serving.
DISCUSSION
1. Outrageous Government Conduct.
Appellants contend that the district court erred in denying their pretrial motion to dismiss their indictments due to “outrageous government conduct.” In support of this motion, appellants Johnson and Sears filed declarations alleging that: (a) several months before their escape, prison authorities placed them in administrative segregation for planning to escape with the use of a prison truck; (b) prison authorities were aware of the plan to escape and took no steps to prevent it; (c) although prison authorities initially changed Sears’ prison employment from the mess hall in order to hinder his access to the escape truck, they later returned him to mess hall duty; and (d) prison authorities assisted in and “perhaps encouraged” the escape attempt. The government refuted the appellants’ allegations and supported its position by providing declarations of prison employees and by providing the court in camera with information that related to current inmates and Bureau of Prison security measures. In denying appellants’ motion, the district court ruled that, even taking their allegations as true, the alleged conduct of the government fell “fatally short” of the kind of creative, direct and continuous involvement required to sustain the outrageous government conduct defense.
The district court’s denial of a motion to dismiss an indictment based on outrageous government conduct involves a question of law. United States v. Ramirez, 710 F.2d 535, 539 (9th Cir.1983). As such, we review it de novo. See United States v. McConney, 728 F.2d 1195, 1200-04 (9th Cir.1984), cert. denied, — U.S. —, 105 S.Ct. 101, 83 L.Ed.2d 46 (1984).
The due process clause of the Fifth Amendment may bar a conviction where the government’s involvement in a criminal enterprise grossly outrages and shocks the universal sense of justice. See United States v. Russell, 411 U.S. 423, 431-32, 93 S.Ct. 1637, 1642-43, 36 L.Ed.2d 366 (1973); United States v. Bagnariol, 665 F.2d 877, 881-82 (9th Cir.1981) (per curiam), cert. denied, 456 U.S. 962, 102 S.Ct. 2040, 72 L.Ed.2d 487 (1982). The involvement of the government must be “malum in se” or the government must have “engineered and directed the criminal enterprise from start to finish.” United States v. Gonzales, 539 F.2d 1238, 1239-40 (9th Cir.1976) (per curiam). Only such egregious conduct constitutes a due process violation.
The few convictions that courts have reversed on the ground of outrageous government involvement have resulted from government conduct that rises to a level of “creative activity.” See Greene v. United States, 454 F.2d 783, 787 (9th Cir.1971) (government agent helped establish and then sustained criminal operations and was the only customer of the illegal bootlegging operation he helped create).
In the present case, the outrageous government conduct defense fails. The government did not “create” the offense charged, see Greene, 454 F.2d at 787, nor did it “engineer and direct the criminal enterprise from start to finish.” See Gonzales, 539 F.2d at 1239-40. The prison authorities neither devised the plan to escape nor provided the weapons used in the escape. They did not facilitate access to the truck nor did they authorize its use. We there*1387fore find that the district court was correct in ruling, as a matter of law, that the conduct of the prison authorities was insufficient to constitute grounds for dismissal because of outrageous government conduct.
2. Discovery Requests.
The district court denied three discovery requests of appellants Johnson and Sears for material to be used to support their motion to dismiss. The requests were for the identity of a government informant, the substance of any communication of such confidential informant, the identity of persons to whom such information was relayed, records concerning prison security measures, and other information regarding prison authorities’ prior knowledge of the escape plan.
The district court took appellants’ discovery motions under submission. The government responded to these motions and provided the court, in camera, with security-sensitive information concerning Bureau of Prison security procedures and informant information. The government only opposed appellants’ requests for informant information and prison security measures. The district court found that the informant information and the security-sensitive information about escape prevention measures were not sufficiently material to the appellants’ case to warrant putting inmate safety and prison security in jeopardy. Appellants contend that the district court erred in denying their discovery motions.
The scope of discovery is within the discretion of the district court. We review a district court’s discovery ruling for abuse of discretion. United States v. Clegg, 740 F.2d 16, 18 (9th Cir.1984); United States v. Duncan, 693 F.2d 971, 979 (9th Cir.1982), cert. denied, 461 U.S. 961, 103 S.Ct. 2436, 77 L.Ed.2d 1321 (1983).
The district court correctly balanced the competing interests in reaching its discovery ruling in the present case. See United States v. Mills, 641 F.2d 785, 790 (9th Cir.), cert. denied, 454 U.S. 902, 102 S.Ct. 409, 70 L.Ed.2d 221 (1981); United States v. Land, 669 F.2d 391, 393 (6th Cir.), cert. denied, 457 U.S. 1134, 102 S.Ct. 2960, 73 L.Ed.2d 1350 (1982). After reviewing the disputed evidence in camera, the court concluded that the information sought to be discovered was not sufficiently material to overcome the government’s compelling interests in inmate safety and prison security. The district court, therefore, properly exercised its discretion by considering the competing interests and denying the discovery requests here at issue.
3. Duress Defense.
Appellant Johnson indicated to the government that he contemplated presenting a duress defense to the escape charge. The government moved in limine to preclude the defense unless Johnson could make a minimal showing of a valid duress defense.2 After considering Johnson’s offers of proof, the district court granted the government’s motion in limine.
Johnson contends that his offers of proof were sufficient to raise a factual dispute as to each element of the duress defense, and that, therefore, his defense should have been heard at trial.
Johnson submitted oral and written offers of proof. At a pretrial hearing, he testified in camera, under oath, that when he initially declined to participate in the planned escape, another inmate threatened him by putting a knife to his neck and *1388chest. He further stated that appellant Sears told him that if he refused to drive the escape truck, he would be killed. Once forced inside the truck, Johnson testified that he “tried to jam the gears on the truck, tried to stop the truck from running, and [appellant Sears] hit [him] in the back of the neck and ordered [him] to get it moving now.”
Johnson further testified that when the truck was stopped under small-arms fire from the guards, bullets and glass were flying everywhere, dust covered the area, no one could see, and he ran away from the truck not to escape but to protect himself. Johnson testified that before he was apprehended, he never attained a position of safety from which he could surrender to authorities.
Whether a defendant has made a threshold showing as to each element of the duress defense is a question of law and is reviewed de novo. United States v. Contento-Pachon, 723 F.2d 691, 693 (9th Cir.1984).
To establish a duress defense in an escape from confinement prosecution, a prisoner must establish the existence of the following requirements:
1. That the threat and fear which the threat caused were immediate and involved death or serious bodily injury;
2. That the fear was well-grounded;
3. That there was no reasonable opportunity to avoid or escape the threatened harm; and
4. That the defendant submitted to proper authorities after attaining a position of safety.
United States v. Peltier, 693 F.2d 96, 98 (9th Cir.1982) (per curiam).
In cases such as the present, where the defendants were caught in the act of escaping and were not at large for a significant period of time, the fourth Peltier requirement is inapplicable. Defendants cannot show that they have turned themselves in since they had no opportunity to do so. Consequently, courts have formulated an alternative to the fourth requirement set out in Peltier for prisoners caught in the act of escaping. Instead of demonstrating an effort to return to custody, these defendants would have to show that they intended to surrender had the escape succeeded. United States v. McCue, 643 F.2d 394, 396 (6th Cir.), cert. denied, 451 U.S. 992, 101 S.Ct. 2334, 68 L.Ed.2d 853 (1981); United States v. Caldwell, 625 F.2d 144, 148 (7th Cir.1980), cert. denied, 450 U.S. 1002, 101 S.Ct. 1712, 68 L.Ed.2d 205 (1981); United States v. Boomer, 571 F.2d 543, 545 (10th Cir.), cert. denied, 436 U.S. 911, 98 S.Ct. 2250, 56 L.Ed.2d 411 (1978).
Johnson clearly made a sufficient offer of proof concerning the first three Peltier requirements. With respect to the fourth, the district court applied the alternative requirement, i.e., that he show his intention to resubmit to authorities. The court concluded that Johnson failed to comply with this alternative requirement. In its memorandum of decision the court stated, “[N]otably absent was any statement with respect either to his intention to resubmit to authorities or to any acts on his part from which an inference could be drawn that he had so intended.” We disagree with the court’s conclusion. After examining the offers of proof, and giving full credence to Johnson’s statements, as did the district court, we find that Johnson sufficiently complied with the alternative to Peltier’s fourth requirement.
Johnson’s offers of proof contain a sufficient showing of his intent to surrender to authorities had the escape succeeded to enable him to present a duress defense at trial. Johnson’s oral and written offers of proof support his assertions that he originally did not want to participate in the escape and was threatened into doing so, that he tried to stop the truck by jamming the gears during the escape attempt, and that once the truck stopped he only ran to protect himself. These assertions raise inferences that Johnson did not intend to escape and that he intended to surrender to *1389prison authorities when he reached a position of safety. We therefore find that Johnson made a sufficient offer of proof to enable him to present a duress defense at a trial.3
4. Johnson’s Request to Represent Himself.
Appellant Johnson claims that the district court violated his Sixth Amendment right to self-representation when it denied his demand to appear as his own attorney in conjunction with his retained counsel. His request was primarily for the purpose of making a statement relevant to his duress defense, which the trial court permitted him to make in camera.
A criminal defendant does not have an absolute right to serve as co-counsel. United States v. Halbert, 640 F.2d 1000, 1009 (9th Cir.1981) (per curiam). Whether to allow hybrid representation, where the accused assumes some of the lawyer’s functions, is within the sound discretion of the judge. See United States v. Kimmel, 672 F.2d 720, 721 (9th Cir.1982). Here, the district court did not abuse its discretion in denying Johnson’s motion for hybrid representation.
Affirmed in part, reversed in part, and remanded for further proceedings in accordance with this opinion.
. Federal Rule of Criminal Procedure 11(a)(2) states:
With the approval of the court and the consent of the government, a defendant may enter a conditional plea of guilty or nolo conten-dere, reserving in writing the right, on appeal from the judgment, to review of the adverse determination of any specified pretrial motion. If the defendant prevails on appeal, he shall be allowed to withdraw his plea.
. It was appropriate for the district court to rule on the adequacy of a duress defense prior to trial. As the Supreme Court stated in United States v. Bailey, 444 U.S. 394, 415, 100 S.Ct. 624, 637, 62 L.Ed.2d 575 (1980), "precisely because a defendant is entitled to have the credibility of his testimony, or that of witnesses called on his behalf, judged by the jury, it is essential that the testimony given or profferred meet a minimum standard as to each element of the defense so that, if a jury finds it to be true, it would support an affirmative defense — here that of duress or necessity." See also, United States v. Peltier, 693 F.2d 96, 98 (9th Cir.1982) (per cu-riam); United States v. Bryan, 591 F.2d 1161, 1162 (5th Cir.1979) (per curiam), cert. denied, 444 U.S. 1071, 100 S.Ct. 1013, 62 L.Ed.2d 751 (1980).
. Contrary to the dissent’s assertion, the court’s opinion does not eliminate the intent element of the duress defense. Our opinion simply recognizes that evidence relevant to prove one element of the duress defense may also be relevant to prove a different element.